What is jSieve?

jSieve is a Java implementation of the Sieve mail filtering language defined by RFC 5228 . jSieve is implemented as a language processor that can be plugged into any internet mail application to add Sieve support.

jSieve is a subproject of Apache JAMES . All who are interested in developing jSieve and JAMES will be warmly welcomed on the mailing lists .

jSieve consists of two products:

  1. Apache JSieve is a Sieve library coded in Java.
  2. Apache JSieve Utilities contains utility classes helpful when using Sieve but not considered sufficiently core to be included in the main library.

What is Sieve?

Sieve is an extensible mail filtering language. It's limited expressiveness (no loops or variables, no tests with side effects) allows user created scripts to be run safely on email servers. Sieve is targeted at the final delivery phase (where an incoming email is transferred to a user's mailbox).

Sieve scripts are composed of commands. Control commands manage the execution of the script. Test commands define side-effect free criteria. Action commands are mail operations to be performed.

Extensions Supported

Body Extension

RFC 5173 describes an extension command that tests the body of an email for one or more strings.

Sieve-In-Xml

is an Internet Draft. It describes a method for converting Sieve scripts to and from XML fragments. JSieve Utilities contains an experimental preview of a subset of this draft to allow early feedback. More...

News

May/2010 - jSieve-0.4 released

The Apache JAMES team is happy to announce the availability of Apache jSieve 0.5 See release notes for more details.

The Apache JAMES team is happy to announce the availability of Apache jSieve 0.4 See release notes for more details.

Jun/2008 - jSieve-0.3 released

The Apache JAMES team is happy to announce the availability of Apache jSieve 0.3 . This is the first modular release including a filtering mailet as well as many fixes and improvements. See the release notes for more details.

Aug/2008 - jSieve-0.2 released

The Apache JAMES team is happy to announce the availability of Apache jSieve 0.2 . This first public release is a major milestone for JSieve.