Re: Master user login attempted without master passdbs

Aki Tuomi via dovecot <[email protected]> Mon, 20 Apr 2026 10:51:23 +0300 (EEST)
Newsgroups gmane.mail.imap.dovecot
Message-ID <1394506751.2975.1776671483951@appsuite-pro-sync-core-mw-groupware-0.appsuite-pro-sync-core-mw-hazelcast-headless.appsuite-dev.svc.cluster.local>
> On 20/04/2026 10:44 EEST horst.simon.aus--- via dovecot <[email protected]> wrote:
> 
>  
> Hi
> Unfortunately there is no manual on this. it works perfect if dovecot is using  system authentication (pam), but the if using sql authentication. I think it cat not access the users sieve files which are in a directory owned by the virtual master user vmail. When using system pam authentication
> the users sieve scripts are in its home directory. The horde configuration s is the same for both, I could not see a parameter specifying to use the master user. 
> 
> Horst

if you want to use master login:

passdb master-db {
  driver = sql
  query = SELECT password FROM users WHERE userid = '%{user}' and master_user = true
  master = yes
  result_success = continue
}

see https://doc.dovecot.org/latest/core/config/auth/master_users.html

Aki

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]