Re: [exim] forwarding router

Etusivu
Poista viesti
Vastaa
Lähettäjä: John Jetmore
Päiväys:  
Vastaanottaja: Dan_Mitton
Kopio: exim-users
Aihe: Re: [exim] forwarding router
On Thu, Jul 22, 2010 at 11:14 AM, <Dan_Mitton@???> wrote:
> I am trying to forward a large number of users mails to a variety of new
> addresses.  I was thinking I could do this with a redirect router
> (below)...
>
> my_forward_router:
>        driver               = redirect
>        data                 = ${lookup{$local_part@$domain}
> nwildlsearch{my.forward}}
>
> This seems to work, unless a delivery is deferred, for example...
>
> R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
>
> and then a forced retry is done using the -M <message id> or -R <string>
> command line commands.  When this happens, the message is delivered to the
> un-forwarded address.
>
> What am I missing?  It seems like it is skipping my redirect router the
> second time through.


Is it possible you're running the -M command as an "admin user" and
that user doesn't have the permissions to open the file containing the
forward lookups?