Sieve E-Mail Filtering Like a boss

Some E-Mail clients support local mail filtering, which is fine as long as this client is the only one you use. But when you access your mail from different clients, like mobile or webmail, you need to filter mails on the server. This is especially useful when you receive a lot of notification mails from services like Jira, Github or monitoring systems.

The following recipes require a server with Sieve capabilities, which are available on most modern IMAP servers like Dovecot or Cyrus.

Sieve scripts are usually uploaded using the manageSieve protocol, but this depends on the system you’re using and is out of the scope of this article. Please ask your friendly system operator how to store Sieve scripts on your mail server.

Here are some Sieve filter snippets that allow you to handle a huge amount of email traffic.

[Read More]