Hi All, I've been bashing my brain over this one. Normally I can find small tiny things wrong myself, but this one I've had to throw my hat in on. I've installed courier-imap (with pop3d) on my RedHat 7.1 box, and setup both pop3d and imapd to authenticate against authdaemond. Authdaemond then authenticates against authshadow. The problem is, while imapd can authenticate fine against the authdaemon, pop3d always fails, reporting the error:
[root@vampire angliss]# telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Hello there. user ******* +OK Password required. pass ************ -ERR Login failed. quit +OK Better luck next time. Connection closed by foreign host. In the pop3 connection (via telnet) and the logs report the following: Oct 5 08:59:52 vampire pop3d: Connection, ip=[::ffff:127.0.0.1] Oct 5 09:00:14 vampire pop3d: LOGIN FAILED, ip=[::ffff:127.0.0.1] Oct 5 09:00:21 vampire pop3d: Disconnected, ip=[::ffff:127.0.0.1] (not very helpful really). My configurations for pop3d are: ==========[ pop3d ]========== PIDFILE=/var/run/pop3d.pid MAXDAEMONS=40 MAXPERIP=4 AUTHMODULES="authdaemon" AUTHMODULES_ORIG="authdaemon" POP3AUTH="" POP3AUTH_ORIG="LOGIN CRAM-MD5 CRAM-SHA1" POP3AUTH_TLS="" POP3AUTH_TLS_ORIG="LOGIN PLAIN" PORT=110 ADDRESS=0 TCPDOPTS="-nodnslookup -noidentlookup" POP3DSTART=YES ==========[ pop3d ]========== It is just the default configuration that ships with courier I believe. I don't think I changed anything for simplicity and setup as I normally get things running before tweaking. Now here is imapd... =========[ imapd ]========== ADDRESS=0 PORT=143 MAXDAEMONS=40 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 QUOTA" 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 SENDMAIL=/usr/sbin/sendmail HEADERFROM=X-IMAP-Sender IMAPDSTART=YES ==========[ imapd ]========== ==========[ authdaemon ]========== authmodulelist="authshadow" authmodulelistorig="authcustom authcram authuserdb authpam" daemons=5 version="authdaemond.plain" authdaemonvar=/usr/local/courier-imap/var/authdaemon ==========[ authdaemon ]========== I configured courier using the following command: ./configure --sysconfdir=/etc/courier --prefix=/usr/local/courier-imap --with-authshadow --without-authmysql --without-authldap --without-authpam --without-authpgsql --with-mailuser=courier --with-authchangepwdir=/usr/local/courier-imap/libexec/authlib --with-db=gdbm --with-userdb=/etc/userdb --with-makedatprog='/usr/local/courier-imap/libexec/makedatprog' --without-socks --with-authchangepwdir=/var/tmp/dev/null (copied the above line from config.status so some of the options were put in by configure on its own). I am stuck for ideas, and cannot get the pop3d to authenticate, even when creating a user called test with a password test (just to make 100% sure I'm not typing my own pass in wrong). Does anybody have *any* ideas or suggestions, or a point where I can start looking? I skimmed over the archives, and didn't find anything in there. Thanks in advance -- Jonathan Angliss ([EMAIL PROTECTED]) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
