I am trying to authenticate imap users using authdaemon and postgresql. Here is the error I get:
Aug 7 09:41:47 arecibo imaplogin: LOGIN FAILED, ip=[::ffff:127.0.0.1] Aug 7 09:41:47 arecibo imaplogin: LOGIN: DEBUG: ip=[::ffff:127.0.0.1], command=LOGIN Aug 7 09:41:47 arecibo imaplogin: LOGIN: DEBUG: ip=[::ffff:127.0.0.1], [EMAIL PROTECTED] Aug 7 09:41:47 arecibo imaplogin: LOGIN: DEBUG: ip=[::ffff:127.0.0.1], password=secret Aug 7 09:41:47 arecibo imaplogin: authdaemon: starting client module Aug 7 09:41:47 arecibo imaplogin: authdaemon: TEMPFAIL - no more modules will be tried Aug 7 09:41:52 arecibo imaplogin: LOGIN FAILED, ip=[::ffff:127.0.0.1] Aug 7 09:41:52 arecibo imaplogin: LOGIN: DEBUG: ip=[::ffff:127.0.0.1], command=LOGOUT Aug 7 09:41:52 arecibo imaplogin: LOGOUT, ip=[::ffff:127.0.0.1] Here are the contents of /etc/courier/authdaemonrc: authmodulelist="authpgsql" authmodulelistorig="authcustom authcram authuserdb authldap authpgsql authmysql authpam" daemons=5 version="" authdaemonvar=/var/run/courier/authdaemon Here are the contents of /etc/courier/authpgsqlrc: PGSQL_PORT 5432 PGSQL_USERNAME provider PGSQL_PASSWORD password PGSQL_DATABASE provider PGSQL_USER_TABLE composite PGSQL_CRYPT_PWFIELD password PGSQL_UID_FIELD uid PGSQL_GID_FIELD gid PGSQL_LOGIN_FIELD email PGSQL_HOME_FIELD home PGSQL_NAME_FIELD name PGSQL_MAILDIR_FIELD maildir Here is the line from the composite view (it combines columns from the domains and users tables and I have reformated it vertically): email: [EMAIL PROTECTED] password: $1$5ebe2294ecd0e0f08eab7690d2a6ee69 (MD5 hash of 'secret') name: Test User home: /home/example/virtualmail maildir: example.com/test/ quota: 10485760 uid: 1001 gid: 1001 The contents of /etc/courier/imapd: ADDRESS=0 PORT=143 AUTHSERVICE143=imap AUTHSERVICE993=imaps MAXDAEMONS=40 MAXPERIP=20 PIDFILE=/var/run/courier/imapd.pid TCPDOPTS="-nodnslookup -noidentlookup" AUTHMODULES="authdaemon" AUTHMODULES_ORIG="authdaemon" DEBUG_LOGIN=2 IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE" IMAP_KEYWORDS=1 IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA 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=1 IMAP_SHAREDINDEXFILE=/etc/courier/shared/index IMAP_ENHANCEDIDLE=0 IMAP_TRASHFOLDERNAME=Trash IMAP_EMPTYTRASH=Trash:7 IMAP_MOVE_EXPUNGE_TO_TRASH=0 SENDMAIL=/usr/sbin/sendmail HEADERFROM=X-IMAP-Sender IMAPDSTART=YES MAILDIRPATH=.Maildir For the life of me, I cannot figure out what is going wrong. Any help would be greatly appreciated. -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto
signature.asc
Description: Digital signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
