Cyrus (2), configure (1), TLS (1), email (1), client (1), open source (1), server (1), KMail (1), standard (1), authentication (1), Sieve (1),
Cyrus, IMAP (2)
url: https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2642
type: none, format: none
url: http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/t1.html
type: project, format: page
This "article" is about how to configure Sieve. Sieve is a simple filter for email that's used on the client or server side. It's useful to configure it on the server side if you connect from multiple mail user agents (MUAs).
Cyrus IMAP comes with Sieve enabled by default, though distributors may disable it. Start by uncommenting the line in cyrus.conf:
sieve cmd="timsieved" listen="192.168.0.1:sieve" prefork=0 maxchild=100 Restart cyrus. Test that it works by running this on another machine telnet 192.168.0.1 sieve You should get something like this: "IMPLEMENTATION" "Cyrus timsieved v2.1.18-IPv6-Debian-2.1.18-1+sarge2"
Two tutorials to help you write sieve scripts are Wikipedia's page and FastMailWiki's BasicSieve.
Kmail can upload your script to your IMAP server. First let Kmail know that your server supports it by modifying your IMAP account and setting "Server supports Sieve". You may need to open port 2000 of your firewall.
Then upload your script through the Settings / Manage Sieve Scripts dialog box. You should get a successful response. Finally make sure that your script is activated; make sure the circle "radio button" is filled. If Kmail bitches at you about activating scripts, you can use sieveshell to disactivate all scripts and active one of them.
If i missed any details, please let me know.