Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
email:configure-dkim-spf-dmarc [2025/03/06 07:08] – [DMARC (Domain-based Message Authentication, Reporting & Conformance)] willy | email:configure-dkim-spf-dmarc [2025/06/13 12:43] (current) – willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 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 63: | Line 63: | ||
=== Socket Setup === | === Socket Setup === | ||
- | For security reasons you want the DKIM keys not to be readable by Postfix, but you want Postfix capable to access the OpenDKIM socket or it would not be possible to actually sign any outbound email at all. The default Gentoo users setup is not ideal for this, as you either let Postfix access the keys by adding it to the // | + | For security reasons you want the DKIM keys not to be readable by Postfix, but you want Postfix capable to access the OpenDKIM socket or it would not be possible to actually sign any outbound email at all. The default Gentoo users setup is not ideal for this, as you either let Postfix access the keys by adding it to the // |
The solution is to add a new group, called **dkimsocket**, | The solution is to add a new group, called **dkimsocket**, | ||
Line 136: | Line 136: | ||
PidFile / | PidFile / | ||
</ | </ | ||
+ | |||
+ | === DNS record === | ||
+ | |||
+ | A DMARC DNS record can be pretty simple or pretty complex. [[https:// | ||
+ | |||
+ | The following is a simple example that you can start from: | ||
+ | < | ||
+ | _dmarc IN TXT ( " | ||
+ | </ | ||
+ | |||
+ | 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 === |