A couple of things to check... a) make sure "version" in authdaemonrc is set to "authdaemond.mysql"... If I understood correctly courier-imap will otherwise start the first authdaemond it will find in the directory and only authdaemond.mysql can authenticate via mysql (and all the other light weight methodes you've defined while compiling)
b) make sure MYSQL_SERVER, MYSQL_USERNAME and MYSQL_PASSWORD are correct, and ARE NOT followed by any white space. c) If you are using MYSQL_SOCKET make sure it points to socket file (The pre defined location in authmysqlrc did not match with my setup for instance) d) Trun DEBUG_LOGIN on to 1 or 2 so you can check wether you have sent the right username and password (not really relevant for you, since you don't get any queries to you mysql server at all) If above suggestions do not help to solve your problem post the relevant configuration files, and maybe somebody can spot your problem. grz, Onno > I've setup a new mailserver with postfix-courier and > mysql. > The full postfix configuration works fine. > Sending mail to server.domain --> postfix checks the > user in mysql > (virtual_mailbox) and delivers correctly to the > maildir. > > The problem comes with courier and authmysql. > In the authdaemonrc file, the following is set : > authmodulelist="authmysql authpam" > Doing this (with a presumably correct authmysqlrc > file) doesn't work. > Syslog says : incorrect login. > Mysql logging : nothing happened over here (not even > a connection) > Switching the authmodulelist (like hereunder) > authmodulelist="authpam authmysql" > seems to work fine (with locally created users > however). > > Starting the authdaemon doesn't give errors, so i > can't really see the > reason of this malfunctioning. > Has anyone got an idea? > > Greetings, > Ignace Quaghebeur > > > ######################################################################################## > Attention: > > The information contained in this message and or > attachments is intended only for the > person or entity to which it is addressed and may > contain confidential and/or privileged > material. Any review, retransmission, dissemination > or other use of, or taking of any > action in reliance upon this information by persons > or entities other than the intended > recipient is prohibited. If you received this in > error, please contact the sender and > delete the material from any system and destroy any > copies. > > Jetair, its subsidiaries and/or its employees shall > not be liable for the incorrect or > incomplete transmission of this e-mail or any > attachments, nor responsible for any delay > in receipt. > > This e-mail message has been scanned for viruses. > > ######################################################################################## > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = > Something 2 See! > http://www.vasoftware.com > _______________________________________________ > courier-users mailing list > [EMAIL PROTECTED] > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
