Re: [exim] ldapm lookup for 'senders =' in redirect router?

Pàgina inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
A: 'Exim-users'
Assumpte: Re: [exim] ldapm lookup for 'senders =' in redirect router?
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+} { : } }