2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Maildrop/MySQL - ERR: aut...
FromSent OnAttachments
KilianMay 14, 2006 5:39 pm 
Sam VarshavchikMay 16, 2006 3:43 pm 
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:[maildropl] Maildrop/MySQL - ERR: authdaemon: s_connect() failed: Connection refusedActions...
From:Kilian (ki@gnu.ch)
Date:May 14, 2006 5:39:48 pm
List:net.sourceforge.lists.courier-maildrop

Hello all,

I'm running Debian Sarge and have installed the packages necessary to run Postfix, courier-authdaemon and courier-imap with all user information stored in a MySQL database. I've followed the instructions on http://workaround.org/articles/ispmail-sarge/

However, this setup does not use maildrop to deliver mails; as I appreciate maildrops filtering capabilites, I would like to get it to handle the final delivery.

Without maildrop, delivery works just fine. When I use maildrop, I get this in the logs:

May 13 16:44:28 fook postfix/pipe[18070]: 7C5969AC140: to=<xx@xxx.xxx>, relay=maildrop, delay=0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Connection refused /usr/local/courier-maildrop/bin/maildrop: Temporary authentication failure. )

This is also what I get when I run maildrop from the command line, e.g: $ /usr/local/courier-maildrop/bin/maildrop -d xx@xxx.xxx -V ERR: authdaemon: s_connect() failed: Connection refused /usr/local/courier-maildrop/bin/maildrop: Temporary authentication failure.

But authdaemond is running and Courier IMAP works...

When I use the package courier-maildrop from Debian, I get

temporary failure. Command output: /usr/bin/maildrop: Invalid user specified.

But I think that is because this maildrop version is not compiled with MySQL-Support. So I tried to compile it myself (Version 2.0.2) with the following:

$ export CPPFLAGS="-I/usr/include/mysql" $ export LDFLAGS="-L/usr/lib"

$ CC="gcc-3.4" CXX="g++-3.4" CPP="cpp-3.4" \ ./configure \ --prefix=/usr/local/courier-maildrop \ --enable-maildropmysql \ --with-mysqlconfig=/usr/local/etc/courier-maildrop/maildropmysql.config \ --with-etcdir=/usr/local/etc/courier-maildrop \ --enable-maildrop-uid=1006 \ --enable-maildrop-gid=1006

But this results in the "s_connect() failed: Connection refused" error described above...

I am very thankful for any hint, thanks in advance!