3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier-imap and ...
FromSent OnAttachments
Ignace QuaghebeurFeb 7, 2003 6:33 am 
OnnoFeb 8, 2003 2:41 am 
Ignace QuaghebeurFeb 10, 2003 12:30 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Courier-imap and authmysqlActions...
From:Ignace Quaghebeur (igna@jetair.be)
Date:Feb 10, 2003 12:30:41 am
List:net.sourceforge.lists.courier-users

At 02:41 8/02/2003 -0800, you wrote:

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)

This was setup correctly

b) make sure MYSQL_SERVER, MYSQL_USERNAME and MYSQL_PASSWORD are correct, and ARE NOT followed by any white space.

Found the little bug!! White spaces! Thanks very much

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

https://lists.sourceforge.net/lists/listinfo/courier-users

######################################################################################## 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.