[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

procmail recipe (score)



I have been playing with procmail recipe especially with scoring.

I wonder if I can drop mail to different folder depending on scoring
result.  Any simple way?

I can create header with the score by filtering throgh

:0 HBfw
# start offset -99, so score of 100 reach positive for SPAM
* -99^0
# check content type
* 100^0   ^X-Advertisement
....  Many signes of SPAM (Eliminated)
| formail -i "X-SPAM: $= CONTENT" -i "Lines: $="

:0
* ^X-SPAM
Xspam/

:)
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://qref.sourceforge.net/quick/      +



Reply to: