[H-GEN] Sieve filters

Sarah Walters sarah at uow.edu.au
Wed Aug 20 18:46:09 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On 20 Aug 2003 Harry Phillips <harry at tux.com.au> wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
> 
> Does anyone have any experience using sieve filters? Any documentation? 
> any examples?

Anyone running cyrus-imapd will have sieve installed. Here is a really
basic example that does work, I used it while testing.

<code>
require "fileinto";

if header :contains "Subject" "testing123" {
        fileinto "INBOX.SPAM";
}
</code>

In my case, this is a .sieve file in my homedirectory.

More examples are here:

http://www.cyrusoft.com/sieve/#scripts

-- 
Mrs Sarah Walters
Systems Group
Information Technology Services
University of Wollongong
Phone: +61 2 4221 3775


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list