Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1271180 > unrolled thread

Bug#1121193: dovecot-sieve: Regex extension ignored

Started byKamil Jonca <kjonca@poczta.onet.pl>
First post2025-11-22 16:10 +0100
Last post2025-11-22 21:20 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1121193: dovecot-sieve: Regex extension ignored Kamil Jonca <kjonca@poczta.onet.pl> - 2025-11-22 16:10 +0100
    Bug#1121193: dovecot-sieve: Regex extension ignored Noah Meyerhans <noahm@debian.org> - 2025-11-22 20:40 +0100
      Bug#1121193: dovecot-sieve: Regex extension ignored Noah Meyerhans <noahm@debian.org> - 2025-11-22 21:20 +0100

#1271180 — Bug#1121193: dovecot-sieve: Regex extension ignored

FromKamil Jonca <kjonca@poczta.onet.pl>
Date2025-11-22 16:10 +0100
SubjectBug#1121193: dovecot-sieve: Regex extension ignored
Message-ID<LTXpo-eVoU-17@gated-at.bofh.it>
Package: dovecot-sieve
Version: 1:2.4.2+dfsg1-1
Severity: important
X-Debbugs-Cc: kjonca@poczta.onet.pl

after upgrading to 1:2.4.2+dfsg1-1 by sieve script became unusable.
I got:
===========
sieve-filter: Debug: sieve: Pigeonhole version 2.4.2 (767418c3) initializing
sieve-filter: Debug: Loading modules from directory: /usr/lib/dovecot/modules/sieve
sieve-filter: Debug: Module loaded: /usr/lib/dovecot/modules/sieve/lib90_sieve_extprograms_plugin.so
sieve-filter: Debug: sieve: Sieve Extprograms plugin for Pigeonhole version 2.4.2 (767418c3) loaded
sieve-filter: Debug: sieve: storage _file: file: Using Sieve script path: /home/kjonca/.dovecot.sieve
sieve-filter: Debug: sieve: storage _file: file: script '.dovecot': Opened from '_file'
sieve-filter: Debug: sieve: storage _file: file: script '.dovecot': Opened script for reading
.dovecot: line 8: error: invalid regular expression 'from alfa.kjonca by alfa.kjonca with LMTP id' for regex match: Missing regular expression support.
.dovecot: line 75: error: invalid regular expression 'from [^[:space:]]+ by alfa(\.kjonca)? with local \(Exim 4\.[[:digit:]]+(_[[:digit:]]+)?\)' for regex match: Missing regular expression support.
[...a lot of errors about missing regex suppor ...]
===========
despite fact that first line in my scrip is:

====
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"]
===

after downgrading back to 1:2.4.1+dfsg1-9 script works as expected


-- 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-1
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-1
pn  dovecot-dev                    <none>
pn  dovecot-gssapi                 <none>
ii  dovecot-imapd                  1:2.4.2+dfsg1-1
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-1
pn  dovecot-sqlite                 <none>

-- no debconf information

[toc] | [next] | [standalone]


#1271215

FromNoah Meyerhans <noahm@debian.org>
Date2025-11-22 20:40 +0100
Message-ID<LU1CF-eY5y-9@gated-at.bofh.it>
In reply to#1271180
On Sat, Nov 22, 2025 at 04:02:43PM +0100, Kamil Jonca wrote:
> after upgrading to 1:2.4.2+dfsg1-1 by sieve script became unusable.
> I got:
> ===========
> sieve-filter: Debug: sieve: Pigeonhole version 2.4.2 (767418c3) initializing
> sieve-filter: Debug: Loading modules from directory: /usr/lib/dovecot/modules/sieve
> sieve-filter: Debug: Module loaded: /usr/lib/dovecot/modules/sieve/lib90_sieve_extprograms_plugin.so
> sieve-filter: Debug: sieve: Sieve Extprograms plugin for Pigeonhole version 2.4.2 (767418c3) loaded
> sieve-filter: Debug: sieve: storage _file: file: Using Sieve script path: /home/kjonca/.dovecot.sieve
> sieve-filter: Debug: sieve: storage _file: file: script '.dovecot': Opened from '_file'
> sieve-filter: Debug: sieve: storage _file: file: script '.dovecot': Opened script for reading
> .dovecot: line 8: error: invalid regular expression 'from alfa.kjonca by alfa.kjonca with LMTP id' for regex match: Missing regular expression support.
> .dovecot: line 75: error: invalid regular expression 'from [^[:space:]]+ by alfa(\.kjonca)? with local \(Exim 4\.[[:digit:]]+(_[[:digit:]]+)?\)' for regex match: Missing regular expression support.
> [...a lot of errors about missing regex suppor ...]
> ===========
> despite fact that first line in my scrip is:
> 
> ====
> 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"]
> ===
> 
> after downgrading back to 1:2.4.1+dfsg1-9 script works as expected

Ack. I neglected to add libpcre2-dev to build-deps for 2.4.2.  This will
be corrected in the next upload.

noah

[toc] | [prev] | [next] | [standalone]


#1271225

FromNoah Meyerhans <noahm@debian.org>
Date2025-11-22 21:20 +0100
Message-ID<LU2fn-eYAU-9@gated-at.bofh.it>
In reply to#1271215
Control: tags -1 + pending

> Ack. I neglected to add libpcre2-dev to build-deps for 2.4.2.  This will
> be corrected in the next upload.

Fixed with https://salsa.debian.org/debian/dovecot/-/commit/8d95d15e35567d285f73008a871afc6b6d7f45c1

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web