Yesterday I was told that at a customer the vacation scripts don't work
anymore. Looking closer it seems the whole sieve-funtionality is missing
(eg. filtering mails into folders).
I am in the process of analysing, and don't have a clue yet.
Editing scripts via managesieved works (for example from roundcube).
The scripts are in the right place, afai understand.
I compare this with another setup where things work and don't see the
difference.
All this worked perfectly until maybe summer.
This is Debian 12.7 bookworm, the dovecot repo still points to bullseye.
# cat /etc/apt/sources.list.d/dovecot.list
deb [arch=amd64 signed-by=/usr/share/keyrings/dovecot.gpg]
https://repo.dovecot.org/ce-2.3-latest/debian/bullseye bullseye main
There is rspamd in place with postfix if that is somehow relevant.
The installation is on premise and has maybe 60-100 mailboxes in now 2
domains.
That was the largest change this year: add a so-called "alias domain" in
postfixadmin: mailbox@new.domain points to mailbox@old.domain
I assume the sieve scripts should simply be executed as before.
The basics of mailing etc work fine!
I'd appreciate any pointers.
trying to enable debug logs etc, for example I don't get anything into
"sieve_user_log"
---
# 2.3.21.1 (d492236fa0): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.21.1 (49005e73)
# OS: Linux 6.1.0-26-amd64 x86_64 Debian 12.7
# Hostname: mail2.my.tld
auth_cache_size = 4 M
default_process_limit = 300
listen = *
mail_home = /mnt/mailboxes/%d/%u
mail_location = maildir:~
mail_plugins = " notify quota acl"
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 imapflags imapsieve vnd.dovecot.imapsieve
namespace {
inbox = yes
location =
prefix =
separator = /
type = private
}
namespace {
location = maildir:/home/vmail/oeffentlich
prefix = Oeffentlich/
separator = /
subscriptions = yes
type = public
}
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
acl = vfile:/etc/dovecot/dovecot-acl:cache_secs=300
acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes
imapsieve_mailbox1_before =
file:/etc/dovecot/sieve/global/learn-spam.sieve
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_name = Spam
imapsieve_mailbox2_before =
file:/etc/dovecot/sieve/global/learn-ham.sieve
imapsieve_mailbox2_causes = COPY
imapsieve_mailbox2_from = Spam
imapsieve_mailbox2_name = *
sieve = /home/vmail/%d/%u/sieve/.dovecot.sieve
sieve_before = /etc/dovecot/sieve/global/spam-global.sieve
sieve_dir = /home/vmail/%d/%u/sieve/scripts/
sieve_extensions = +imapflags
sieve_global_extensions = +vnd.dovecot.pipe
sieve_pipe_bin_dir = /usr/bin
sieve_plugins = sieve_imapsieve sieve_extprograms
sieve_trace_dir = /tmp/sieve_trace/
sieve_trace_level = commands
sieve_user_log = /home/vmail/%d/%u/sieve/sieve_user.log
}
protocols = imap sieve lmtp
service auth {
client_limit = 1200
unix_listener auth-client {
group = postfix
mode = 0660
user = postfix
}
unix_listener auth-userdb {
mode = 0777
}
user = root
}
service imap-login {
process_min_avail = 10
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0660
user = postfix
}
user = vmail
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
}
ssl = required
ssl_ca = </etc/letsencrypt/pfsense/cloud_imap_mail_smtp_LE_cert.ca
ssl_cert = </etc/letsencrypt/pfsense/cloud_imap_mail_smtp_LE_cert.fullchain
ssl_cipher_list =
ALL:HIGH:!SSLv2:!MEDIUM:!LOW:!EXP:!RC4:!MD5:!aNULL:@STRENGTH
ssl_key = # hidden, use -P to show it
ssl_key_password = # hidden, use -P to show it
userdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
protocol lmtp {
mail_debug = yes
mail_plugins = sieve
postmaster_address = l...@my.tld
}
protocol imap {
mail_max_userip_connections = 20
mail_plugins = " notify quota acl imap_sieve imap_acl"
}
protocol sieve {
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 ihave imapflags
}
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org