Re: [exim] LDAP lookup inside 'central' filter

Page principale
Supprimer ce message
Répondre à ce message
Auteur: ashkan
Date:  
À: exim-users
Sujet: Re: [exim] LDAP lookup inside 'central' filter

>> Then I want to have something like the following inside /etc/exim/filter1
>>
>> >group = ${lookup ldapm {ldap://localhost:389/ou=people,dc=testdomain,dc=com?ou?(mail=${local_­part})}{$value}
>> >
>> >if $group is "marketing" then save /dev/null endif
>
>You can't invent your own variables in a filter.



Is there a way to store the results of the lookup into some kind of variable so that it can be used multiple times in the exim filter without multiple ldap lookups?

-a