Tried using maildrop with postfix as described in the second part of [1], but it failed. strace showed me "connect(3, {sa_family=AF_FILE, path="/var/lib/courier/authdaemon/socket"...}, 110) = -1 ENOENT (No such file or directory)". Then I tried to copy another socket with name "socket", but it failed with "connect(3, {sa_family=AF_FILE, path="/var/lib/courier/authdaemon/socket"...}, 110) = -1 ECONNREFUSED (Connection refused)". I'm confused about this, what is wrong? As sockets can't be created as easy as pipes, I presume, there is more "wrong" than just a missing file... And that is not all! If I use emerge, I see "mail-filter/maildrop-2.2.0", but when I later run $ maildrop -v, I get this: "maildrop 2.1.0"! [1] http://www.postfix.org/MAILDROP_README.html Reproducible: Always Steps to Reproduce: 1.emerge mail-filter/maildrop-2.2.0 2.strace maildrop -d myusername 3.maildrop -v Actual Results: Postfix says: status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: No such file or directory /usr/bin/maildrop: Temporary authentication failure.) and status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Connection refused /usr/bin/maildrop: Temporary authentication failure. ) Also see the strace errors! Expected Results: Mail delivery as expected in [1]!
Indeed, things are not allright with that package -- these USE flags were used: mail-filter/maildrop-2.2.0 USE="gdbm mysql -authlib -berkdb -debug -fam -ldap -postgres", but anyway, I got /etc/init.d/courier-authlib along with all the further unneeded trouble with mysql. Looks like I'll install maildrop manually. Or I terribly misunderstand something?
Perhaps the ebuild author forgot to take this into account: " If the configure script detects that the Courier Authentication Library is installed, support for courier-authlib gets automatically compiled. Use the --disable-authlib option to manually disable courier-authlib support." as stated in maildrop INSTALL file? So, somehow there was that library installed, USE flag denied building support for it, but still it was built!
(In reply to comment #1) > mail-filter/maildrop-2.2.0 USE="gdbm mysql -authlib -berkdb -debug -fam -ldap > -postgres", If you set USE=mysql, you'll get courier-authlib.
Thanks, I didn't realize that. But is there any point to have mysql, but not authlib in the same time? I mean, maybe there is a useflag conflict in my situation. Also that about version differences seem a valid problem.
Fixed in mail-filter/maildrop-2.5.4.