Different passdb backends for different services
Sami Ketola
sami.ketola at dovecot.fi
Wed Sep 4 17:58:35 EEST 2019
> On 4 Sep 2019, at 16.38, R.N.S. via dovecot <dovecot at dovecot.org> wrote:
>>
>> passdb {
>> args = /etc/dovecot/master-users
>> driver = passwd-file
>> master = yes
>> pass = yes
>> }
>> passdb {
>> args = /etc/dovecot/dovecot-ldap.conf.ext
>> driver = ldap
>> }
>>
...
>> protocol sieve {
>> passdb {
>> args = /etc/dovecot/dovecot-ldap-incoming.conf.ext
>> driver = ldap
>> name =
>> }
>> }
>> protocol pop3 {
>> passdb {
>> args = /etc/dovecot/dovecot-ldap-incoming.conf.ext
>> driver = ldap
>> name =
>> }
>> }
>> protocol submission {
>> login_greeting = ESMTP
>> passdb {
>> args = /etc/dovecot/dovecot-ldap-outgoing.conf.ext
>> driver = ldap
>> name =
>> }
>> }
So the problem really is in order of things.
Your protocol specific passdbs are AFTER your global passdb. Global passdb {} returns return-ok on successful authentication and rest of the passdbs are never processed.
Sami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190904/85ad4874/attachment.html>
More information about the dovecot
mailing list