Duplicate messages/Unlinking failed

Daniel Kleinsinger danielk at avalonpub.com
Mon Apr 17 17:14:42 IST 2006


I received a duplicate message from my MailScanner box today.  There are 
no local users, the server is setup to redeliver to the mailbox servers 
with mailertable.  The second copy had no body, just headers.  In the 
mail log on the machine I found a bunch of error messages when searching 
for the message id.  The complete error messages are pasted below (some 
delivery info obfuscated).  There are many occurrences of this error 
message in my mail logs, going back about 4 weeks.  It's possible the 
error started when I upgraded to Sendmail 8.13.6 for that security fix, 
the timing seems right.

I'm running the above sendmail with MailScanner 4.51.6 and perl 5.8.0 on 
RH8.  When I did the upgrade I changed the "Lock Type" from flock to 
posix as recommended, but it seems like I'm having some type of locking 
problem.  Anyone have any advice?  I've also pasted the output of 
MailScanner -v below.

Thanks,
Daniel

Mail Log:
Apr 17 08:37:05 nts-2 sendmail[20944]: k3HFb00K020944: 
from=<from at sender.com>, size=3546, class=0, nrcpts=1, 
msgid=<000701c66234$97724e30$2000a8c0 at sender.com>, proto=ESMTP, 
daemon=MTA, relay=eth0.a.lds.sonic.net [208.201.249.231]
Apr 17 08:37:05 nts-2 sendmail[20944]: k3HFb00K020944: 
to=<to at recipient.com>, delay=00:00:00, mailer=smtp, pri=33546, stat=queued
Apr 17 08:37:11 nts-2 MailScanner[12477]: Logging message k3HFb00K020944 
to SQL
Apr 17 08:37:11 nts-2 MailScanner[12517]: k3HFb00K020944: Logged to 
MailWatch SQL
Apr 17 08:37:11 nts-2 sendmail[20969]: k3HFb00K020944: 
to=<to at recipient.com>, delay=00:00:06, xdelay=00:00:00, mailer=smtp, 
pri=123546, relay=[IPADDRESS] [IPADDRESS], dsn=2.0.0, stat=Sent 
(server.recipient.com: Message accepted for delivery)
Apr 17 08:37:17 nts-2 MailScanner[12391]: Unlinking 
/var/spool/mqueue.in/qfk3HFb00K020944 failed: No such file or directory
Apr 17 08:37:17 nts-2 MailScanner[12391]: Unlinking 
/var/spool/mqueue.in/dfk3HFb00K020944 failed: No such file or directory
Apr 17 08:37:17 nts-2 MailScanner[12391]: Unlinking 
/var/spool/mqueue.in/qfk3HFb00K020944 failed: No such file or directory
Apr 17 08:37:17 nts-2 MailScanner[12391]: Unlinking 
/var/spool/mqueue.in/dfk3HFb00K020944 failed: No such file or directory
Apr 17 08:37:17 nts-2 MailScanner[12391]: Logging message k3HFb00K020944 
to SQL
Apr 17 08:37:17 nts-2 MailScanner[12517]: k3HFb00K020944: Logged to 
MailWatch SQL
Apr 17 08:37:17 nts-2 sendmail[20985]: k3HFb00K020944: SYSERR(root): 
readqf: cannot open ./dfk3HFb00K020944: No such file or directory
Apr 17 08:37:17 nts-2 sendmail[20985]: k3HFb00K020944: 
to=<to at recipient.com>, delay=00:00:12, xdelay=00:00:00, mailer=smtp, 
pri=123546, relay=[IPADDRESS] [IPADDRESS], dsn=2.0.0, stat=Sent 
(server.recipient.com: Message accepted for delivery)

MailScanner -v:
Running on
Linux nts-2.avalonpub.com 2.4.20-28.8 #1 Thu Dec 18 12:53:39 EST 2003 
i686 i686 i386 GNU/Linux
This is Red Hat Linux release 8.0 (Psyche)
This is Perl version 5.008000 (5.8.0)

This is MailScanner version 4.51.6
Module versions are:
1.00    AnyDBM_File
1.14    Archive::Zip
1.01    Carp
1.119   Convert::BinHex
1.00    DirHandle
1.04    Fcntl
2.71    File::Basename
2.05    File::Copy
2.01    FileHandle
1.05    File::Path
0.13    File::Temp
1.32    HTML::Entities
3.48    HTML::Parser
2.35    HTML::TokeParser
1.20    IO
1.09    IO::File
1.122   IO::Pipe
1.71    Mail::Header
3.05    MIME::Base64
5.419   MIME::Decoder
5.419   MIME::Decoder::UU
5.419   MIME::Head
5.419   MIME::Parser
3.03    MIME::QuotedPrint
5.419   MIME::Tools
0.10    Net::CIDR
1.05    POSIX
1.75    Socket
0.03    Sys::Syslog
1.86    Time::HiRes
1.02    Time::localtime

Optional module versions are:
0.17    Convert::TNEF
1.811   DB_File
missing DBD::SQLite
1.30    DBI
1.00    Digest
1.01    Digest::HMAC
2.36    Digest::MD5
2.10    Digest::SHA1
0.44    Inline
0.13    Mail::ClamAV
3.001001        Mail::SpamAssassin
1.997   Mail::SPF::Query
0.15    Net::CIDR::Lite
0.53    Net::DNS
0.32    Net::LDAP
1.94    Parse::RecDescent
0.20    SAVI
1.2     Sys::Hostname::Long
2.26    Test::Harness
0.47    Test::Simple
1.89    Text::Balanced
1.35    URI


More information about the MailScanner mailing list