[Dovecot] Authentication problems

Rory Campbell-Lange rory at campbell-lange.net
Sun Dec 19 18:53:19 EET 2004


Hi. I aim to provide pop3 and imap services to a few users. At the moment I
only offer imap for squirrelmail users. However, I can't login successfully for
pop3. It appears to be trying to auth against PAM, rather than directly using 
the passwd-file.

Thoughts?

Thanks,
Rory

Config:

uthenticatprotocols = pop3 imap
ssl_disable = yes
login = imap
login = pop3
mail_extra_groups = mail
auth = default
auth_mechanisms = plain
auth_userdb = passwd-file /etc/dovecot.passwd.conf
auth_user = root
auth_verbose = yes

Password file:

# squirrelmail imap users
user1:xe9l8sIMpcTsg:1008:1008::::chroot:Maildir:/home/cmp/Maildir/user1
user2:m7VKCgWVmZYMY:1008:1008::::chroot:Maildir:/home/cmp/Maildir/user2
user3:ELh9mthLVjEG2:1008:1008::::chroot:Maildir:/home/cmp/Maildir/user3
# normal users
xyz1:QtR.iN1DbL/UM:1004:1004::::chroot:mbox:/var/mail/xyz1
xyz2:y38.qLIgrvYic:1002:1002::::~/Mail:mbox:/var/mail/xyz2:INDEX=/home/xyz2
...

Problem shown in log:

Dec 19 16:45:30 localhost dovecot-auth: PAM: pam_authenticate(xyz2) failed: User not known to the underlying authentication module
Dec 19 16:45:30 localhost pop3-login: Aborted login [ipaddress]



-- 
Rory Campbell-Lange 
<rory at campbell-lange.net>
<www.campbell-lange.net>


More information about the dovecot mailing list