<br><br><div class="gmail_quote">2009/9/8 Scott Silva <span dir="ltr">&lt;<a href="mailto:ssilva@sgvwater.com">ssilva@sgvwater.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
on 9-8-2009 1:14 PM Michael Masse spake the following:<br>
<div class="im">&gt; I&#39;m trying to move RBL checks to the MTA level, but I can&#39;t seem to get MailScanner/spamassassin to stop checking RBL&#39;s.<br>
&gt;<br>
&gt; In MailScanner.conf I&#39;ve removed the entries from &quot;spam list = &quot;<br>
&gt;<br>
&gt; In spam.assasssin.prefs.conf I&#39;ve uncommented the &quot;skip_rbl_checks 1&quot; line<br>
&gt;<br>
&gt; I&#39;ve restarted MailScanner<br>
&gt;<br>
&gt; and I&#39;m still getting tons of email being tagged by either MailScanner or spamassassin with a bunch of BL_SPAMCOP_NET and all sorts of URIBL hits.   The scores being assigned are different then anything in any MailScanner or Spamassassin config files that I can find.<br>

&gt;<br>
&gt; Here&#39;s a sample log line:<br>
&gt;<br>
&gt; Sep  8 15:06:34 mailgate1 MailScanner[2938]: Message n88JvaY4001810 from 189.65.225.20 (<a href="mailto:massimiliano.parri@accenture.com">massimiliano.parri@accenture.com</a>) to <a href="http://my.domain.com" target="_blank">my.domain.com</a>  is spam, SpamAssassin (cached, score=34.134, required 5, autolearn=spam, BAYES_99 3.50, BOTNET 5.00, DCC_CHECK 2.17, HELO_EQ_JP 1.24, HOST_MISMATCH_COM 0.31, HTML_IMAGE_ONLY_04 2.04, HTML_MESSAGE 0.00, HTML_SHORT_LINK_IMG_1 0.00, MIME_HTML_ONLY 1.46, RCVD_IN_BL_SPAMCOP_NET 1.96, RCVD_IN_SORBS_WEB 0.62, RCVD_IN_XBL 3.03, RDNS_DYNAMIC 0.10, SARE_HTML_A_BODY 0.74, SARE_HTML_IMG_ONLY 1.67, URIBL_AB_SURBL 1.86, URIBL_BLACK 1.96, URIBL_JP_SURBL 1.50, URIBL_OB_SURBL 1.50, URIBL_SBL 1.50, URIBL_SC_SURBL 0.47, URIBL_WS_SURBL 1.50)<br>

&gt;<br>
&gt; I&#39;ve tried grepping the system for matches, but cannot find anything.    Where else do I need to tell MailScanner or Spamassassin to stop doing RBL checks?<br>
&gt;<br>
</div>In your spam.assassin.prefs.conf file, you add a score =0 line for the ones<br>
you don&#39;t want to check.<br>
<br>
Example;<br>
<br>
score RCVD_IN_BL_SPAMCOP_NET  0<br>
<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" 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>you&#39;ll see all these in the <a href="http://20_dnsbl_tests.cf">20_dnsbl_tests.cf</a> file in /var/lib/spamassassin/&lt;version&gt;/updates_spamassassin_org directory<br><br>the URI RBL&#39;s test within the message body and are very useful at getting stuff that other tests don&#39;t trap like image links and redirects. I&#39;d leave them in.<br>
<br clear="all"><br>-- <br>Martin Hepworth<br>Oxford, UK<br>