> -----Original Message-----
> From: Rick Cooper [mailto:rcooper@dwford.com]
> Sent: 04 May 2004 23:15
> To: Mike 'Fraz' White; exim-users@???
> Subject: RE: [Exim] roadrunner broke my new toy..
--8<--
> Note at the top of the routers section where it says ORDER DOES
MATTER.
> You
> are accepting the remote hosts for default remote_smtp here (the first
> router):
>
> lookuphost:
> driver = dnslookup
> domains = ! +local_domains
> ignore_target_hosts = 127.0.0.0/8
> transport = remote_smtp
> no_more
>
> where you should have the following order, if I am understanding you
do
> not
> want any mail sent via the local host machine . From reading your to
> remote
> routers the above should not be in the config file at all.
>
No I want to send through my local machine *except* if the mails are
destined for specific domains.
> ntl_router:
> driver = manualroute
> domains = *.rr.com:aol.com:virgin.net
> route_list = * smtp.ntlworld.com:192.168.1.1
> transport = remote_smtp
>
> normal_router:
> driver = manualroute
> domains = ! +local_domains
> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
> route_list = * 192.168.1.1:smtp.ntlworld.com
> transport = remote_smtp
>
>
So these need to go first then :-)
Swift switch around and send a couple of test mails and all is well in
the world (it appears)
Hmmm maybe not, mails to @vigin.net are delivered via my ISP, other
mails (except to localboxes barf. lets try plan B. If this mail sends
then the below worked.
Cheers :-)
ntl_router:
driver = manualroute
domains = *.rr.com:aol.com:virgin.net
route_list = * smtp.ntlworld.com:192.168.1.1
transport = remote_smtp
#normal_router:
# driver = manualroute
# domains = ! +local_domains
# route_list = * 192.168.1.1:smtp.ntlworld.com
# transport = remote_smtp
lookuphost:
driver = dnslookup
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8
transport = remote_smtp
no_more
--
Mike 'Fraz' White
http://www.smartowner.co.uk