Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Help with Procmail?



At 12:11 PM 5/31/2004, Scott Ehrlich wrote:
>I have discovered that the headers of legit emails contain a line:
>
>Status: R
>whereas spam contain:
>Status: (no value)
>
>What is the safest way to filter on a variable (Status) which has no
>value?
>
>I thought of:
>* ^Status:

Several way to do this. Here are some ideas.

:0:
* ^Status: $
mail/spam

OR

:0:
* ! ^Status: R
mail/spam

OR

:0:
* ^Status: R
mail/ham





-- 

I provide custom Linux business solutions in the Boston area.
mailto:bob(at)rsi.com, http://www.rsi.com/, 617.965.1700





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org