Good morning, I have been working a lot of time trying to make Courier-IMAP work as attended on my system but I can't succeed in doing it.
I am running OpenBSD 3.2 with a postfix mail server and mysql 3.23 compiled from ports. What I want to do is authenticate users against the mysql database so I created a base called passwd containing the required fiels (according to README.authmysql). In /etc/courier-imap/authmysqlrc I put MYSQL_SERVER localhost MYSQL_USERNAME postfix MYSQL_PASSWORD postfix MYSQL_PORT 3306 MYSQL_DATABASE postfix MYSQL_USER_TABLE passwd MYSQL_CRYPT_PWFIELD crypt MYSQL_CLEAR_PWFIELD clear MYSQL_UID_FIELD uid MYSQL_GID_FIELD gid MYSQL_LOGIN_FIELD id MYSQL_HOME_FIELD home MYSQL_NAME_FIELD name MYSQL_MAILDIR_FIELD maildir And in authdaemonrc i put version="authdaemond.mysql" in order to use mysql authentification, they are correctly running : # ps x |grep auth 23546 ?? I 0:00.01 /usr/local/libexec/authlib/authdaemond.mysql start (authdaemond.mysq) 3805 ?? I 0:00.01 /usr/local/libexec/authlib/authdaemond.mysql start (authdaemond.mysq) 12213 ?? I 0:00.01 /usr/local/libexec/authlib/authdaemond.mysql start (authdaemond.mysq) 22186 ?? I 0:00.01 /usr/local/libexec/authlib/authdaemond.mysql start (authdaemond.mysq) 7169 ?? I 0:00.01 /usr/local/libexec/authlib/authdaemond.mysql start (authdaemond.mysq) 27565 ?? I 0:00.01 /usr/local/libexec/authlib/authdaemond.mysql start (authdaemond.mysq) Also, I set up a query logging in mysql but I can't see nothing in the log even no connection to the base so it seems that courier doesn't care I want to use mysql auth. (the logging works when I connect manually to modify the databases. What can be wrong and what should I check ? Thanks in advance for the help ! Julien. ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
