3 messages in net.sourceforge.lists.courier-users[courier-users] Courier IMAP and auth...
FromSent OnAttachments
Peter SaengerOct 25, 2002 7:34 am 
Peter SaengerOct 25, 2002 8:11 am 
Roland SchneiderOct 25, 2002 8:20 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:[courier-users] Courier IMAP and authmysqlActions...
From:Peter Saenger (squi@infos.de)
Date:Oct 25, 2002 7:34:41 am
List:net.sourceforge.lists.courier-users

Hi,

I wish to authenticate my IMAP users through a mysql database. I configured and installed Courier IMAP 1.5.3 (from source) and Mysql 3.23.49 (from RedHat 7.3 rpm) on a RedHat 7.3 box.

Courier is listening for connections on port 143, but is does'nt perfom authentication.

----snipp--- [saenger@crocker saenger]$ telnet 192.168.0.91 143 Trying 192.168.0.91... Connected to 192.168.0.91. Escape character is '^]'. * OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc. See COPYING for distribution information. a001 login spam geheim a001 NO Login failed. a002 logout * BYE Courier-IMAP server shutting down a002 OK LOGOUT completed Connection closed by foreign host. [saenger@crocker saenger]$ ----snapp---

/var/log/maillog shows: ---- snipp---- Oct 25 15:21:28 hermes imapd: Connection, ip=[::ffff:192.168.0.90] Oct 25 15:21:43 hermes imapd: LOGIN FAILED, ip=[::ffff:192.168.0.90] Oct 25 15:21:46 hermes imapd: LOGOUT, ip=[::ffff:192.168.0.90] ----snapp----

MySQL Logfile shows: -----snipp---- 021025 15:21:38 8 Connect root@localhost on 8 Init DB imap_account -----snapp----

I did not configure a separate MySQL Account for Courier yet, so it's using root.

As you see Courier is connecting to MySQL Server and selecting the database (name "imap_account" is right), but does not execute any SQL queries in order to perform authentication.

Why? Any suggestions?

Regards,