Email authentication spf, dkim and dmarc

Posted under » Linux on 05 May 2026

Congratulations if you have set up postfix. Of late, email has become a bad place because of spam. So there are efforts to counter it which makes life for a legitimate email server admin harder, especially with DKIM below.

The first thing is to setup SPF or Sender Policy Framework which is the easiest to set up. Write this to your domains' DNS config TXT Record @.

Of course your postfix settings must be correct in the first place. DNS txt entry is just the icing on the cake.

v=spf1 ip4:132.147.95.55 -all

To check,

dig TXT example.com +short

Also create and write files in PHP

web security linux ubuntu Raspberry   git   javascript css python django drupal php apache mysql  MongoDB AWS data  ML AI