managesieve uploads Sieve scripts using the ManageSieve (RFC 5804) protocol. The module uses the same username/password for authentication while uploading all scripts, and the name of the script (without domain) for authorization.
The module supports Login, Cram-MD5 and Digest-MD5 authentication mechanisms with the gsasl library. The installed scripts are activated.
Configuation
The managesieve module is adjusted within the [managesieve] section of the configuration file.
host
port
user
service
password
realm
Notes for using managesieve module with cyrus' timsieved.
Module managesieve is succesfully tested with cyrus' timsieved.
The genrated scripts can get very big, so adjust appropriately sieve_maxscriptsize in imapd.conf.
To upload the scripts for a mailing list, a mailbox called as the mailing list must exist. Otherwise the authorization does not succeed. Patch cyrus' timsieved's parser.c. Find the function cmd_authenticate
and ignore the result of calling mboxlist_detail
(approx. line 716, put in comment ret = FALSE; goto cleanup;
.
Limitations: No support for TLS, Kerberos; No script deletion