On 2006-03-01 at 15:12 +0100, Stan Novogroudski wrote:
> Phil Pennock schrieb:
> >Untested, treat with caution:
> >
> >smtp_redirect_local:
> >  driver = manualroute
> >  transport = remote_smtp
> >  domains = +local_domains
> >  condition = ${lookup [EMAIL PROTECTED] [EMAIL 
> > PROTECTED]/etc/mail/exim/redirects} {yes}{no}}
> >  route_data = "* ${lookup [EMAIL PROTECTED] [EMAIL 
> > PROTECTED]/etc/mail/exim/redirects}}"

> Thank you for Your fast reaction :)
> 
> That does not work. I bekome this error-log:

That's because I was stupid.

route_list takes a "*" matcher, route_data does not.  Sorry.  :^(

  route_data = ${lookup [EMAIL PROTECTED] [EMAIL 
PROTECTED]/etc/mail/exim/redirects}}

I also forgot to say: using lsearch*@ instead of just lsearch will let
you put [EMAIL PROTECTED] in as the key in the lookup file.  If you know you
don't want that, you can make things faster by just using 'lsearch'.

Sorry for the inconvenience,
-- 
I am keeping international relations on a peaceable footing.
You are biding your time before acting.
He is coddling tyrants.
 -- Roger BW on topic of verb conjugation

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to