Thursday, September 21, 2017

centos - sendmail not sending mails to @samedomain (target mail is on google apps)




I've set up sendmail to just send out mails from our php web application.
That works fine, as long as we are not sending mail to the same domain as our web app.



e.g.



our app = www.ourapp.com
sending mails works perfectely, except for anything@ourapp.com"



I don't know if it's relevant, but our target email is hosted with google apps.

Sendmail queue is empty and the log files always say the message has been sent



we are running CentOS as our OS


Answer



this problem has solved itself after 1-2 days. It probably just was a DNS update issue, where we got the updated data already, but perhaps the mailservers we have been tested still had old DNS cache.



thanks all for the help on this one


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...