I just upgraded maildrop to 1.8 on my server and I'm having issues. I
originally had the FreeBSD port installed - but the 1.8 port won't
compile (the freebsd team is looking into it). So I decided to
upgrade by compiling source from a tarball. Easy enough.
The configure line I'm using is:
./configure --prefix=/usr/local --enable-syslog=1 --enable-use-flock=1
--with-etcdir=/usr/local/etc --enable-maildrop-uid=root
--enable-maildrop-gid=mail --enable-maildirquota
That's the *exact* configure line the port would be using.
As soon as I installed it I started getting delivery failures saying
that maildrop failed and it's deferring the message for later
delivery. Looking at the logs, this is what I have:
@400000004227999d3691d364 delivery 144: deferral:
/usr/local/bin/maildrop:_flock()_failed./
@400000004227999d36945fbc status: local 7/10 remote 0/20
@400000004227999e2c054f5c delivery 141: deferral:
DCC_->_check_failed:_cannot_open_/tmp/spamassassin.4233.kVtG2j.tmp:_No_such_file_or_directory_at_/usr/local/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/Util.pm_line_1048.//Filehandle_STDIN_reopened_as_LTMP_only_for_output_at_/usr/local/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/Locker/UnixNFSSafe.pm_line_71./Filehandle_STDIN_reopened_as_LTMP_only_for_output_at_/usr/local/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/Locker/UnixNFSSafe.pm_line_139.//usr/local/bin/maildrop:_flock()_failed./
In my mailog I get this:
Mar 3 16:06:44 fiend maildrop[41560]: flock() failed.
Not very descriptive, I know. :)
What I've got maildrop doing is passing everything through
spamassassin using a preline in my .qmail before it executes my own
filters. Pretty standard, I think.It's worked for a long while now
pre-upgrade.
I've checked if tmp is writable - it is. I've checked if I'm good on
disk space - totally fine. What else could be causing this?
Thank you so much for any help. This is driving me up the wall.