Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
d5971e38
Commit
d5971e38
authored
May 10, 2014
by
Joshua Tauberer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ADSP and DMARC records; see #14
parent
a8938e10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
dns_update.sh
scripts/dns_update.sh
+8
-1
No files found.
scripts/dns_update.sh
View file @
d5971e38
...
...
@@ -92,9 +92,16 @@ ns2 IN A $PUBLIC_IP
EOF
fi
# If OpenDKIM is set up
, append the suggested TXT record to the zone
.
# If OpenDKIM is set up
.
.
if
[
-f
"
$STORAGE_ROOT
/mail/dkim/mail.txt"
]
;
then
# Append the DKIM TXT record to the zone as generated by OpenDKIM.
cat
"
$STORAGE_ROOT
/mail/dkim/mail.txt"
>>
/etc/nsd/zones/
$fn2
;
# Append ADSP (RFC 5617) and DMARC records.
cat
>>
/etc/nsd/zones/
$fn2
<<
EOF
;
_adsp._domainkey IN TXT "dkim=all"
_dmarc IN TXT "v=DMARC1; p=quarantine"
EOF
fi
# Add this zone file to the main nsd configuration file.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment