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


Groups > linux.debian.bugs.dist > #1271215

Bug#1121193: dovecot-sieve: Regex extension ignored

From Noah Meyerhans <noahm@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1121193: dovecot-sieve: Regex extension ignored
Date 2025-11-22 20:40 +0100
Message-ID <LU1CF-eY5y-9@gated-at.bofh.it> (permalink)
References <LTXpo-eVoU-17@gated-at.bofh.it> <LTXpo-eVoU-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web