Quarantined message * as it caused MailScanner to crash several times - fixed?
richard at fastnet.co.uk
Thu Jul 18 12:20:43 IST 2013
I'm fairly sure this has nothing to do with mailscanner itself, but my MTA. When it happens my MTA doesn't seem to be running properly (or can't handle the emails).
I've changed some permissions on the incoming and outgoing (and slow) queue's now, according to the mailscanner sendmail configuration page. I'll report back if it happens again.
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Richard Mealing
Sent: 18 July 2013 10:30
To: 'MailScanner discussion (mailscanner at lists.mailscanner.info)'
Subject: Quarantined message * as it caused MailScanner to crash several times
I have searched for a while and I cannot find a solution to my problem. The only reference to this problem was when I reported it back in 2011.
I've been struggling along updating to the latest mailscanner and FreeBSD versions but this problem keeps hitting all of my servers once and a while.
Basically I get a log entry similar to this -
Jul 17 22:44:40 mailfilter6 sm-mta-in: r6HLicbY008204: to=<info at somedomain.com<mailto:info at somedomain.com>>, delay=00:00:01, mailer=esmtp, pri=63196, stat=queued
Jul 17 22:49:53 mailfilter6 MailScanner: Making attempt 2 at processing message r6HLicbY008204
Jul 17 22:52:39 mailfilter6 MailScanner: Making attempt 3 at processing message r6HLicbY008204
Jul 17 22:55:07 mailfilter6 MailScanner: Making attempt 4 at processing message r6HLicbY008204
Jul 17 22:57:58 mailfilter6 MailScanner: Making attempt 5 at processing message r6HLicbY008204
Jul 17 23:00:48 mailfilter6 MailScanner: Making attempt 6 at processing message r6HLicbY008204
Jul 17 23:00:53 mailfilter6 MailScanner: Warning: skipping message r6HLicbY008204 as it has been attempted too many times
Jul 17 23:00:53 mailfilter6 MailScanner: Quarantined message r6HLicbY008204 as it caused MailScanner to crash several times
Jul 17 23:00:53 mailfilter6 MailScanner: Saved entire message to /var/spool/MailScanner/quarantine/20130717/r6HLicbY008204
It then fails on every subsequent message. To resolve I have to turn off the server and remove all the emails in the queue. If I pass the emails over to another server, say around 6000 emails, that server then has the exact same problem.
I've debugged mailscanner and spamassassin, I don't see any problems with SA, but mailscanner I get the following, still -
Can't call method "CombineReports" on unblessed reference at /usr/local/lib/MailScanner/MailScanner/MessageBatch.pm line 736.
Can anyone help me with this problem? I am using the -U flag, but this doesn't make any odds to the problem.
#!/usr/bin/perl -U -I/usr/local/lib/MailScanner
When I debug mailscanner I move the first problematic message to it's incoming queue and run the debug (I stop mailscanner before this so it's not running as a daemon) and I get no problems with the debug, but when I run it with over 6000 emails in the queue it comes up with the above debug message. I imagine this is a problem with timeout or such, but I'm not sure why it stops processing messages in the first place.
Does anyone have any ideas what I can do to fix this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MailScanner