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.
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. > > >
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 at perkel.com test > 1 NO Authentication failed.Try: 1 login marc at perkel.com*master test -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060421/0c1258cb/attachment.bin>