Posts Tagged ‘email filtering’

Sieve Filter – 1. What is a sieve filter?

Monday, November 16th, 2009

A sieve filter is used to process email. It can move, mark, and/or delete the emails based on rules. A sieve filter can look in the various header fields in order to select mail and make decisions for action.

The options for setting up a sieve filter are listed below, taken from the Horde 3.2-imp ‘create filter’ screen:

——–

FROM HORDE

For an incoming message that matches:

To
+Address
Subject
Sender
From
Cc
Bcc
List-ID
Received
Resent-from
Resent To
Return-Path
Size
X-Envelope-To
X-List
X-Mailer
X-MailingList
X-ML-Name’ (I’m not sure if the single quote is a typo or not, but it’s in the list)
X-MSMail-Priority
X-Original-To
X-Spam-BayesResult
X-Spam-Discard
X-Spam-Flag
X-Spam-Integer1-Score
X-Spam-Integer2-Score
X-Spam-Junkmail
X-Spam-Level
X-Spam-Report
X-Spam-Status
X-Priority
Body
Self-Defined Header:

Do this:

Deliver into my INBOX:
Deliver to folder
Delete message completely
Redirect to
Deliver into my INBOX and redirect to
Deliver into my INBOX and copy to

Mark message as:

Seen/unseen (read/unread)
Important
Answered
Deleted

——–

I personally find sieve filters weak as far as options and flexibility are concerned, but don’t know of any other server-side options. ┬áThe only other automatic way to ┬áhandle email are client ‘rules’ which run when the client runs (Thunderbird, Opera, Outlook, etc.).