Hello,
I’m trying to make vnd.dovecot.filter available both globally and for users
through sieve, but I haven’t had much luck getting things to work right. Sieve
scripts won’t validate and vnd.dovecot.filter never shows up in the managesieve
capability list. I’ve spent lots of time looking for where problems could be,
but I’m out of ideas…So I’m asking you guys.
In the protocol lmtp section, I’m defining mail_plugins = $mail_plugins sieve,
however I’ve tried it without $mail_plugins too…No luck that way either.
Any help/advice would be much appreciated. Thanks!
Cheers,
Josh
# 2.2.21 (5345f22): /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.12 (c1c0a23)
# OS: FreeBSD 10.2-RELEASE-p9 amd64
auth_mechanisms = plain login
auth_username_format = %n
mail_location = maildir:~/Maildir
mail_privileged_group = mail
managesieve_notify_capability = mailto
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
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
separator = /
}
passdb {
driver = pam
}
plugin {
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_extensions = +vnd.dovecot.filter
sieve_filter_bin_dir = /usr/local/libexec/dovecot/sieve-filter
sieve_global_extensions = +vnd.dovecot.filter
sieve_plugins = sieve_extprograms
}
protocols = imap pop3 lmtp sieve
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
}
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0666
user = postfix
}
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
}
ssl_cert = </usr/local/etc/ssl/crt/cert.pem
ssl_cipher_list = ALL:!LOW:!SSLv2:!SSLv3:!EXP:!aNULL
ssl_key = </usr/local/etc/ssl/key/key.pem
userdb {
driver = passwd
}
protocol lmtp {
mail_plugins = " sieve"
postmaster_address = [email protected]
}
protocol imap {
mail_max_userip_connections = 30
}