Problem with master password

Sami Ketola sami.ketola at dovecot.fi
Thu Dec 28 15:29:10 EET 2017



> On 28 Dec 2017, at 13.46, Harald Leithner <leithner at itronic.at> wrote:
> 
> }
> passdb {
>  args = /etc/dovecot/master-users
>  driver = passwd-file
>  master = yes
>  pass = yes
> }
> passdb {
>  args = /etc/dovecot/dovecot-sql.conf.ext
>  driver = sql
> }

the default behaviour for first passdb is:

result_success = return-ok, so the second passdb is skipped if authentication was successfull.
I guess you return some user specific variables from the second passdb which makes INBOX 
unaccessible with master login as dovecot does not know mailbox location.

maybe you should add result_success = continue-ok to the first passdb so that second passdb
is processed even if master authentication was a success.

Sami



More information about the dovecot mailing list