Kilian writes:
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...
But I think that is because this maildrop version is not compiled with
Maildrop has never been compiled with mysql support for many years, now.
It's not maildrop that needs to be compiled with mysql, but authdaemon.
MySQL-Support. So I tried to compile it myself (Version 2.0.2) with
the following:
Please don't make these kinds experiments. Read maildrop's INSTALL.
Pay attention to the NOTE: at the beginning of maildrop's INSTALL file.