Yves Goergen writes:

On 19.02.2006 18:09 (+0100), Sam Varshavchik wrote:
There was nothing in your initial message that suggested that you installed courier-authlib.

Okay, to be clear, this is what I did:

Downloaded courier-authlib 0.58 and called:
./configure \
  --prefix=/usr/courier \
  --with-mailuser=mail \
  --with-mailgroup=mail \
  --without-authpwd \
  --without-authshadow \
  --without-authpam \
  --with-authcram \
  --without-authvchkpw \
  --without-authldap \
  --without-authpgsql \
  --without-authuserdb \
  --without-authcustom \
  --without-authpipe \
  --with-authmysql

Stop.

This does not agree with the syslog that you posted earlier. Your syslog clearly showed that you compiled and installed both the authpwd and authshadow modules.

Try again, this time posting something that supports your claims. Otherwise, everyone here will be chasing shadows, and wasting their time.

make
su
make install
make install-configure
vim /usr/courier/etc/authlib/authmysqlrc
Now I set up my MySQL connection like this:
MYSQL_SERVER            127.0.0.1
(or also "localhost" and sometimes explicitly with MYSQL_PORT 3306)

Check for any trailing spaces.

MYSQL_USERNAME          webadmin
MYSQL_PASSWORD          *****
MYSQL_DATABASE          webadmin
MYSQL_USER_TABLE        mailusers
MYSQL_CRYPT_PWFIELD     cryptpass
MYSQL_CLEAR_PWFIELD     clearpass
#MYSQL_UID_FIELD
#MYSQL_GID_FIELD
MYSQL_LOGIN_FIELD       CONCAT(local, '@', domain)
#MYSQL_HOME_FIELD
#MYSQL_NAME_FIELD
MYSQL_MAILDIR_FIELD     maildir
And started the authdaemon server.

Then downloaded courier-imap 4.0.6 (which cannot be compiled without authlib, iirc):
./configure \
  --prefix=/usr/courier \
  --enable-unicode=utf-8
make
make check
su
make install
make install-configure
And started the IMAP server only for now.

Then I tried to access that IMAP mailbox from Thunderbird which only tells me that I cannot do that.

Afterwards I set DEBUG_LOGIN=2 as described above and changed my syslog.conf to explicitly put all mail.debug info into a new file, because I'm not sure if the default Debian config really already did that before. (I don't fully understand their config options so I added a new one to be sure.)

It doesn't try to connect to MySQL. I set MYSQL_PORT 3305 and ran a local port forwarder which didn't show any connection attempt. That my forwarder works is for sure because I could read the plain IMAP connection between the client and the server the other time. But also in the raw IMAP stream, no additional error cause can be found.

--
Yves Goergen "LonelyPixel" <[EMAIL PROTECTED]>
"Does the movement of the trees make the wind blow?"
http://newsboard.unclassified.de - Unclassified NewsBoard Forum


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Attachment: pgpEhvERID1O2.pgp
Description: PGP signature

Reply via email to