Re: [exim] howto set macros depending on ldap request

Pàgina inicial
Delete this message
Reply to this message
Autor: Adam D. Barratt
Data:  
A: exim-users
Assumpte: Re: [exim] howto set macros depending on ldap request
On Fri, 2005-07-22 at 19:07 +0100, Jeremy Harris wrote:
> Jonas Meurer wrote:

[...]
> >.ifdef ${extract{mailMessageStore}{$address_data}}
>
> This isn't exim syntax at all.


.ifdef is -
http://www.exim.org/exim-html-4.50/doc/html/spec_6.html#IX571

Admittedly the above won't work as .ifdefs are evaluated at the point
the file is read, at which point $address_data is empty, and are
implemented as macro replacements rather than string expansions. Aside
from those two small issues though... ;-)

Adam