I'm trying to use courier imap with mysql authentication but I cannot do it properly. Here is what I have done already to make it work out up to a point:
I compiled courier imap the first time but it wasn't able to find the mysql libs. Exporting the CPP and LD flags with the proper paths, did not work either. Since I was using the mysql binaries extracted from tar.gz and not rpm, I decided to install only the share and devel mysql packages from rpm to make courier find the libs to its desired location. So I did and it worked.
After having compiled courier properly, I did my changes to the authmysqlrc file and tried to start the daemon. When starting authdaemond or even authdaemond.mysql (I don't know which one to start for sure) and imapd.rc, the imap authentication was always failing. The server listens for imap connections (tested with netstats) and the error log is the following:
(/var/log/messages)
Sep 26 17:54:53 mystic authdaemond.mysql: authdaemon: modules="authcustom authcram authuserdb authmysql authshadow authpwd", daemons=5
Sep 26 17:55:19 mystic last message repeated 2 times
(/var/log/maillog)
Sep 26 17:58:18 mystic imapd: Connection, ip=[::ffff:213.5.93.110]
Sep 26 17:58:19 mystic imapd: couriertls: /usr/lib/courier-imap/share/imapd.pem: error:02001002:system library:fopen:No such file or directory
It tries to activate SSL/TLS while I run the imapd.rc script (not the imapd-ssl.rc one). It does the same even if I configure my mail account in Eudora to never try to use it. Ok, I make a certification with the included script anyway and then the result is the following:
Sep 26 18:00:32 mystic imapd: Connection, ip=[::ffff:213.5.93.110] Sep 26 18:00:33 mystic imapd: Unexpected SSL connection shutdown.
It looks pretty weird to me... Any ideas? I just want to make courier imap to work with imap/pop3 and mysql authentication, to use it with vexim (http://silverwraith.com/vexim/). No SSL/TLS at the moment...
Best regards,
Konstantinos Tzanidis
(Slackware 9, OpenSSL 0.9.7a, Courier-IMAP 2.1.2, mysql 4.0.15, exim 4.22)
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
