Re: [exim] routing non-local users to another server

Góra strony
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
Dla: Geraint Edwards
CC: exim-users, James Davis
Temat: Re: [exim] routing non-local users to another server
On Wed, 2 Nov 2005, Geraint Edwards wrote:
> James Davis <jamesd@???> wrote:
> >
> > exim is serving users in the virtual domain foo.com but if it finds an
> > address within foo.com which hasn't been setup locally (yet), it
> > forwards it onto the old server.
> > [...]
> > deliver_to_qmail:
> >         driver = manualroute
> >         transport = remote_smtp
> >         route_list = * mailserver.foo.com
> >         no_more

> >
> > which places this directly after the local users router.
>
> So far so good.
>
> > However when I
> > try a test SMTP session for a user not setup in the foo.com virtual
> > domain I get the following error.
> >
> > 550 unknown user
>
> This looks to me like it is being rejected in the ACL - at SMTP
> time - before the router gets to deal with the address.


The ACLs do not define which addresses are correct. That is done by the
routers, which are called from the ACLs by verify=recipient. If the ACL
says unknown user then so will the routers.

I don't know why this isn't working because I haven't seen the whole
configuration file or any debugging output.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}