Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Email failed because of DMARC policy

Discussion in 'E-mail Discussions' started by JohnDavid, Oct 11, 2017.

Tags:
  1. JohnDavid

    JohnDavid Registered

    Joined:
    Jun 22, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
    #1 JohnDavid, Oct 11, 2017
    Last edited by a moderator: Oct 11, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  3. JohnDavid

    JohnDavid Registered

    Joined:
    Jun 22, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  4. Muhammed Fasal

    Joined:
    Aug 9, 2017
    Messages:
    24
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    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: user@example.com' . " " .
    'Reply-To: user@yahoo.com' . " " .
    'X-Mailer: PHP/' . phpversion();
     
    #4 Muhammed Fasal, Oct 12, 2017
    Last edited by a moderator: Oct 12, 2017
Loading...

Share This Page