Configure Dovecot Master User

Alan McGinlay alanm at sics.se
Fri Sep 12 14:32:58 UTC 2014


On 2014-09-08 17:48, Clovis Tristao wrote:
> Hi,
> 
> Does anyone have any idea or hint how to configure dovecot master 
> user?
> I'm already on it for almost fifteen days and can not find a solution.
> I appreciate any help,
> 
> Clovis

It's quite simple:

# Authentication for master users. Included from 10-auth.conf.

# By adding master=yes setting inside a passdb you make the passdb a 
list
# of "master users", who can log in as anyone else.
# <doc/wiki/Authentication.MasterUsers.txt>

# Example master user passdb using passwd-file. You can use any passdb 
though.
passdb {
   driver = passwd-file
   master = yes
   args = /etc/dovecot/passwd.masterusers

   # Unless you're using PAM, you probably still want the destination 
user to
   # be looked up from passdb that it really exists. pass=yes does that.
   pass = yes
}

then use htpasswd from Apache to generate the file 
"/etc/dovecot/passwd.masterusers"

The documentation explains it quite well:

http://wiki2.dovecot.org/Authentication/MasterUsers


More information about the dovecot mailing list