User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
email:configure-dkim-spf-dmarc [2025/03/06 07:04] willyemail:configure-dkim-spf-dmarc [2025/03/13 14:05] (current) – [Configure proper mail delivery] willy
Line 1: Line 1:
-====== Configure proper mail delivery ======+====== I) Configure proper mail delivery ======
  
 You need access to your domain DNS records, this is mandatory. You need access to your domain DNS records, this is mandatory.
Line 117: Line 117:
  
 ===== DMARC (Domain-based Message Authentication, Reporting & Conformance) ===== ===== DMARC (Domain-based Message Authentication, Reporting & Conformance) =====
 +
 +OpenDMARC sample configutation can be found [[https://github.com/trusteddomainproject/OpenDMARC/blob/master/opendmarc/opendmarc.conf.sample|here]].
  
 This is pretty easy to setup, just edit the **/etc/opendmarc/opendmarc.conf** file similar to the following: This is pretty easy to setup, just edit the **/etc/opendmarc/opendmarc.conf** file similar to the following:
Line 134: Line 136:
 PidFile /var/run/opendmarc/opendmarc.pid PidFile /var/run/opendmarc/opendmarc.pid
 </file> </file>
 +
 +=== DNS record ===
 +
 +A DMARC DNS record can be pretty simple or pretty complex. [[https://mxtoolbox.com/dmarc/details/what-is-a-dmarc-record|this]] link can help explain it's format.
 +
 +The following is a simple example that you can start from:
 +<code>
 +_dmarc IN TXT ( "v=DMARC1; p=reject; rua=mailto:postmaster@mydomain.com; ruf=mailto:postmaster@mydomain.com" )
 +</code>
 +
 +where:
 +  * p: policy, you want reject here most probably
 +  * rua: email address to sent aggregate reports to (optional)
 +  * ruf: email address to sent failure reports to (optional)
  
 === Postfix setup === === Postfix setup ===

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information