Re: [Exim] $local_part not available in authenticators?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Peter Bowyer
Fecha:  
A: exim-users
Asunto: Re: [Exim] $local_part not available in authenticators?
"Torsten Schlabach" <TSchlabach@???> wrote:
> Dear list,
>
> I have a very simple question: Why does this not work:
>
> begin authenticators
>
> fixed_login:
>
> server_condition = ${if ldapauth \
>        {user="${lookup ldapdn {ldap:///BASEDN?dn?sub?(mail=$local_part)}"
> pass=${quote:$2} \


What do you expect $local_part to be set to before any recipients have
been sent in the SMTP conversation? Even if it was set, it's not what
you're looking for here.

You probably mean $1, or some other variable out of the AUTH session.

Peter