Re: [exim] Exim with Dovecot, dovecot-lda, sieve and exim s…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Graeme Fowler
Date:  
À: exim-users
Sujet: Re: [exim] Exim with Dovecot, dovecot-lda, sieve and exim smart relay
On Thu, 2013-05-23 at 10:46 +0100, Sebastian Arcus wrote:
> fixed_plain_client:
>    driver = plaintext
>    public_name = PLAIN
>    client_send = ^$sender_address^${lookup{$sender_address}\
>      lsearch{/etc/exim/exim-client.passwd}{$value}{fail}}


Wrap your $sender_address bit in an if test, like this:

${if eq{$sender_address}{}{SPECIFIC_ADDRESS}{$sender_address}}

...where SPECIFIC_ADDRESS is a real address in your lookup table. That
way all the OoO replies will authenticate remotely as a single user.

It's a bit long-winded to look at, but effectively it says "if
$sender_address is empty then replace it with SPECIFIC_ADDRESS". And you
need to do it for both the username, and the password lookup.

Graeme