[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

exim configuration, second router not used



  Hi All,

  I've got the following routers configured in my exim.conf file:

smarthost:
  driver = domainlist
  transport = remote_smtp
  route_list = "* fermi.bjh bydns_a"

lookuphost:
  driver = lookuphost
  transport = remote_smtp
end


  This is on a laptop. When the laptop is in the office, the first
router delivers email fine. However when I am outside the office I was
hoping that the first router would fail (as it can't look up fermi.dns
on the internal dns server), and then use the second router.

  However it doesn't seem to ever use the second router. An example from
my log file looks like this:

2003-08-19 20:59:28 19p2vR-0000rs-00 Unfrozen by forced delivery
2003-08-19 20:59:29 19p2vR-0000rs-00 == bernie.hollaway@bjhcontrols.com.au R=smar thost defer (-1): lookup of host "fermi.bjh" failed in smarthost router
2003-08-19 20:59:29 19p4D3-0001fk-00 <= <> R=19p2vR-0000rs-00 U=mail P=local S=554
2003-08-19 20:59:29 19p2vR-0000rs-00 Frozen
2003-08-19 20:59:29 19p4D3-0001fk-00 => ghc <postmaster@gwolo> D=real_local T=local_delivery
2003-08-19 20:59:29 19p4D3-0001fk-00 Completed


  The second email (id 19p4D3-0001fk-00) is a local mail telling me it
failed to deliver.

  Can anyone tell me why my configuration is working? I had to comment
out smarthost to send any email!

  Thanks,
  Geoff


PS. Please CC me, I'm not on the list.



Reply to: