[Dovecot] Master Password not working
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@perkel.com test 1 NO Authentication failed.
Thanks in advance.
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@perkel.com" to "marc*master@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@perkel.com test 1 NO Authentication failed.
Thanks in advance.
Adam M. Dunn wrote:
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@perkel.com" to "marc*master@perkel.com". Beta4 and 5 had it incorrect, and Timo fixed it in beta6. It's noted on the Wiki.
~adam
But I run virtual domains and on my system the username is the entire email address. So "master@perkel.com" makes no sense at all the way I'm using it. Perhaps this master password feature needs some more work?
Thanks for the help.
On Fri, 2006-04-14 at 01:11 -0700, Marc Perkel wrote:
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@perkel.com test 1 NO Authentication failed.
Try:
1 login marc@perkel.com*master test
participants (3)
-
Adam M. Dunn
-
Marc Perkel
-
Timo Sirainen