Different passdb backends for different services

Sami Ketola sami.ketola at dovecot.fi
Tue Sep 3 11:54:38 EEST 2019



> 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


More information about the dovecot mailing list