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

Inizio della pagina
Delete this message
Reply to this message
Autore: ashkan
Data:  
To: exim-users
Oggetto: 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