<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Random Hacks: Using Bogofilter with Spam Assassin</title>
    <link>http://www.randomhacks.net/articles/2002/09/23/using-bogofilter-with-spam-assassin</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Technology and Other Fun Stuff</description>
    <item>
      <title>Using Bogofilter with Spam Assassin</title>
      <description>    &lt;p&gt;For deadly-accurate spam filtering, combine a &lt;a href='/stories/2002/09/22/trainable-spam-filter-testing' title='How To Test a Trainable Spam Filter'&gt;well-trained bogofilter&lt;/a&gt; with
    &lt;a href='/stories/2002/08/06/spam-assassin-intro' title='SpamAssassin: An Decent Spam Filter'&gt;SpamAssassin&lt;/a&gt;.  Here's how.&lt;/p&gt;

    &lt;p&gt;Add the following lines to your procmailrc file, before you run
    SpamAssassin:&lt;/p&gt;

    &lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;&lt;notextile&gt;:0HB
* ? bogofilter
{
    :0fw
    | formail -I &amp;quot;X-Spam-Bogofilter: yes&amp;quot;
}&lt;/notextile&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

    &lt;p&gt;Add the following lines to your &lt;code&gt;/etc/spamassassin/local.cf&lt;/code&gt;
    file:&lt;/p&gt;

    &lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;&lt;notextile&gt;header    BOGOFILTER  X-Spam-Bogofilter =~ /yes/
describe  BOGOFILTER  Message has too many bogons.
score     BOGOFILTER  5.0&lt;/notextile&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

    &lt;p&gt;Presto!  This plugs almost all the holes in SpamAssassin's defense,
    and uses SpamAssassin's auto-whitelist (you've got it turned on,
    right?) to protect against false positives.&lt;/p&gt;</description>
      <pubDate>Mon, 23 Sep 2002 00:00:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:30034674-d766-41c5-a628-576181cbe661</guid>
      <author>Eric</author>
      <link>http://www.randomhacks.net/articles/2002/09/23/using-bogofilter-with-spam-assassin</link>
      <category>Spam</category>
      <trackback:ping>http://www.randomhacks.net/articles/trackback/35</trackback:ping>
    </item>
  </channel>
</rss>
