Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: Spam filter my mbox

by toadi (Chaplain)
on Aug 31, 2004 at 15:19 UTC ( #387223=note: print w/replies, xml ) Need Help??

in reply to Re: Spam filter my mbox
in thread Spam filter my mbox

Like I said they are missed by my spamfilter, so they are not marked. But I found anther solution. Open the mbox in thunderbird and sort them :)

My opinions may have changed,
but not the fact that I am right

Replies are listed 'Best First'.
Re^3: Spam filter my mbox
by bronto (Priest) on Aug 31, 2004 at 16:35 UTC

    Once you select what is spam and what's not, and you have two new mboxes, you'd better off doing a tour on them with sa-learn from the SpamAssassin distribution. You'll see that your spamassassin will have far less false positives

    From the sa-learn man page:

    NAME sa-learn - train SpamAssassin's Bayesian classifier SYNOPSIS sa-learn [options] [file]... [...] Options: --ham Learn messages as ham (non-s +pam) --spam Learn messages as spam [...] --mbox Input sources are in mbox fo +rmat --showdots Show progress using dots --no-rebuild Skip building databases afte +r scan [...] DESCRIPTION Given a typical selection of your incoming mail classified as spam or ham (non-spam), this tool will feed each mail to SpamAssassin, allowing it to 'learn' what signs are likely to mean spam, and which are likely to mean ham. Simply run this command once for each of your mail fold­ ers, and it will ''learn'' from the mail therein. [...] SpamAssassin remembers which mail messages it's learnt already, and will not re-learn those messages again, unless you use the --forget option. Messages learnt as spam will have SpamAssassin markup removed, on the fly.


    The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
    --John M. Dlugosz
      Way aheaf of you. After 'manually' split the SPAM from regular mail, I released sa-learn off course.
      Don't want this to happen a second time.

      My opinions may have changed,
      but not the fact that I am right

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://387223]
and a log crumbles through the grate...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2018-06-24 23:29 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.