Introduction
You may use the following procedure to ensure that newly created accounts and domains get a basic DMARC record by default.
Procedure
1. Login to WHM as the root user
2. Navigate to: Home »DNS Functions »Edit Zone Templates
3. Click on the Standard template
4. Add the following to a new line within the template:
_dmarc IN TXT v=DMARC1\;p=quarantine\;sp=none\;adkim=r\;aspf=r\;pct=100\;fo=0\;rf=afrf\;ri=86400\;rua=mailto:dmarc\@%domain%\;ruf=dmarc\@%domain%
5. Click the blue Save button
Now, whenever you create a new account or domain, it will have the above DMARC record added to it.
NOTE: In order to receive DMARC aggregate and error reports, the domain owner must manually create the following email account: dmarc@newlycreatedomainexample.tld
Please note that newlycreateddomainexample.tld represents the newly created domain and should not be used literally.
This basic DMARC record in the above example has the following settings:
Policy: Quarantine
Subdomain Policy: None
DKIM Mode: Relaxed
Percentage: 100
Generate Failures When: All checks fail
Report Format: AFRF
Report Interval: 86400
Send Aggregate Mail Reports To: dmarc@newlycreatedomainexample.tld
Send Failure Reports To: dmarc@newlycreatedomainexample.tld
You are welcome to edit the DMARC record to meet your specific needs.
Comments
0 comments
Article is closed for comments.