How to send mails from domain.com instead of host.domain.com
I have a WHM server which I have hosted a domain example.com.
My host name is host.example.com I am using Google Apps mail service and have a DMARC policy where mails not sent from example.com should be rejected.
Now I see under exim queue manager there a lot of frozen messages.
My question is how to configure exim to send all notifications from example.com not host.example.com
Here is delivery report in exim queue manager:
Content-type: message/delivery-status
Reporting-MTA: dns; host.example.com
Action: failed
Final-Recipient: rfc822;
Status: 5.0.0
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.7.1 Unauthenticated email from example.com is not accepted due to
550-5.7.1 domain's DMARC policy. Please contact administrator of example.com
550-5.7.1 domain if this was a legitimate mail. Please visit
550-5.7.1 Control unauthenticated mail from your domain - Gmail Help to learn about DMARC
550 5.7.1 initiative. m8si5571221wma.116 - gsmtp
-
Hello, How are these messages sent? Could you post the header of one of the messages that's sent out, ensuring to remove any real domain names or IP addresses? Thank you. 0 -
Thank you for the post, Actually these are the notifications sent by WHM from roo@host.domain.com[/EMAIL] to my email address. Here is header of the latest message from exim queue manager Date: Wed, 11 May 2016 16:23:44 +0200 euom: Mail Delivery System To: root@eu.domain.com Subject: Mail delivery failed: returning message to sender Auto-Submitted: auto-replied Content-Type: multipart/report; report-type=delivery-status; boundary=1462976624-eximdsn-125954060 Message-Id: MIME-Version: 1.0 Received: euom mailnull by eu.domain.com with local (Exim 4.87) id 1b0V3A-0007jy-9V for root@eu.domain.com; Wed, 11 May 2016 16:23:44 +0200 X-Failed-Recipients: email@gmail.com0 -
Is your DMARC policy and DNS handled through Google? If so, have you attempted to authorize the additional email address? This document from Google may help: Add a DMARC record - Google Apps Administrator Help In addition, we have a thread you may find helpful at: Dmarc authentication Thank you. 0
Please sign in to leave a comment.
Comments
3 comments