Hello, > Outgoing mail from the server (my home address) sent to my work > address bounces with the message: > > ---------------------------------------------------------------------- > This message was created automatically by mail delivery software.
> A message that you sent could not be delivered to one or more of its > recipients. This is a permanent error. The following address(es) > failed: > > [EMAIL PROTECTED] > all relevant MX records point to non-existent hosts > ---------------------------------------------------------------------- > > So - I ssh'd in to my mail server. > > host -t MX work.domain > > returns > > work.domain mail is handled by 10 mail.work.domain. > > > Then > > telnet mail.work.domain smtp > > returns > > Trying <mail.work.domain IPADDR>... > Connected to mail.work.domain. > Escape character is '^]'. > 220 mail.work.domain ESMTP Sendmail 8.12.3/8.12.3/Debian-7.1; Tue, 7 > Jun 2005 11:13:08 +0200; (No UCE/UBE) logging access from: > my.mail.server(OK)[EMAIL PROTECTED] [<my.mail.server IPADDR>] > > > So - on the box where exim is running - the MX query returns the > correct host and that host is answering smtp. I thought I'd post to this long dead thread, as I spent a good hour trying to (unsuccessfully) find a solution online. In exim4.conf.template there is a line ignore_target_hosts which contains the list of private network ranges. If your MX record points to an address on this list then delivery fails with the above error, even if the DNS is otherwise fine (which it is, if this is an internal DNS setup.) I removed our subnet from that list, restarted Exim and it all worked fine. Not sure if there is a better way to do this. Hope this helps someone, -- George Borisov DXSolutions Ltd
signature.asc
Description: OpenPGP digital signature