Manage Sieve Scripts with KDE Kontact

KDE Kontact can manage server-side IMAP Filtering with Sieve scripts. Many IMAP Servers speak this language, and it is a handy way to get rid of Spam and sort your mailing lists’ mail into a folder.

In the menu of Kontact, select “Settings” (Einstellungen) and click on the menu entry “Manage Sieve Scripts” (Sieve Skripte verwalten). A small pop-up appears, where all fo your accounts tagged as capable of sieves in the account’s settings are checked for scripts. A dotted bullet signalizes an active script, an empty bullet shows an inactive script. Click on it to activate it.

You can also activate scripts with sieveshell from the cyrus21-admin package:

mfeilner@mfeilner-desktop:~$ sieveshell –user=mfeilner imap-server

connecting to imap-server

Please enter your password:

> list

defaultbc <- active script

vacation

> list

defaultbc

vacation <- active script

> activate defaultbc

> list

defaultbc <- active script

vacation

> quit

mfeilner@mfeilner-desktop:~$

Nice, isn’t it? If you like this, try to type: sieve://username@imapserver in Konqueror or Kate! And don’t forget to select Kate’s syntax highlighting!

By the way, on upload, KDE does a syntax check before storing the file. I’ve been using this for some years now, it just works.

Enjoy!

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: