SieveToMultiMailbox mailet is included in JAMES.
It is integrated with the message delivery spool and provides per-user
Sieve scripting using jSieve.
org.apache.jsieve.mail.MailAdapter is the interface API used
by jSieve to interact with a mail server.
The mail adapter wraps an email
and supplies information (required by the script) about the email. It is
responsible for accumulating
Actions during the parsing of a
script and for executing them once the parsing is complete.
Custom commands need to be registered with
ConfigurationManager before they can be used. This
may be done programmatically but the recommended method is by altering
org/apache/jsieve/comparatorsmap.properties resource files.
jSieve uses Ant.
describes appropriate targets.
ant runs the default target.
jSieve is a sub-project of Apache James. Please direct your comments and questions to the relevant James list.
To report issues, such as bugs, go to the jSieve Issue Tracker. As jSieve comes with a fairly extensive suite of jUnit Tests, it would be most helpful for bug reports to be accompanied by an illustrative jUnit test case.
SIEVE specifies that UTF-8
encoding is used for scripts. This format is an international standard and has wide
support but not all platforms use this encoding by default.
By default, JSieve expects that scripts are encoding using
Either set the encoding programmatically or ensure that the script is encoded using