I'm trying to set up courier-imap to retrieve email using authuserdb.  In
my /etc/courier-imap/imapd file, I have:

AUTHMODULES="authdaemon"

In /etc/courier-imap/authdaemonrc, I have:

authmodulelist="authuserdb"

/etc/courier-imap/authdaemond.conf has:

AUTHDAEMOND="authdaemond.plain"

I've created a user account using:

userdb -f /etc/userdb "[EMAIL PROTECTED]" set home=/home/mail \
mail=/home/mail/virtual-addresses/domain.com/myuser uid=5000 G=5000

userdbpw | userdb -f /etc/userdb "[EMAIL PROTECTED]" set imappw
makeuserdb

/home/mail/* is chowned to 5000:5000 and the perms on all directories are
770.

However, when I telnet to localhost and try to authenticate, I get:

* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready. Copyright 
1998-2004 Double Precision, Inc.  See COPYING for distribution information.
a001 login [EMAIL PROTECTED] mypassword 
a001 NO Login failed.

Checking the debug output in the logs, I verified that the password I'm
entering is correct.  Furthermore, if I try to use authpam and a regular
user account, I'm able to authenticate just fine.

I'm sure I'm overlooking something obvious, but I have no idea what it is.
Any help is appreciated.

--kurt

Attachment: pgpexlBgvGqBi.pgp
Description: PGP signature

Reply via email to