Re: [Exim] LDAP Lookups + Exim4

Startseite
Nachricht löschen
Nachricht beantworten
Autor: John Horne
Datum:  
To: exim-users
Betreff: Re: [Exim] LDAP Lookups + Exim4
On 15-Aug-2002 at 16:54:37 John Horne wrote:
> On 15-Aug-2002 at 16:20:11 Joseph Kezar wrote:
>> I am currently undergoing a migration from Exim 3 to 4.
>> I compiled Exim4 with the OpenLDAP2 libraries without a hitch. Now I am
>> trying to convert my configuration file.
>> Apparently this Router is not syntatically correct:
>> external_ldap_aliases:
>> driver = redirect
>> search_type = ldapm
>> query = ldap://ldap.doc.state.vt.us/ou=Groups,o=Vermont Department of
>> Corrections,c=US?rfc822MailMember?sub?(cn=${local_part})
>> file_transport = address_file
>> pipe_transport = address_pipe
>> unseen
>>
> I don't use ldap myself, but the query and search_type options are exim3
> not exim4. Try using something like:
>
>   external_ldap_aliases:
>     driver = redirect
>     search_type = ldapm
>     data = ${lookup ldapm \
>      {ldap://ldap.doc.state.vt.us/ou=Groups,o=Vermont Department of
> Corrections,c=US?rfc822MailMember?sub?(cn=${local_part})}}
>     file_transport = address_file
>     pipe_transport = address_pipe
>     unseen

>

Oops. Remove the 'search_type' option from the above example, its not valid
in exim4.


John.

------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: jhorne@???
PGP key available from public key servers