Re: [exim] Using multiple SMTP AUTH drivers

Pàgina inicial
Delete this message
Reply to this message
Autor: Phil Pennock
Data:  
A: Adam Nielsen
CC: exim-users
Assumpte: Re: [exim] Using multiple SMTP AUTH drivers
On 2017-03-16 at 17:13 +1000, Adam Nielsen wrote:
> [...]                             , so I'd like to set up a separate
> set of credentials just for SMTP from these devices.

>
> Unfortunately if I add a new auth section to the Exim config with
> driver=plaintext, I get an error:
>
> two server authenticators (dovecot_login and file_login) have the same
> public name (LOGIN)
>
> Is there some way to configure multiple authentication drivers with
> Exim, such that they are tried in order until one is found that
> succeeds?


No, but the condition used for approval can use `or`.

It's `or{{cond1}{cond2}...{condN}}`

    server_condition = ${if or{\
      {${lookup WHATEVER1}}\
      {${lookup WHATEVER2}}\
      }}


-Phil