Greetz list,

I have a situation where users I have entered into the /etc/userdb file are
unable to login via IMAP while local system accounts are still able to.

I have setup my mta (qmail-1.03) to deliver mail to the correct Maildir and 
verified mail is being delivered successfully.

The instructions I followed for configuring virtual userdb accounts and pass-
words are from INSTALL in the source distro (courier-imap-1.5.3). Below is a
rundown of the process used to set this up.

=================================================================================
(added vmail user) (set home to /var/vmail) 
(vmail user/group ID = 1012)

su vmail ;  maildirmake /var/vmail/Maildir-lists/ ; exit

userdb "[EMAIL PROTECTED]" set home=/var/vmail mail=/var/vmail/Maildir-lists/ \
        uid=1012 gid=1012

userdbpw -md5 |userdb "[EMAIL PROTECTED]" set imappw

makeuserdb
=================================================================================

I think per this set of steps I should now be able to login to either of the web-
mail IMAP clients I use (Squirrelmail and IMP) and login as user 'lists' with the
password I set using the userdbpw command. (Is there any way that the -md5 switch
I passed it would cause failure?)

In etc/authdaemonrc I have the following set:
authmodulelist="authuserdb authpwd"

I have the following related processes running:

=================================================================================
/usr/local/courier-imap/libexec/authlib/authdaemond.plain start (authdaemond.plai)

/usr/local/courier-imap/libexec/couriertcpd -address=127.0.0.1 \
        -stderrlogger=/usr/local/courier-imap/libexec/courierlogger \
        -stderrloggername=imapd -maxprocs=40 -maxperip=20 -pid=/var/run/imapd.pid \
        -nodnslookup -noidentlookup 143 /usr/local/courier-imap/sbin/imaplogin \
        /usr/local/courier-imap/libexec/authlib/authdaemon \
        /usr/local/courier-imap/bin/imapd Maildir

/usr/local/courier-imap/libexec/courierlogger imapd
=================================================================================

Anyway, I can't figure out a good way to debug the auth failures as the logs in see
in /var/log/maillog only mention LOGIN FAILED and IP address that are of use. How
I increase the debugging information I recieve? 

I'd like to hear what anyone would suggest as for the userdb accounts that are unable
to log in as well.

T I A,

-- 
Darren Spruell
Sento IS Department
[EMAIL PROTECTED]




-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to