[Dovecot] Master Password not working

Adam M. Dunn adunn at hgsc.bcm.tmc.edu
Mon Apr 17 22:51:29 EEST 2006


For starters, if you're using a version greater than 1.0beta5 (and you
should), then you need to reverse what you have on your login line from
"master*marc at perkel.com" to "marc*master at perkel.com".  Beta4 and 5 had it
incorrect, and Timo fixed it in beta6.  It's noted on the Wiki.

~adam



On Fri, 14 Apr 2006, Marc Perkel wrote:

> Trying to get the master password to work. What am I doing wrong? Trying 
> this test:
> 
> /etc/dovecot.masterusers
> master:{plain}test
> 
> 
> auth_master_user_separator=*
> 
> auth default_with_listener {
>   mechanisms = plain
> 
>   passdb passwd-file {
>     # Master users that can log in as anyone
>     args = /etc/dovecot.masterusers
>     master = yes
>     #pass =yes
>   }
> 
>   passdb passwd-file {
>     # Path for passwd-file
>     args = /etc/vmail/shadow.%d
>   }
> 
>   userdb passwd-file {
>     # Path for passwd-file
>     args = /etc/vmail/passwd.%d
>   }
> 
>   socket listen {
>     master {
>       path = /var/run/dovecot/auth-master
>       mode = 0666
>     }
>   }
> 
> }
> 
> telnet localhost imap
> Trying 127.0.0.1...
> Connected to localhost.ctyme.com (127.0.0.1).
> Escape character is '^]'.
> * OK Dovecot ready.
> 1 login master*marc at perkel.com test
> 1 NO Authentication failed.
> 
> Thanks in advance.
> 
> 
> 



More information about the dovecot mailing list