Problem with master password

Harald Leithner leithner at itronic.at
Wed Jan 3 15:15:14 EET 2018


Thx for the answer, you are right the userdb query sets the mailbox path 
but it didn't solve the problem.

logfile says that it tries to open the correct path...

bye

Harald

Am 28.12.2017 um 14:29 schrieb Sami Ketola:
> 
> 
>> 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
> 

-- 
Harald Leithner

ITronic
Wiedner Hauptstraße 120/5.1, 1050 Wien, Austria
Tel: +43-1-545 0 604
Mobil: +43-699-123 78 4 78
Mail: leithner at itronic.at | itronic.at


More information about the dovecot mailing list