Someone was kind enough to post my script on the wiki.  I updated it to
avoid false positives from messages that were sent as low priority.

http://wiki.apache.org/spamassassin/OeFilter

          - dan
--
Dan Kohn <mailto:[EMAIL PROTECTED]>
<http://www.dankohn.com/>  <tel:+1-650-327-2600>

-----Original Message-----
From: Dan Kohn 
Sent: Wednesday, July 07, 2004 23:49
To: 'Matt'; [EMAIL PROTECTED]
Subject: RE: Changing Priority of SPAM

Not a crazy idea.  SpamAssassin can't, but procmail and formail can do
what you want.  The following procmail script works:
 
:0fw: spamassassin.lock
* < 512000
| spamassassin

# Pipe likely spam through formail adding the three headers that
represent low priority

:0fw: formail.lock
* ^X-Spam-Level: \*\*\*\*\*
| formail -I "X-Priority: 5" -I "Priority: Non-Urgent" -I "Importance:
low" 


          - dan
--
Dan Kohn <mailto:[EMAIL PROTECTED]>
<http://www.dankohn.com/>  <tel:+1-650-327-2600>

-----Original Message-----
From: Matt [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 07, 2004 23:25
To: [EMAIL PROTECTED]
Subject: Changing Priority of SPAM

Is it possible with Spam Assassin to change the priority of all messages
that score over 5 to low priority?  I want to do that because Outlook
Express can filter based on priority but not other headers.  Some users
get
annoyed by changes to the subject line.  I am thinking that a change to
priority may go over better.

Matt


Reply via email to