Email failed because of DMARC policy

JohnDavid

Member
Jun 22, 2017
6
0
1
Philippines
cPanel Access Level
Root Administrator
Hello, Can you help me what can i do to prevent this error for the future. Some of the email failed because of this error.
Code:
ECDHE-RSA-AES128-GCM-SHA256:128 CV=yes: SMTP error from remote mail server after end of data: 550-5.7.1 Unauthenticated email from yahoo.com.au is not accepted due to\n550-5.7.1 domain's DMARC policy. Please contact the administrator of\n550-5.7.1 yahoo.com.au domain if this was a legitimate mail. Please visit\n550-5.7.1 Control unauthenticated mail from your domain - Gmail Help to learn about the\n550 5.7.1 DMARC initiative. 5si10114619pfh.230 - gsmtp

ECDHE-RSA-AES128-GCM-SHA256:128 CV=yes: SMTP error from remote mail server after end of data: 550-5.7.1 Unauthenticated email from yahoo.com.au is not accepted due to\n550-5.7.1 domain's DMARC policy. Please contact the administrator of\n550-5.7.1 yahoo.com.au domain if this was a legitimate mail. Please visit\n550-5.7.1 Control unauthenticated mail from your domain - Gmail Help to learn about the\n550 5.7.1 DMARC initiative. m85si9858336pfk.526 - gsmtp
Thank you.
 
Last edited by a moderator:

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello,

Can you verify the full steps you are taking to reproduce this issue? For instance, how are you sending the email, and is it from an email account hosted on the cPanel server?

Thank you.
 

JohnDavid

Member
Jun 22, 2017
6
0
1
Philippines
cPanel Access Level
Root Administrator
Thank you Michael for the reply.

Yes, it was email account hosted on the cPanel server. The recipient are also hosted on cPanel server and Gmail. This was also for specific domain. I don't think why yahoo rejecting it to send.
 

Muhammed Fasal

Well-Known Member
Aug 9, 2017
54
9
8
India
cPanel Access Level
Root Administrator
I recommend that you update the 'FROM' field within your form to use an email address of @example.com. Additionally, the 'REPLY-TO' setting can be used with any DMARC compliant address and will successfully send emails without rejection such as @yahoo.com, @hotmail.com, @gmail.com, or @aol.com.

An example can be seen in the following header:

Code:
$headers = 'From: [email protected]' . " " .
'Reply-To: [email protected]' . " " .
'X-Mailer: PHP/' . phpversion();
 
Last edited by a moderator: