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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: ashkan
日付:  
To: exim-users
題目: 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