<div dir="ltr"><div>i'm trying to enable sieve on my dovecot installation, but it seems i'm missing something. <br>Managesieve is ok, i can mange script, but they have no effect at all<br>i've got no error in logs, but no filter is applied<br><br></div>here is my dovecot conf : <br><div><div><br><br># 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf<br># Pigeonhole version 0.4.16 (fed8554)<br># OS: Linux 4.9.0-4-amd64 x86_64 Debian 9.3 ext4<br>dict {<br>  quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext<br>}<br>hostname = <a href="http://onjase.org">onjase.org</a><br>mail_location = maildir:/srv/vmail/%d/%n:INDEX=/srv/vmail/%d/%n/indexes<br>managesieve_notify_capability = mailto<br>managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext<br>namespace inbox {<br>  inbox = yes<br>  location = <br>  mailbox Drafts {<br>    auto = subscribe<br>    special_use = \Drafts<br>  }<br>  mailbox Junk {<br>    auto = subscribe<br>    special_use = \Junk<br>  }<br>  mailbox Sent {<br>    auto = subscribe<br>    special_use = \Sent<br>  }<br>  mailbox "Sent Messages" {<br>    special_use = \Sent<br>  }<br>  mailbox Trash {<br>    auto = subscribe<br>    special_use = \Trash<br>  }<br>  prefix = <br>}<br>passdb {<br>  driver = pam<br>}<br>passdb {<br>  args = /etc/dovecot/dovecot-sql.conf<br>  driver = sql<br>}<br>plugin {<br>  antispam_allow_append_to_spam = no<br>  antispam_backend = pipe<br>  antispam_debug_target = syslog<br>  antispam_pipe_program = /usr/bin/sa-learn<br>  antispam_pipe_program_args = --no-sync<br>  antispam_pipe_program_notspam_arg = --ham<br>  antispam_pipe_program_spam_arg = --spam<br>  antispam_spam = Junk<br>  antispam_trash = Trash<br>  antispam_verbose_debug = 1<br>  quota = dict:%u::proxy::quota<br>  quota_rule = *:storage=10M:messages=1000<br>  quota_warning = storage=99%% quota-warning 99 %u<br>  quota_warning2 = storage=97%% quota-warning 97 %u<br>  quota_warning3 = storage=95%% quota-warning 95 %u<br>  quota_warning4 = storage=90%% quota-warning 90 %u<br>  quota_warning5 = storage=85%% quota-warning 85 %u<br>  quota_warning6 = storage=80%% quota-warning 80 %u<br>  quota_warning7 = storage=75%% quota-warning 75 %u<br>  sieve = ~/dovecot.sieve<br>  sieve_before = /srv/vmail/global_sieve/<br>  sieve_dir = ~/sieve<br>}<br>postmaster_address = <a href="mailto:postmaster@onjase.org">postmaster@onjase.org</a><br>protocols = " imap sieve pop3"<br>quota_full_tempfail = yes<br>service auth {<br>  unix_listener /var/spool/postfix/private/auth {<br>    mode = 0666<br>  }<br>}<br>service dict {<br>  unix_listener dict {<br>    mode = 0600<br>    user = vmail<br>  }<br>}<br>service imap-login {<br>  inet_listener imap {<br>    port = 143<br>  }<br>  inet_listener imaps {<br>    port = 993<br>    ssl = yes<br>  }<br>}<br>service lmtp {<br>  unix_listener lmtp {<br>    mode = 0666<br>  }<br>}<br>service quota-warning {<br>  executable = script /usr/local/bin/quota-warning.sh<br>  unix_listener quota-warning {<br>    user = vmail<br>  }<br>  user = vmail<br>}<br>ssl_cert = </etc/letsencrypt/live/mail.onjase.org-0001/fullchain.pem<br>ssl_key =  # hidden, use -P to show it<br>userdb {<br>  driver = passwd<br>}<br>userdb {<br>  args = /etc/dovecot/dovecot-sql.conf<br>  driver = sql<br>}<br>protocol lda {<br>  mail_plugins = " sieve quota"<br>}<br>protocol imap {<br>  mail_max_userip_connections = 10<br>  mail_plugins = " quota imap_quota antispam"<br>}<br><br></div></div></div>