Adding a DMARC record to help lower your spam score


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Email

Adding a DMARC record to help lower your spam scoreLast Modified: May 2, 2017, 4:35 pm
DMARC is a system that adds some rules for DKIM and SPF, so remote servers have a better idea of what your intention is for messages that fail those 2 systems.
It doesn't really do anything, but adds clarity for actions taken by remote servers, and should lower your spam score in some cases.

To add a DMARC record, go to your domain's DNS Management, and add the following TXT record:

_dmarc    TXT    "v=DMARC1; p=none; sp=none; rua=mailto:spam-reports@domain.com"

Be sure to include the whole thing in "quotes".

The E-Mail Address will sometimes be sent reported spam messages by larger providers.  Not all services will email this address, but it's handy if a a client in large email provider clicks "this is spam" for a given message, and you'll be sent that message, so you can determine if someone on your domain is spamming or spoofing, or if the client incorrectly clicked that message (at which point, you'd probably want to remove that client from your mail-out, as they likely don't want it).

The rua=mailto:email portion is not mandatory if you don't want to get these emails.

You can change the values as desired, as per the DMARC specifications:
http://dmarc.org

Google's DMARC guide:
https://support.google.com/a/answer/2466563?hl=en



I wish to automate new DMARC records for all new domains

If you like the above setup, and you want to automate it's addition to all new dns zones, you can run the following:

cd /usr/local/directadmin/data/templates/custom
cp ../dns_txt.conf .

and then add the record you want to the bottom of the custom/dns_txt.conf by running this command:

echo '_dmarc="v=DMARC1; p=none; sp=none; rua=mailto:spam-reports@|DOMAIN|"' >> dns_txt.conf

keeping in mind that this assumes you've got a spam-reports account created already.

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST