Questions tagged [sieve]

Sieve is a language for filtering email messages. It can be implemented in mail server or mail client.

Sieve is language that can be used to create filter script for email. It owes its creation to the CMU Cyrus Project, creators of Cyrus IMAP server.

The language was standardized in the RFC 3028 (obsolete version) and replaced by RFC 5228. Several RFCs also published to extends functionality of Sieve. The ManageSieve protocol (defined in RFC 5804) allows users to manage their Sieve scripts on a remote server.

Sieve can be implemented in mail server. Script will be executed during final delivery, when the message is moved to the user-accessible mailbox. Several examples of Server-Based Sieve are:

  • Dovecot (MDA with Pigeonhole project)
  • Exim v4 (MTA)
  • Perdition (proxy server supporting POP3, IMAP)

System administrator can use sieve to implement system wide filtering, for example: to move message to Spam Folder when its spam score exceeds threshold. Every user can be also write their own sieve script.

Sieve can be implemented in mail client too. Scrip will be executed when mail client is fetching/synchronizing email from the server. Several examples of Client-Based Sieve are:

  • Thunderbird desktop mail client (with ManageSieve extension)
  • Squirrelmail Webmail (with Avelsieve plugin)
  • Roundcube Webmail

References:

111 questions
-1
votes
1 answer

No subaddress :detail part in envelope test

I try to filter mails by subaddress :detail parts in sieve scripts. Goal is the usage of regex patterns as in this simple test case: if envelope :detail :regex "to" ["^test$"]{ …
Michael Ef
  • 1
  • 1
  • 5
-1
votes
2 answers

.dovecot: line 3: error: included personal script 'vacation' does not exist

I'm trying to test a more modular approach to using sieve scripts on my mail server. Previously I used .dovecot.sieve for everything but I now have conflicting requirements and I thought I'd test having a master script and including multiple…
-1
votes
1 answer

Unable to use Sieve to sort out Spam Mails to a Spam folder

I have configured a mailserver with dovecot + postfix on Debian. I can send and recieve emails. Also the server detects spam emails. Unfortunately, Sieve does not sort out Spam Mails to a Spam folder. Thats why I am here. Here are some configuration…
Felix S
  • 1
  • 1
-1
votes
1 answer

Forwarding emails to external domains - aliases vs mda sieve script?

There are 2 points in the flow of a incoming email where emails can be forwarded: As soon as aliases are expanded (setting the target email as alias target) As soon as mails are handed over to the mda (using the sieve redirect action) Which method…
Zulakis
  • 4,153
  • 14
  • 48
  • 76
-1
votes
1 answer

sieve in dovecot is not filtering spam message

In Centos 6.4 i use postfix with LDA Dovecot and webmail squiremail, amavis-new with spamassassin. Spam is marked with subject Spam. I want in my squirelmail to filter spam messages an move in to folder spam. I use sieve script…
mardon
  • 243
  • 1
  • 5
  • 17
-1
votes
1 answer

Getting permission denied lmtp/sieve error

I set up sieve for the first time on a Debian machine running postfix/dovecot/lmtp. It works, however I want to clear up an error I've been getting: lmtp(joeblow)<17980>: Error: sieve: binary save: failed to create temporary…
StevieD
  • 514
  • 8
  • 24
1 2 3 4 5 6 7
8