Different passdb backends for different services

Sami Ketola
Tue, 03 Sep 2019 08:54:38 -0000

> On 3 Sep 2019, at 11.07, R.N.S. via dovecot <dovecot at dovecot.org>
wrote:
>
> Hi,
>
> as Dovecot supports submission, which is the sending direction, I am
interested to know, if I can configure a separate passdb backend just for
submission.
>
> I habe LDAP attributes that differ sending or receiving permissions. It
would be nice, if I had a second passdb backend just for submission, which has a
LDAP filter for locking this service.
>
>
> Example for IMAP, POP3, Sieve:
>
> (&(mail=%s)(mailAllowIncoming=TRUE))

protocol imap {
  passdb {
    ...
  }
}


>
>
> Example for Submission:
>
> (&(mail=%s)(mailAllowOutgoing=TRUE))

protocol submission {
  passdb {
    ...
  }
}

etc.

Sami