Run mailscanner in debug to get some clues as th what's going on please<br><br>Martin<br><br>On Tuesday, 20 September 2011, Jan Agermose <<a href="mailto:ja@conviator.com">ja@conviator.com</a>> wrote:<br>> hi<br>
><br>> now I changed the clamd config to only accept official signaturs - but before I also simply set mailscanners = none - should disable it all together. Nothing helps.<br>><br>><br>><br>> -----Original Message-----<br>
> From: <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a> [mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a>] On Behalf Of Ken Brady<br>
> Sent: 20. september 2011 16:19<br>> To: 'MailScanner discussion'<br>> Subject: RE: Betr.: MailScanner to crash several times<br>><br>> I had the same problem and had to disable the Sane Security Definitions in Clamav.<br>
><br>> Maillog:<br>> Quarantined message p7GF1Wuu024997 as it caused MailScanner to crash several times<br>><br>><br>> MailScanner --debug<br>> In Debugging mode, not forking...<br>> Trying to setlogsock(unix)<br>
> Building a message batch to scan...<br>> Have a batch of 30 messages.<br>> Can't call method "CombineReports" on unblessed reference at /usr/lib/MailScanner/MailScanner/MessageBatch.pm line 736.<br>
><br>> Messages log:<br>> MailScanner: waiting for children to die: Process did not exit cleanly, returned 255 with signal 0<br>><br>> Clamav log:<br>> /opt/mail/incoming/9458/p7BKf75l013289.header: Sanesecurity.Jurlbl.3982.UNOFFICIAL FOUND<br>
><br>> 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.<br>
><br>> Before disabling Sane Security I tried updating MailScanner and Clamav, lowering child processes, searching for spaces in virus names in clamav.<br>><br>><br>> -----Original Message-----<br>> From: <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a> [mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a>] On Behalf Of Jan Agermose<br>
> Sent: Tuesday, September 20, 2011 7:36 AM<br>> To: 'MailScanner discussion'<br>> Subject: RE: Betr.: MailScanner to crash several times<br>><br>> hi<br>><br>> 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).<br>
><br>> I tried lowering the child count to 4, having retry count = 6 and I even set virusscanner = none<br>><br>> still getting the error<br>><br>><br>><br>> -----Original Message-----<br>> From: <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a> [mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a>] On Behalf Of Arjan Melein<br>
> Sent: 20. september 2011 15:09<br>> To: <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>> Subject: Betr.: MailScanner to crash several times<br>><br>>>>> Op 20-9-2011 om 14:46 is door Jan Agermose <<a href="mailto:ja@conviator.com">ja@conviator.com</a>> geschreven:<br>
>> hi<br>>> one of our mailscanners has started behaving very strange. its<br>>> processing no emails anymore with succes only saying for each mail in<br>>> the queue<br>>><br>>> Sep 20 14:38:15 mx3 MailScanner[2282]: Warning: skipping message<br>
>> p8JHBZlF011310 as it has been attempted too many times Sep 20 14:38:15<br>>> mx3 MailScanner[2282]: Quarantined message p8JHBZlF011310 as it caused<br>>> MailScanner to crash several times Sep 20 14:38:15 mx3<br>
>> MailScanner[2282]: Saved entire message to<br>>> /var/spool/MailScanner/quarantine/20110920/p8JHBZlF011310<br>>><br>>> what might be the problem - what to look for?<br>>><br>>> MailScanner --lint reports no problems<br>
><br>><br>> Are there no more messages then these 3 ?<br>> 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.<br>
><br>> -<br>> Arjan<br>><br>> --<br>> MailScanner mailing list<br>> <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>> <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
><br>> Before posting, read <<a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a>>--<br>> MailScanner mailing list<br>> <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
> <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>><br>> Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a><br>
><br>> Support MailScanner development - buy the book off the website!<br>><br><br>-- <br>-- <br>Martin Hepworth<br>Oxford, UK<br>