Tutorial/documentation of Sieve support in Emacs


simon@josefsson.org

This documentation is mostly in the form of screenshots. Lynx users lose.

Installing it

First, install emacs sieve by placing the files in a directory and putting something like this in your .emacs:

(setq load-path (cons (expand-file-name "~/lisp/sieve") load-path))
(require 'sieve-mode)
(setq auto-mode-alist (cons '("\\.siv\\'" . sieve-mode) auto-mode-alist))

How to invoke it

Naming server to use (after this you'll be prompted for username and password)

Server overview (no scripts right now, I press RET to create one)

Editing a script (the sieve package inserts a template)

Adding `keep' to make it a valid sieve script (which causes it to be mostly harmless as well)

Pressing C-c C-l causes the script to uploaded (after this screen I switch back to the *sieve* buffer)

Whoa, a new script arrived on the server. How surprising.

Make it the active mail filter used by pressing `m' on the `template.siv' script

That's it

Remember that this is version 0.0. You should be lucky too arrive here with your emacs still functioning.


simon@josefsson.org