also check the permissions on any spam folder you have (ie if you keep spam can the MailScanner runs as write into that directory)<br clear="all"><div><br>-- <br>Martin Hepworth, CISSP<br>Oxford, UK</div><br>
<br><br><div class="gmail_quote">On 17 December 2012 11:24, Ove JK. Evensen <span dir="ltr"><<a href="mailto:Ove@itandnet.co.uk" target="_blank">Ove@itandnet.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Have not, will read about the –U switch and try that.<u></u><u></u></span></p><div class="im">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#8a3269">OVE JK. EVENSEN </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5e5e5f">| CHIEF ENGINEER</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US"> <a href="mailto:mailscanner-bounces@lists.mailscanner.info" target="_blank">mailscanner-bounces@lists.mailscanner.info</a> [mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info" target="_blank">mailscanner-bounces@lists.mailscanner.info</a>]
<b>On Behalf Of </b>Joolee</span></p><div class="im"><br>
<b>Sent:</b> 17 December 2012 10:39<br>
<b>To:</b> MailScanner discussion<br>
<b>Subject:</b> Re: Mailscanner restarts after Spamassasin finds spam<u></u><u></u></div><p></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Are you running MailScanner with the -U switch?<u></u><u></u></p><div><div class="h5">
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On 17 December 2012 10:37, Ove JK. Evensen <<a href="mailto:Ove@itandnet.co.uk" target="_blank">Ove@itandnet.co.uk</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">Hi all<br>
<br>
I have to CentOS mashines running in MS Azure cloud that are running this as a spam filter/relay:<br>
<br>
CentOS release 6.2<br>
Perl version 5.10.1<br>
Postfix version 2.9.4<br>
MailScanner version 4.84.5<br>
ClamAV 0.97.6<br>
PHP Version = 5.3.3<br>
MySQL Version = 5.1.61<br>
MailWatch Version = 1.2.0<br>
<br>
The problem is that when SpamAssasin finds a spam it kills mailscanner.<br>
The Strange part it When I set debug = yes and debug spamassasin= yes in MailScanner.conf it does NOT kill mailscanner.<br>
So I have nothing to go on to try to fix this.<br>
<br>
Normal log entery:<br>
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)<br>
Dec 17 09:14:54 mta02-ian MailScanner[2082]: Spam Checks: Found 1 spam messages<br>
Dec 17 09:14:49 mta02-ian MailScanner[2082]: Virus and Content Scanning: Starting<br>
<br>
<br>
Email i get about the message that killed Mailscanner:<br>
Subject: test 2<br>
MessageID: E2DA912D839.A64D9<br>
Quarantine: /var/spool/MailScanner/quarantine/20121217/E2DA912D839.A64D9<br>
Report: MailScanner: Message attempted to kill MailScanner<br>
<br>
So any help in pointing me in the right direction to fix this would be greatly appreciated:<br>
<br>
Thank you all for taking time reading my email and happy XMAS to you all !<br>
<br>
<br>
OVE JK. EVENSEN | CHIEF ENGINEER<br>
<br>
<br>
<br>
Unit 1, Stratford Office Village, Romford Road, Stratford, E15 4EA<br>
TEL. <a href="tel:%2B44%20%280%2920%208503%201169" value="+442085031169" target="_blank">+44 (0)20 8503 1169</a> | MOB. <a href="tel:%2B44%20%280%297908%20994650" value="+447908994650" target="_blank">+44 (0)7908 994650</a> | WEB. <a href="http://www.itandnet.co.uk" target="_blank">www.itandnet.co.uk</a><br>
<span style="color:#888888"><br>
<br>
<br>
<span>--</span><br>
<span>MailScanner mailing list</span><br>
<span><a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a></span><br>
<span><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a></span><br>
<br>
<span>Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">
http://wiki.mailscanner.info/posting</a></span><br>
<br>
<span>Support MailScanner development - buy the book off the website!</span></span><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
<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" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
<br></blockquote></div><br>