Mailscanner restarts after Spamassasin finds spam

Ove JK. Evensen Ove at itandnet.co.uk
Mon Dec 17 11:32:51 GMT 2012


Thanks for this, now it works. And now time to read to find out why.


OVE JK. EVENSEN | CHIEF ENGINEER

From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Joolee
Sent: 17 December 2012 10:39
To: MailScanner discussion
Subject: Re: Mailscanner restarts after Spamassasin finds spam

Are you running MailScanner with the -U switch?

On 17 December 2012 10:37, Ove JK. Evensen <Ove at itandnet.co.uk<mailto:Ove at itandnet.co.uk>> wrote:
Hi all

I have to CentOS mashines running in MS Azure cloud that are running this as a spam filter/relay:

CentOS release 6.2
Perl version 5.10.1
Postfix version 2.9.4
MailScanner version 4.84.5
ClamAV 0.97.6
PHP Version = 5.3.3
MySQL Version = 5.1.61
MailWatch Version = 1.2.0

The problem is that when  SpamAssasin finds a spam it kills mailscanner.
The Strange part it When I set debug = yes and debug spamassasin= yes  in MailScanner.conf it does NOT kill mailscanner.
So I have nothing to go on to try to fix this.

Normal log entery:
Dec 17 09:14:54 mta02-ian MailScanner: Process did not exit cleanly, returned 255 with signal 0 (sometimes it returned 2 and not 255)
Dec 17 09:14:54 mta02-ian MailScanner[2082]: Spam Checks: Found 1 spam messages
Dec 17 09:14:49 mta02-ian MailScanner[2082]: Virus and Content Scanning: Starting


Email i get about the message that killed Mailscanner:
 Subject: test 2
 MessageID: E2DA912D839.A64D9
Quarantine: /var/spool/MailScanner/quarantine/20121217/E2DA912D839.A64D9
    Report: MailScanner: Message attempted to kill MailScanner

So any help in pointing me in the right direction to fix this would be greatly appreciated:

Thank you all for taking time reading my email and happy XMAS to you all !


OVE JK. EVENSEN | CHIEF ENGINEER



Unit 1, Stratford Office Village, Romford Road, Stratford, E15 4EA
TEL. +44 (0)20 8503 1169 | MOB. +44 (0)7908 994650 | WEB. www.itandnet.co.uk<http://www.itandnet.co.uk>



--
MailScanner mailing list
mailscanner at lists.mailscanner.info<mailto: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!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20121217/5610b18e/attachment.html 


More information about the MailScanner mailing list