How to incorporate Spamprobe in Maildrop?

Paul <[email protected]> Thu, 14 Jun 2007 21:58:08 +0200
Newsgroups gmane.mail.spam.spamprobe.general
Message-ID <[email protected]>
Hi all,

I know, I may be asking something that is in the docs, but the docs don't work fully for me.

I used Procmail, but I want to switch to Maildrop for maildelivery.
In Procmail, setting the X-Spamprobe header was simple.
I try the same with maildrop and it does not work. In the docs I see a thingy used called 'xfilter' but I can't locate that anywhere in my Mandriva 2006 software.

The part that works is:

SCORE=`/usr/bin/spamprobe -T score`
if ( $SCORE =~ /SPAM/)
  to $DEFAULT/.Trash/

$SCORE is set correctly and spam is moved away.
But any attempt to add a header, be it with formail or reformail, do not yield any result:

SCORE=`/usr/bin/spamprobe -T score`
reformail -I "X-SpamProbe: $SCORE"
if ( $SCORE =~ /SPAM/)
  to $DEFAULT/.Trash/

does not add a header.
It may be something really simple, but I don't see it. And if it all stands or falls with xfilter, can someone tell me where to get it (source okay, I can compile stuff).

Just hope this is a good place to ask.

Paul

-- 
Of course power tools and alcohol don't mix.
Everyone knows power tools aren't soluble in alcohol.
- Crazy Nigel

http://www.nlpagan.net
Running on Mandriva Linux 2006 and Saucony Grid Omni 5

-------------------------------------------------------------------------
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/