MindServer

Well-Known Member
Mar 18, 2020
64
5
8
Spain
cPanel Access Level
Root Administrator
Hi friends,

My cPanel create SPF and DKIM automatically for each cPanel account. But I see that some hosting provider create automatically DMARC too.

This is posible in WHM/cPanel? or i need create a script?.

if user created the email "[email protected]" the system will use "test123.com" for create DMARC. WHM/cPanel have any method for do this?.


Thank you very much.
 

ffeingol

Well-Known Member
PartnerNOC
Nov 9, 2001
326
50
328
cPanel Access Level
DataCenter Provider
A bit of a previous discussion on this: Automatically create DMARC records for new accounts It would be difficult to implement as there is one record per domain and cPanel would have no idea where to send the reports "to" (an email address). People that are using DMARC are typically using a system to accept/parse these and (again) cPanel would have no idea about that.
 

MindServer

Well-Known Member
Mar 18, 2020
64
5
8
Spain
cPanel Access Level
Root Administrator
A bit of a previous discussion on this: Automatically create DMARC records for new accounts It would be difficult to implement as there is one record per domain and cPanel would have no idea where to send the reports "to" (an email address). People that are using DMARC are typically using a system to accept/parse these and (again) cPanel would have no idea about that.
Thank you very much friend.

I investigated this, and i not see where are the problem, because DMARC register are this:

Name: _dmarc.mydomain.com.
TTL: 14400
Class: IN
Type: TXT
Value: v=DMARC1; p=none; sp=none; rf=afrf; pct=100; ri=86400;rua=mailto:[email protected]

When user create a account, the system can create DMARC with this info (only need substitutes "mydomain.com" for the real domain).

Can you tell me why WHM/cPanel cannot generate him automatically?. Sorry my ignorance, but i investigated some hosting providers and they do this when i create account.

I'm interesting in create DMARC for the emails arrive to inbox (and not in spam folder). If you have other automatic method please tell me.

Thank you very much.
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
11,214
1,006
313
Houston
It's not something the software does at this time, you can create a script to do this - the thread @ffeingol suggests a potential method of implementing this and the link to the current feature request. You could potentially add this into the DNS template but it would create the same record with the same template for every single account which wouldn't necessarily be desirable.
 

ffeingol

Well-Known Member
PartnerNOC
Nov 9, 2001
326
50
328
cPanel Access Level
DataCenter Provider
There are also numerous services (free and paid) that accept the DMARC data (XML files) and parse / present them in a much more user friendly format. They "typically" give you an email address at their service (not your domain) to set in the DMARC record. cPanel would never know you are doing this and not have a clue where to send them.