<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>