Autor: Jason Martens Data: Para: exim-users Assunto: Re: [exim] ldapm lookup for 'senders =' in redirect router?
On Fri, 2005-07-08 at 01:09 +0200, Jakob Hirsch wrote: > Jason Martens wrote:
>
> >>in ${sg {${lookup ... }} {\s+} { : } }.
> > Ah, ok. So the senders thing needs stuff in a list format. That little
> > bit of code you sent me looks like black magic. Where in the docs can I
> > read about how to do that?
>
> http://exim.org/exim-html-4.50/doc/html/spec_11.html#IX855 >
> > Also, it's not working quite right. I'm
> > getting all of the "s"es in my e-mail addresses replaced with colons
> > when I run the test with that added.
>
> Tony forgot the \N around "\s+":
>
> ${sg {${lookup ... }} {\N\s+\N} { : } }
>
> or escape the "\":
>
> ${sg {${lookup ... }} {\\s+} { : } }
>
Thanks! This is the best list ever! Worked like a charm. I really
appreciate your help. :)