Hi Phil,
Thanks for your reply. I tried adding
| local_rsmtp:
| driver = smtp
| port = 1025
| hosts = localhost
| hosts_override
| allow_localhost
to the transport section (right before remote_smtp) and
| # Routers section
|
| weird_hack_employer:
| driver = domainlist
| transport = local_rsmtp
| domains = MYEMPLOYER.com
| route_list = "MYEMPLOYER.com localhost byname"
|
| smarthost_remainder:
| driver = domainlist
| transport = remote_smtp
| route_list = "* smtp.MYISP.net bydns_a"
to the routers section (in that order). Mail deliver to the rest of the
world still works fine, but attempts to send mail to MYEMPLOYER.com
are instantly frozen with the message:
The following address(es) have yet to be delivered:
norman.walsh@???: remote host address is the local host
| Note that the driver/route_list on weird_hack_employer are simply to
| provide a driver of some sort. There might be a simpler approach here.
| If you read section 28.1 of the Exim Spec, you'll find information on
| the routing rules used; were it not for the localhost/strange-port
| issues, you could do this with one domainlist router.
I'm afraid 28.1 is opaque to me. :-/
Be seeing you,
norm
--
Norman Walsh <ndw@???> | Everything is temporary.
http://nwalsh.com/ |