Re: How to incorporate Spamprobe in Maildrop?

Roy Lanek <lanek-tnsfOxNVUhtWk0Htik3J/[email protected]> Fri, 15 Jun 2007 23:57:58 +0700
Newsgroups gmane.mail.spam.spamprobe.general
Message-ID <20070615165758.GA1607@kayumanis>
> The part that works is:
> 
> SCORE=`/usr/bin/spamprobe -T score`
> if ( $SCORE =~ /SPAM/)
>   to $DEFAULT/.Trash/

My case:


SCORE=`/usr/bin/spamprobe -Hnox -M -X -c -8 receive`

if ($SCORE =~ /SPAM/)
{
    xfilter "reformail -I \"X-SpamProbe: $SCORE\""
    logfile $HOME/.maildrop/dont_care 
    cc $MAIL/.spam.unsanitized
    xfilter "$ANOMY/bin/sanitizer.pl $HOME/.anomyrc"
    logfile $HOME/.maildrop/spam.log

    to $MAIL/.spam.sanitized
}


I am using maildrop and spamprobe since years: 6-7-8-don't
remember. Sometimes one listens magic-new this, paranormal
that, and a third thing. Who knows. I have not been able
(and I have experimented at times, though with experience
I do bite the hook less quickly) to discover anything that
is better than maildrop and spamprobe. (I am not too sad,
nota bene, I LOVE them both very much.)

I receive around 150 emails a day. Spamprobe misses
perhaps one a week-ten days (nearly invariably false
negatives).

I use one directory, $MAIL/.spam.unsanitized, to inspect
emails that might have been been classed SPAM by mistake
(false positives)--which happens rarely.

In case of a false positive, I correct spamprobe by using
the *original* from the $MAIL/.spam.unsanitized directory.

And via the logfile $HOME/.maildrop/dont_care I can see
in, say, 99% of the cases, if I even need to waste my
time to do such an inspection.

The logfile $HOME/.maildrop/dont_care is rotated. And a
better [in my opinion] program than cron, uschedule,
purges both $MAIL/.spam.*sanitized directories at
intervals of a couple of hours.


Cheers,


/Roy Lanek (West Sumatra) 

-- 
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS       tak ada gading yang tak retak
SSSSS . s l a c k w a r e  SSSSSS   there are no ivory that is not cracked
SSSSS +------------ linux  SSSSSS     [nothing is perfect in this world]
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/