Re: [exim] Using multiple SMTP AUTH drivers

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Phil Pennock
Datum:  
To: Adam Nielsen
CC: exim-users
Betreff: 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