Hi, Imap is not authenticating for reason's I can't fathom. I've seen a few similar posts to the list, but no really conclusive replies.
The problem seems to be that imap is not connecting at all to mysql. Mysql's log file does not record any activity at all from imap. Mysql does not even record imap's failures to connect; imap simply isn't hitting the database. I'm running freebsd w/postfix, courier-imap and mysql. I've setup things roughly along the lines given in an online guide. Imap is running fine: # ps -waux | grep courier root 175 0.0 0.7 1356 868 ?? I 12:46AM 0:00.01 /usr/local/libexec/courier-imap/authlib/authdaemond.mysql start root 177 0.0 0.7 1364 940 ?? I 12:46AM 0:00.01 /usr/local/libexec/courier-imap/authlib/authdaemond.mysql start root 178 0.0 0.7 1356 868 ?? I 12:46AM 0:00.00 /usr/local/libexec/courier-imap/authlib/authdaemond.mysql start root 179 0.0 0.7 1356 868 ?? I 12:46AM 0:00.00 /usr/local/libexec/courier-imap/authlib/authdaemond.mysql start root 180 0.0 0.7 1356 868 ?? I 12:46AM 0:00.00 /usr/local/libexec/courier-imap/authlib/authdaemond.mysql start root 181 0.0 0.7 1356 868 ?? I 12:46AM 0:00.00 /usr/local/libexec/courier-imap/authlib/authdaemond.mysql start root 196 0.0 0.5 924 592 ?? I 12:46AM 0:00.01 /usr/local/libexec/courier-imap/couriertcpd -address=192.168.0.0 -stde rr=/var/log/imap-error -maxprocs=5 -maxperip=4 -pid=/var/run/imapd.pid -nodnslookup -noidentlookup 143 /usr/local/sbin/imaplogin /usr/local/libexec/courier-imap/authlib/authdaemon /usr/local/bin/imapd Maildir Imap's logs (which leave a little to be desired) confirm that it's going through the motions: # vi /var/log/imap-error INFO: Connection, ip=[::ffff:192.168.0.0] ERR: LOGIN FAILED, ip=[::ffff:192.168.0.0] ERR: LOGIN FAILED, ip=[::ffff:192.168.0.0] INFO: LOGOUT, ip=[::ffff:192.168.0.0] ...as confirmed by telnet sessions: # telnet 192.168.0.0 143 Trying 192.168.0.0... Connected to imap.my.domain. Escape character is '^]'. * OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc. See COPYING for distribution information. login test test login NO Error in IMAP command received by server. ================================ Here are the the imap configuration details: # egrep ^[^#] authdaemonrc authmodulelist="authmysql" authmodulelistorig="authcustom authuserdb authmysql authpam" daemons=5 version="authdaemond.mysql" authdaemonvar=/usr/local/var/authdaemon MYSQL_SERVER localhost MYSQL_USERNAME imap MYSQL_PASSWORD ~l34m3!n MYSQL_SOCKET /var/mysql/mysql.sock MYSQL_OPT 0 MYSQL_DATABASE imap MYSQL_USER_TABLE user MYSQL_CRYPT_PWFIELD crypt MYSQL_UID_FIELD uid MYSQL_GID_FIELD gid MYSQL_LOGIN_FIELD address MYSQL_HOME_FIELD home MYSQL_NAME_FIELD name MYSQL_MAILDIR_FIELD maildir # egrep ^[^#] imapd SION: $Id: imapd.dist.in,v 1.12 2001/11/29 04:25:56 mrsam Exp $ ADDRESS=192.168.0.0 PORT=143 MAXDAEMONS=5 MAXPERIP=4 PIDFILE=/var/run/imapd.pid TCPDOPTS="-nodnslookup -noidentlookup" AUTHMODULES="authdaemon" AUTHMODULES_ORIG="authdaemon" IMAP_CAPABILITY="IMAP4rev1 CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT" IMAP_CAPABILITY_ORIG="IMAP4rev1 CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE" IMAP_IDLE_TIMEOUT=60 IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN" IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG AUTH=PLAIN" IMAP_DISABLETHREADSORT=0 IMAP_CHECK_ALL_FOLDERS=0 IMAP_OBSOLETE_CLIENT=0 IMAP_ULIMITD=65536 IMAP_USELOCKS=0 IMAP_EMPTYTRASH=Trash:7 IMAP_MOVE_EXPUNGE_TO_TRASH=0 IMAPDSTART=YES IMAPDEBUGFILE=/var/log/imap-debug Any ideas? Jeff _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
