Sieve - Filterdienst für Mails in Dovecot

Install (Choose your weapon)

yum install dovecot-pigeonhole

pacman -S dovecot-pigeonhole

Activation of Sieve over lmtp

/etc/dovecot/dovecot.conf

protocols = imap pop3 lmtp sieve

protocol lmtp {
  mail_fsync = optimized
  mail_plugins = $mail_plugins sieve
}

Configuration of Sieve

/etc/dovecot/dovecot.conf

service managesieve-login {
  inet_listener sieve {
    address = 0.0.0.0
    port = 4190
  }
  service_count = 0
  process_min_avail = 2
  vsz_limit = 64M
}

plugin {
  sieve = file:~/sieve;active=~/.sieve
}

Load configuration

systemctl restart dovecot

Sieve is now accessible over the IP-Address of the Dovecot Server an the Portnumber 4190.

Have fun !