I have a debian etch server, its a web server and im using exim for sending emails. The problem is the domain name e.g. domain.com is on the same IP as our Exchange server.
I have an MX record that points mail.domain.com to the same IP
Sending mails to any external address is working great but sending to domain.com I get
2010-03-24 16:33:19 1NuTWB-0006RA-Nn mail.domain.com [188.8.131.52] Connection refused
2010-03-24 16:33:19 1NuTWB-0006RA-Nn == email@example.com R=dnslookup_relay_to_domains T=remote_smtp defer (111): Connection refused
Can I allow this relay with Exim?