Sieve Relational support in Archiveopteryx

The Relational extension provides the tests =, ≠, >, ≥, < and ≤ on the value and count of various message elements. Archiveopteryx supports it fully.

It it possible to compare dates:

if currentdate :value "le" "date" "2008-01-04" { vacation "Back in January 2008"; }

It is also possible to count some elements:

if address :is :all ["To","Cc"] "me@example.com" { # mail was addressed to me if address :count "ge" :comparator "i;ascii-numeric" ["To","Cc"] 1 ) { # and to someone else fileinto "inboxes/to-several"; } else { fileinto "inboxes/to-me-only"; } } else { # was not addressed to me fileinto "junk"; }

In case of questions, please write to info@aox.org.

Relevant links

About this page

Last modified: 2010-11-19
Location: aox.org/sieve/relational