Re: [EXIM] Help required for relaying unknown local addresse…

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Paul Toyne
CC: exim-users
Subject: Re: [EXIM] Help required for relaying unknown local addresses
On Wed, 21 Jan 1998, Paul Toyne wrote:

> When mail goes to the secondary mail exchange I want to set it up to
> deliver known local addresses automatically and send all other
> addresses, including unknown local addresses onto our primary mail
> exchange. Having read the documentation it appears that I should do
> this...
>
> smart_route:
> driver = domainlist
> transport = smtp
> route_list = "* a_server.dmu.ac.uk bydns_a"
>
> However that gave an error on the line "transport =" so I changed it
> to
>
> transport = remote_smtp
>
> This still doesn't forward any non-local mail to the a_server
> machine.


Did you put that as the first router? Order matters. Test a non-local
addres with

exim -d -bt user@???

and it will tell you what it is doing with it. Use -d2 or -d4 or up to
-d9 to get more and more info.

That won't help you with unknown local addresses. To handle those you
need to add a smartuser directors as the last director, so it picks up
any local addresses that the other directors can't handle, e.g.

smart_direct:
driver = smartuser
transport = smart_smtp

with the transport

smart_smtp:
driver = smtp
hosts = a_server.dmu.ac.uk

(or something like that - I haven't tested this).

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***