Comments on SIEVE Language for Mail Filtering Quick Guide

SIEVE Language for Mail Filtering Quick Guide SIEVE is a language created and used for mail filtering that broadens the filtering options generally provided by mail servers or Antispam/Antivirus applications. They work basically by comparing different keys using different comparators and comparison methods, against headers of a mail message. Based on the result of the comparison, you can apply different actions to the corresponding mail message, i.e. reject, discard, redirect, etc.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Prilly

So if you filter on header recive address example [email protected] and file into folder1

then you recive some emails on the address [email protected] that contains subject you filter on.

you creat a another filter script: if subject is = subject file into folder 2

so what of this script take precedens?

By: David

Great article.  It makes sieve a lot easier to understand.

You have a typo, though, in the "<if elsif else> structure".  It should be

       <if elseif else> structure

By: Fox

Hi,

is it possible to reject an email so that the sending server gets a 403 instead of sending an rejection email to the senders email address ?

~ Fox