You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Filter mails in Outlook Express

If SpamAssassin only adds some mail headers (like X-Spam-Status) to tag spam and you don't want the subject to be mangled, Outlook Express cannot filter spam to a separate folder. A nice idea from Matt (http://article.gmane.org/gmane.mail.spam.spamassassin.general/52651) was to change the mail's priority to low, because this is something that OE can use for filtering. This can be done using procmail, as shown by Dan Kohn (http://article.gmane.org/gmane.mail.spam.spamassassin.general/52652):

: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" 

It could probably be a good idea, to remove any low priorities from all mails, before running SpamAssassin - althought people rarely send mails that they consider unimportant themselves (wink)

  • No labels