Here is a situation.
We use google app for our emails. Our application is hosted at another host and this application sends out emails. The emails from the application are being sent fine to every email except our own email addresses.
Lets say our domain name is example.com, the emails to abc@examle.com is not getting delivered, but they are getting stored locally on the box only.
We are using exim as a mail server on the box where the application is deployed. We have also set up dc_relay_domains.
What could be missing? How do we make sure that the email to email addresses of our own domain names get delivered?
Best Answer
check in autogenerated exim.conf for smth like this:
This means that message is routed through remote delivery (remote_smtp transport) if domain in rcpt address is different than local_domains. If not, message goes to another router, some router accepts it and in your case it ends up in local delivery transport.
I'm sorry, but in your case you should go full hog on Exim and learn configuring Exim manually. update-exim4.conf is for typical cases.