Betr.: MailScanner to crash several times
Ken Brady
ken_brady at byu.edu
Tue Sep 20 15:18:53 IST 2011
I had the same problem and had to disable the Sane Security Definitions in Clamav.
Maillog:
Quarantined message p7GF1Wuu024997 as it caused MailScanner to crash several times
MailScanner --debug
In Debugging mode, not forking...
Trying to setlogsock(unix)
Building a message batch to scan...
Have a batch of 30 messages.
Can't call method "CombineReports" on unblessed reference at /usr/lib/MailScanner/MailScanner/MessageBatch.pm line 736.
Messages log:
MailScanner: waiting for children to die: Process did not exit cleanly, returned 255 with signal 0
Clamav log:
/opt/mail/incoming/9458/p7BKf75l013289.header: Sanesecurity.Jurlbl.3982.UNOFFICIAL FOUND
The above errors would repeat for every message in the queue and quarantine them until I stopped MailScanner and Clamd services and waited 5 minutes. After that I could move all of the messages back into the queue and they would scan and process ok. After disabling Sane Security in Clamav the problem hasn't returned.
Before disabling Sane Security I tried updating MailScanner and Clamav, lowering child processes, searching for spaces in virus names in clamav.
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Jan Agermose
Sent: Tuesday, September 20, 2011 7:36 AM
To: 'MailScanner discussion'
Subject: RE: Betr.: MailScanner to crash several times
hi
there are a lot of the samme messages for each email that it tries to handle and gives up on. Nothing has been updated and it has been running for a long time since last reboot (now I dont know exacly but im guessing months since last reboot).
I tried lowering the child count to 4, having retry count = 6 and I even set virusscanner = none
still getting the error
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Arjan Melein
Sent: 20. september 2011 15:09
To: mailscanner at lists.mailscanner.info
Subject: Betr.: MailScanner to crash several times
>>> Op 20-9-2011 om 14:46 is door Jan Agermose <ja at conviator.com> geschreven:
> hi
> one of our mailscanners has started behaving very strange. its
> processing no emails anymore with succes only saying for each mail in
> the queue
>
> Sep 20 14:38:15 mx3 MailScanner[2282]: Warning: skipping message
> p8JHBZlF011310 as it has been attempted too many times Sep 20 14:38:15
> mx3 MailScanner[2282]: Quarantined message p8JHBZlF011310 as it caused
> MailScanner to crash several times Sep 20 14:38:15 mx3
> MailScanner[2282]: Saved entire message to
> /var/spool/MailScanner/quarantine/20110920/p8JHBZlF011310
>
> what might be the problem - what to look for?
>
> MailScanner --lint reports no problems
Are there no more messages then these 3 ?
I remember having something simular when there was a permission problem after an update. Or when you have the max retries at the same or a lower setting then the number of childs MS can spam, then the old age timer can grab valid e-mails.
-
Arjan
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list