Package: dovecot-sieve
Version: 1:2.4.2+dfsg1-2
Severity: normal
X-Debbugs-Cc: [email protected]
I have quite complicated sieve script.
I found that last package version does not set variable
==============
require [ "comparator-i;ascii-numeric","relational"
,"vnd.dovecot.execute","vnd.dovecot.pipe","vnd.dovecot.filter","fileinto"
,"regex" ,"variables" ,"body" ,"copy" ,"date" ,"imap4flags"
,"vnd.dovecot.debug" ,"editheader","index","encoded-character"];
[....]
if header :regex "list-id" "<?([^<>]+)>?[[:space:]]*$"
{
set "KJ_list_id" "${1}";
debug_log "list: ${KJ_list_id}";
}
elsif header :regex "X-Mailing-List" "<?([^<>]+)?>.*"
{
set "KJ_list_id" "${1}";
debug_log "list: ${KJ_list_id}";
}
debug_log "list(uncond): ${KJ_list_id}";
[...]
then
=========
%sieve-filter -e -W -D -C -v ~/.dovecot.sieve z/1
[...]
info: filtering: [Fri, 28 Nov 2025 00:45:39 +1100; 10716 bytes] '[pfx] Re:
Reminder to drop TLSA RRs m...'.
sieve-filter: Debug: sieve: Started running script '_file/.dovecot'
info: DEBUG: list(uncond): .
[...]
=========
so variable is not set ...
This message with dovecot-sieve: 1:2.4.1+dfsg1-9
=============
info: filtering: [Fri, 28 Nov 2025 00:45:39 +1100; 10716 bytes] '[pfx] Re:
Reminder to drop TLSA RRs m...'.
sieve-filter: Debug: sieve: Started running script '_file/.dovecot'
info: DEBUG: list: postfix-users.postfix.org.
info: DEBUG: list(uncond): postfix-users.postfix.org.
=============
Some headers from message below:
Received: by chardros.imrryr.org (Postfix, from userid 1000)
id 3875E92B6C4; Fri, 28 Nov 2025 00:45:39 +1100 (AEDT)
Date: Fri, 28 Nov 2025 00:45:39 +1100
To: [email protected]
Message-ID: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <[email protected]>
Mail-Followup-To: <[email protected]>
Message-ID-Hash: VVOWEEZEJTMQFJZJ2LGFSEBFQLLOTW6R
X-Message-ID-Hash: VVOWEEZEJTMQFJZJ2LGFSEBFQLLOTW6R
X-MailFrom: [email protected]
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency;
loop; banned-address; member-moderation;
header-match-postfix-users.postfix.org-0; nonmember-moderation;
administrivia; implicit-dest; max-recipients; max-size; news-moderation;
no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9
Precedence: list
Subject: [pfx] Re: Reminder to drop TLSA RRs matching retired Let's Encrypt
issuer CAs
List-Id: "For discussions about using Postfix: questions, problem reports,
or feature requests. Open subscription, unmoderated,
posting by members only." <postfix-users.postfix.org>
List-Help: <mailto:[email protected]?subject=help>
List-Owner: <mailto:[email protected]>
List-Post: <mailto:[email protected]>
List-Subscribe: <mailto:[email protected]>
List-Unsubscribe: <mailto:[email protected]>
From: Viktor Dukhovni via Postfix-users <[email protected]>
Reply-To: [email protected],
Viktor Dukhovni <[email protected]>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
X-Authentication-Milter: Header added by Authentication Milter
X-ONET_PL-MDA-Version: 1.0.25
X-ONET_PL-MDA-Info: 047 24459 7891C12 0.000000
X-ONET_PL-MDA-From: [email protected]
X-ONET_PL-MDA-Spam: YES
-- Package-specific info:
-- System Information:
Debian Release: forky/sid
APT prefers oldoldstable
APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'stable'), (500,
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.43+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dovecot-sieve depends on:
ii dovecot-core 1:2.4.2+dfsg1-2
ii libc6 2.41-12
ii libldap2 2.6.10+dfsg-1
ii ucf 3.0052
dovecot-sieve recommends no packages.
dovecot-sieve suggests no packages.
Versions of packages dovecot-sieve is related to:
ii dovecot-core [dovecot-common] 1:2.4.2+dfsg1-2
pn dovecot-dev <none>
pn dovecot-gssapi <none>
ii dovecot-imapd 1:2.4.2+dfsg1-2
pn dovecot-ldap <none>
pn dovecot-lmtpd <none>
pn dovecot-managesieved <none>
pn dovecot-mysql <none>
pn dovecot-pgsql <none>
pn dovecot-pop3d <none>
ii dovecot-sieve 1:2.4.2+dfsg1-2
pn dovecot-sqlite <none>
-- no debconf information