i've been playing with courier-imapd and got it working (well, kinna anyway) but squirrellmail reports "ERROR: Connection dropped by IMAP server." after i click the login button.
ok, next i tryed to see what comes up if i telnet in on 143. here's the output
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.
stalls for about 1 minute here, then i get
Connection closed by foreign host.
if i try to write anything (say i write "login") (i seriously lack the knowledge of telnet) while the imap server stalls i get this
login NO Error in IMAP command received by server.
now i may lack the knowledge of imap, but that ERROR in IMAP thing doesn't look healthy to me. does it to you?
so i check the logs (var/log/messages) and i get
Oct 6 03:02:59 dchub sm-mta: l9602wF6010653: SYSERR(root): makeconnection_ds: unsafe domain socket /var/imap/socket/lmtp
now, i remember a courier-auth folder somewere in the system, i cd into it, and see 2 files, one of which is named authdaemon
, so i ./ (eecute)it and receive this output
INFO: modules="authuserdb authvchkpw authpam authldap authmysql authpgsql", daemons=5
INFO: Installing libauthuserdb
INFO: Installation complete: authuserdb
INFO: Installing libauthvchkpw
INFO: Shared object "libauthvchkpw.so" not found, required by "authdaemond"
INFO: Installing libauthpam
INFO: Installation complete: authpam
INFO: Installing libauthldap
INFO: Installation complete: authldap
INFO: Installing libauthmysql
INFO: Installation complete: authmysql
INFO: Installing libauthpgsql
INFO: Shared object "libauthpgsql.so" not found, required by "authdaemond"
there are 2 .so files that are unaccounted for.
when i login through telnet to the imapserver i get
a login email@example.com test
* BYE Temporary problem, please try again later