Maddy: Difference between revisions

imported>Onny
Add info about MTA-STS record
imported>Onny
Add notes about DKIM record
Line 67: Line 67:


Using the <code>DMARC</code> record, we enforce a permissive policy and request reports about broken messages. The last to entries mark the domain <code>MTA-STS</code> compatible.
Using the <code>DMARC</code> record, we enforce a permissive policy and request reports about broken messages. The last to entries mark the domain <code>MTA-STS</code> compatible.
The last entry is used by the <code>DKIM</code> authentication mechanism which enables recipients to verify the authenticity of mails send by your server. Create the following DNS record by using the value of the file Maddy generated on first startup <code>/var/lib/maddy/dkim_keys/example.org_default.dns</code>.
<syntaxhighlight lang="console">
# dig TXT default._domainkey.example.org
;; ANSWER SECTION:
default._domainkey.example.org. TXT  "v=DKIM1; k=ed25519; p=nAcUUozPlhc4VPhp7hZl+owES7j7OlEv0laaDEDBAqg="
</syntaxhighlight>


=== Managing users and inboxes ===
=== Managing users and inboxes ===