[Dovecot] How to use Master Users.

Adam M. Dunn adunn at hgsc.bcm.tmc.edu
Mon Apr 3 21:43:36 EEST 2006


Hi.
  I'm testing out the new 'master users' feature, and I'm not having any
luck getting it to work.  Anyone out there using it yet?


Here's what I have so far:

dovecot.conf:
------------

auth_master_user_separator = *

auth default {

  passdb passwd-file {
    # Master users that can login as anyone else
    args = /etc/dovecot/dovecot.masterusers
    master = yes
    pass = yes
  }

  # LDAP database
  passdb ldap {
    args = /etc/dovecot/dovecot-ldap.conf
  }

...
...
}


dovecot.masterusers:
-------------------
testuser:{plain}testpass



# telnet localhost imap
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK IMAP server ready.
1 login realuser*testuser "testpass"
1 NO Authentication failed.



As you can see I get authentication failed.  The log shows it fails for
the 'realuser' that exists in ldap.  Any ideas out there?  I have the
'testuser' also setup in /etc/passwd.



Thanks
Adam





More information about the dovecot mailing list