<html>
<body>
At 15:20 25/02/2003, you wrote:<br>
<blockquote type=cite class=cite cite><font face="arial" size=2>I have
made a couple observations regarding spam settings in the
MailsCanner.conf file (v4.12-2), could someone offer a second opinion on
the following:</font><br>
&nbsp;<br>
<font face="arial" size=2><b>1.</b> </font><br>
<font face="arial" size=2>If &quot;Spam Checks = no&quot; and &quot;Use
SpamAssassin = yes&quot; then SpamAssassin is not run at all, and no spam
processing is done, the documentation is not very clear on this
point.</font></blockquote><br>
Correct. The &quot;Spam Checks&quot; parameter covers *all* the spam
checking.<br><br>
<blockquote type=cite class=cite cite><font face="arial" size=2>However
if &quot;Spam Checks = yes&quot; and &quot;Use SpamAssassin = yes&quot;
then SpamAssassin is run, but MailScanner also does internal spam
checking,</font></blockquote><br>
correct.<br><br>
<blockquote type=cite class=cite cite><font face="arial" size=2>&nbsp;and
cannot be disabled simply by setting &quot;Spam List = &quot; and
&quot;Spam Domain List = &quot; or by commenting both
out.</font></blockquote><br>
Don't comment them out, set them to nothing and that should disable the
MailScanner RBL checks.<br><br>
<blockquote type=cite class=cite cite><font face="arial" size=2><b>2.</b></font><br>
<font face="arial" size=2>Maybe this is a bug, but I'm not sure at this
point; with SA 2.50 installed; if you set</font><br>
<font face="arial" size=2>&nbsp;&nbsp;&nbsp; &quot;Spam Checks =
yes&quot;,</font><br>
<font face="arial" size=2>&nbsp;&nbsp;&nbsp; &quot;Spam List = &quot;,
</font><br>
<font face="arial" size=2>&nbsp;&nbsp;&nbsp; &quot;Spam Domain List =
&quot;,</font><br>
<font face="arial" size=2>&nbsp;&nbsp;&nbsp; &quot;Use SpamAssassin =
yes&quot; </font><br>
&nbsp;<br>
<font face="arial" size=2>then the following appears in the log
file</font><br>
&nbsp;<br>
<font face="arial" size=2>Feb 24 15:34:25 mailhost MailScanner[5658]:
SpamAssassin timed out and was killed, consecutive failure 1 of 20 <br>
Feb 24 15:34:36 mailhost MailScanner[5658]: RBL Check&nbsp; timed out and
was killed, consecutive failure 1 of 7 <br>
Feb 24 15:34:52 mailhost MailScanner[5658]: SpamAssassin timed out and
was killed, consecutive failure 2 of 20 <br>
Feb 24 15:35:03 mailhost MailScanner[5658]: RBL Check&nbsp; timed out and
was killed, consecutive failure 2 of 7 <br>
Feb 24 15:35:19 mailhost MailScanner[5658]: SpamAssassin timed out and
was killed, consecutive failure 3 of 20</font><br>
&nbsp;<br>
<font face="arial" size=2>It would apear that if you change to &quot;Use
SpamAssassin = no&quot; , then the RBL Check timed out messages DO NOT
appear in the syslog output. So maybe this is a bug or some kind of
dependency on spam assassin that causes this??? But if SA times out this
should not cause MailScanners internal RBL to timeout as well.
</font></blockquote><br>
Agreed, unfortunately I have had difficulty reproducing this fault
reliably, which makes it hard to track down. If your SpamAssassin calls
are always timing out, then there is definitely something wrong
anyway.<br><br>
<blockquote type=cite class=cite cite><font face="arial" size=2>This
dependency on SA is why I suspect you cannot disable internal spam
checking with MailScanner even if you set the Spam List check to null. I
would much rather use SpamAssassin and not use MailScanner for spam
checking at all. </font></blockquote><br>
Setting the &quot;Spam List =&quot; and &quot;Spam Domain List =&quot;
should achieve that.<br><br>
<blockquote type=cite class=cite cite><font face="arial" size=2><b>Using
the buggy SA 2.50, no emails were getting through the system at all, and
the CPU utilization would jump to 100%. Since then I have uninstalled SA
2.50 and installed SA 2.44 and everything is back to normal.</b>
</font></blockquote><br>
Please see earlier discussion late yesterday, or the &quot;News&quot;
section on
<a href="http://www.mailscanner.info/" eudora="autourl">www.mailscanner.info</a>
for the solution to this.<br><br>
<blockquote type=cite class=cite cite><font face="arial" size=2><b>System configuration is as follows:</b></font><br>
&nbsp;<br>
<font face="arial" size=2>Perl 5.6.1 (all SA required modules up to date as per CPAN)</font><br>
<font face="arial" size=2>Redhat Linux 7.2 (with all RHN updates as of 2002-02-25)</font><br>
<font face="arial" size=2>SA 2.44</font><br>
<font face="arial" size=2>MailScanner 4.12-2</font><br>
&nbsp;<br>
<font face="arial" size=2><b>Here are the changes to my MailScanner.conf file, you should be able to read the output from diff. </b></font><br>
&nbsp;<br>
<font face="arial" size=2># diff MailScanner.conf MailScanner.conf.orig<br>
197c197<br>
&lt; Virus Scanners = sophos<br>
---<br>
&gt; Virus Scanners = none<br>
603c603<br>
&lt; Send Notices = no<br>
---<br>
&gt; Send Notices = yes<br>
655c655<br>
&lt; # Spam List = ORDB-RBL spamcop.net<br>
---<br>
&gt; Spam List = ORDB-RBL Infinite-Monkeys # MAPS-RBL+ costs money (except .ac.uk)<br>
661c661<br>
&lt; # Spam Domain List = <br>
---<br>
&gt; #Spam Domain List =<br>
665c665<br>
&lt; Spam List Timeout = 60<br>
---<br>
&gt; Spam List Timeout = 10<br>
672c672<br>
&lt; Max Spam List Timeouts = 5<br>
---<br>
&gt; Max Spam List Timeouts = 7<br>
694c694<br>
&lt; Use SpamAssassin = yes<br>
---<br>
&gt; Use SpamAssassin = no<br>
706c706<br>
&lt; Required SpamAssassin Score = 8<br>
---<br>
&gt; Required SpamAssassin Score = 5<br>
727c727<br>
&lt; SpamAssassin Timeout = 60<br>
---<br>
&gt; SpamAssassin Timeout = 30<br>
733c733<br>
&lt; Max SpamAssassin Timeouts = 10<br>
---<br>
&gt; Max SpamAssassin Timeouts = 20<br>
745c745<br>
&lt; Always Include SpamAssassin Report = yes<br>
---<br>
&gt; Always Include SpamAssassin Report = no<br>
825c825<br>
&lt; Log Spam = yes<br>
---<br>
&gt; Log Spam = no</font><br>
&nbsp;<br>
&nbsp;<br>
<font face="arial" size=2><b>Here are the changes to my spam.assassin.prefs.conf file, again using diff output.</b></font><br>
<font face="arial" size=2>115c115<br>
&lt; score RCVD_IN_BL_SPAMCOP_NET&nbsp;&nbsp;&nbsp; 4<br>
---<br>
&gt; #score RCVD_IN_BL_SPAMCOP_NET&nbsp;&nbsp;&nbsp; 4</font><br>
&nbsp;</blockquote></body>
<br>
<div>-- </div>
<div>Julian Field</div>
<div><a href="http://www.mailscanner.info/" EUDORA=AUTOURL>www.MailScanner.info</a></div>
MailScanner thanks transtec Computers for their support
</html>