From ce2062db5f11d269c8bd05e3c17cedcd2abd6641 Mon Sep 17 00:00:00 2001 From: FreddleSpl0it <75116288+FreddleSpl0it@users.noreply.github.com> Date: Mon, 9 Nov 2026 02:52:08 +0100 Subject: [PATCH] [Dovecot] Disable the old Sieve notify extension, it sends as postmaster past the mail policies --- data/conf/dovecot/dovecot.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/conf/dovecot/dovecot.conf b/data/conf/dovecot/dovecot.conf index fbdb112da..274b79442 100644 --- a/data/conf/dovecot/dovecot.conf +++ b/data/conf/dovecot/dovecot.conf @@ -199,7 +199,8 @@ plugin { sieve_plugins = sieve_imapsieve sieve_extprograms sieve_vacation_send_from_recipient = yes sieve_redirect_envelope_from = recipient - # Notifications are sent with the address of the mailbox (not :from or postmaster), so mail policies apply + # Notifications are sent with the address of the mailbox (not :from or postmaster), so mail policies apply; + # the old notify extension always sends as postmaster and is on by default, so sieve_extensions disables it sieve_notify_mailto_envelope_from = recipient # From elsewhere to Spam folder imapsieve_mailbox1_name = Junk @@ -217,7 +218,7 @@ plugin { quota_warning2 = storage=80%% quota-warning 80 %u sieve_pipe_bin_dir = /usr/lib/dovecot/sieve sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute - sieve_extensions = +notify +imapflags +vacation-seconds +editheader + sieve_extensions = -notify +imapflags +vacation-seconds +editheader sieve_max_script_size = 1M sieve_max_redirects = 100 sieve_max_actions = 101