Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
omnibus-heptapod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
This instance will be upgraded to Heptapod 17.9.0rc1 on 2025-03-27 between 17:00 and 18:00 UTC+2
Show more breadcrumbs
heptapod
omnibus-heptapod
Commits
55fcc6d4b82c
Commit
55fcc6d4b82c
authored
1 week ago
by
Ash McKenzie
Browse files
Options
Downloads
Patches
Plain Diff
Add Best practices / SPF, DKIM and DMARC sections
parent
04ae6ae6dbd2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/settings/smtp.md
+16
-0
16 additions, 0 deletions
doc/settings/smtp.md
with
16 additions
and
0 deletions
doc/settings/smtp.md
+
16
−
0
View file @
55fcc6d4
...
@@ -1338,6 +1338,22 @@
...
@@ -1338,6 +1338,22 @@
Notify
.
test_email
(
'destination_email@address.com'
,
'Message Subject'
,
'Message Body'
).
deliver_now
Notify
.
test_email
(
'destination_email@address.com'
,
'Message Subject'
,
'Message Body'
).
deliver_now
```
```
## Configuring SPF, DKIM, and DMARC
After you configure SMTP on your GitLab instance, you should configure as many of the following protocols as possible:
-
[
Sender Policy Framework (SPF)
](
https://en.wikipedia.org/wiki/Sender_Policy_Framework
)
.
-
[
DomainKeys Identified Mail (DKIM)
](
https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail
)
.
-
[
Domain-based Message Authentication, Reporting and Conformance (DMARC)
](
https://en.wikipedia.org/wiki/DMARC
)
.
These protocols work together to verify email sender identity and prevent email spoofing.
Your DNS provider determines which protocols you can configure and how to configure them. As an example, you can see
you would
[
configure these protocols for Cloudflare
](
https://www.cloudflare.com/en-au/learning/email-security/dmarc-dkim-spf/
)
if Cloudflare was your DNS provider.
For more information, see
[
Understanding SPF, DKIM, and DMARC: A Simple Guide
](
https://github.com/nicanorflavier/spf-dkim-dmarc-simplified
)
.
## Troubleshooting
## Troubleshooting
### Outgoing connections to port 25 is blocked on major cloud providers
### Outgoing connections to port 25 is blocked on major cloud providers
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment