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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: ashkan
Datum:  
To: exim-users
Betreff: 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