This is extract (somewhat redacted ) from my real .dovecot sieve file.
--8<---------------cut here---------------start------------->8---
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"];

set "KJ_PAT_FETCHMAIL" 
"fetchmail-[[:digit:]](\\.[[:digit:]]+){2,3}(-(alpha|rc)[[:digit:]]{1,2})?";

if header :regex "received" "from (www\\.)?poczta.mailisp.pl 
\\[[[:digit:]\\.]{7,15}\\][[:space:]]+by 
(localhost|(kjonca|alfa)\\.kjonca|alfa) with (IMAP|POP3) 
\\(${KJ_PAT_FETCHMAIL}[[:space:]]+polling poczta\\.mailisp\\.pl account qqrq( 
folder INBOX)?\\)[[:space:]]+for <?kjonca@localhost>? \\(single-drop\\);"  {
        fileinto "dummy";
}
--8<---------------cut here---------------end--------------->8---
And (redacted)test message:

--8<---------------cut here---------------start------------->8---
Return-Path: <[email protected]>
X-Original-To: kjonca@localhost
Delivered-To: kjonca@localhost
Received: from poczta.mailisp.pl [2.7.6.276]
        by alfa.kjonca with IMAP (fetchmail-7.0.0-alpha10 polling 
poczta.mailisp.pl account qqrq folder INBOX)
        for <kjonca@localhost> (single-drop); Sun, 22 Feb 2026 14:11:09 +0100 
(CET)
Date: Sun, 22 Feb 2026 14:10:03 +0100
To: [email protected]
From: System <[email protected]>
Subject: =?UTF-8?Q?Nowa_wiadomo=C5=9B=C4=87_w systemie=
Message-ID: <mtIN7aUOzQGwRqmsZoy9fGVaUOgFfoTDDLgDJtmD7aM@dziennik05>

--8<---------------cut here---------------end--------------->8---

(assuming sieve filter is ~/.dovecot.sieve.test  and message is in "z/1")

sieve-filter -e -W -D -C -v ~/.dovecot.sieve.test z/1

ends with:
info: filtering: [Sun, 22 Feb 2026 14:10:03 +0100; 567 bytes] 
'=?UTF-8?Q?Nowa_wiadomo=C5=9B=C4=87_w ...'.
sieve-filter: Debug: sieve: Started running script '_file/.dovecot.sieve.test'
sieve-filter: Panic: pool_data_stack_realloc(): stack frame changed
sieve-filter: Error: Raw backtrace: #1 [unw_get_proc_name() failed: -10] -> #2 
default_fatal_handler[0x7f5ebbb51440] -> #3 i_panic[0x7f5ebba6d489] -> #4 
[unw_get_proc_name() failed: -10] -> #5 [unw_get_proc_name() failed: -10] -> #6 
[unw_get_proc_name() failed: -10] -> #7 buffer_append[0x7f5ebbb452b0] -> #8 
dregex_code_match_groups[0x7f5ebbb3f1e0] -> #9 [unw_get_proc_name() failed: 
-10] -> #10 [unw_get_proc_name() failed: -10] -> #11 
sieve_match_value[0x7f5ebc192770] -> #12 sieve_match[0x7f5ebc192a30] -> #13 
[unw_get_proc_name() failed: -10] -> #14 
sieve_interpreter_continue[0x7f5ebc191100] -> #15 sieve_execute[0x7f5ebc1a2dc0] 
-> #16 main[0x55753c17b830] -> #17 __libc_start_call_main[0x7f5ebb833f00] -> 
#18 __libc_start_main_alias_2[0x7f5ebb833fa0] -> #19 _start[0x55753c17c710]



Kamil Jońca via dovecot <[email protected]> writes:

> 2025-12-30T07:55:14.714521+01:00 alfa dovecot: lda(kjonca): Panic: 
> pool_data_stack_realloc(): stack frame changed
> 2025-12-30T07:55:14.717927+01:00 alfa dovecot: lda(kjonca): Error: Raw
> backtrace: #1 [unw_get_proc_name() failed: -10] -> #2
> i_syslog_fatal_handler[0x7f99a2351430] -> #3 i_panic[0x7f99a226d453]
> -> #4 [unw_get_proc_name() failed: -10] -> #5 [unw_get_proc_name()
> failed: -10
> ] -> #6 [unw_get_proc_name() failed: -10] -> #7
> buffer_append[0x7f99a2345270] -> #8
> dregex_code_match_groups[0x7f99a233f1a0] -> #9 [unw_get_proc_name()
> failed: -10] -> #10 [unw_get_proc_name() failed: -10] -> #11
> sieve_match_value[0x7f99a117f770] -> #12 sieve_match[0x7f99
> a117fa30] -> #13 [unw_get_proc_name() failed: -10] -> #14
> sieve_interpreter_continue[0x7f99a117e100] -> #15
> sieve_multiscript_run[0x7f99a1190330] -> #16 [unw_get_proc_name()
> failed: -10] -> #17 mail_deliver[0x7f99a27e54a0] -> #18
> main[0x55e371c555e0] -> #19 __libc_start_c
> all_main[0x7f99a1e29f00] -> #20 __libc_start_main_alias_2[0x7f99a1e29fa0] -> 
> #21 _start[0x55e371c566a0]
>
>
> I think this is related to 1:2.4.2+dfsg1-2 (debian package version) Now
> I downgraded to 1:2.4.1+dfsg1-9 - loosing mails is not the thing I want
> the most.
>
>
> Aki Tuomi <[email protected]> writes:
>
>> You need to install systemd-coredump to catch cores. Also the actually 
>> interesting was the line before this.
>>
>> Aki
>>
>>> On 30/12/2025 09:45 EET Kamil Jońca via dovecot <[email protected]> wrote:
>>> 
>>>  
>>> Recently I found in my lda logs:
>>> 2025-12-30T07:55:14.717927+01:00 alfa dovecot: lda(kjonca): Error:
>>> Raw backtrace: #1 [unw_get_proc_name() failed: -10] -> #2
>>> i_syslog_fatal_handler[0x7f99a2351430] -> #3 i_panic[0x7f99a226d453]
>>> -> #4 [unw_get_proc_name() failed: -10] -> #5 [unw_get_proc_name()
>>> failed: -10] -> #6 [unw_get_proc_name() failed: -10] -> #7
>>> buffer_append[0x7f99a2345270] -> #8
>>> dregex_code_match_groups[0x7f99a233f1a0] -> #9 [unw_get_proc_name()
>>> failed: -10] -> #10 [unw_get_proc_name() failed: -10] -> #11
>>> sieve_match_value[0x7f99a117f770] -> #12 sieve_match[0x7f99a117fa30]
>>> -> #13 [unw_get_proc_name() failed: -10] -> #14
>>> sieve_interpreter_continue[0x7f99a117e100] -> #15
>>> sieve_multiscript_run[0x7f99a1190330] -> #16 [unw_get_proc_name()
>>> failed: -10] -> #17 mail_deliver[0x7f99a27e54a0] -> #18
>>> main[0x55e371c555e0] -> #19 __libc_start_call_main[0x7f99a1e29f00]
>>> -> #20 __libc_start_main_alias_2[0x7f99a1e29fa0] -> #21
>>> _start[0x55e371c566a0]
>>> 
>>> And sadly it seems, that mail is missing (it was passed to pipe program
>>> to further processing)
>>> 
>>> KJ
>>> 
>>> -- 
>>> http://wolnelektury.pl/wesprzyj/teraz/
>>> When you go out to buy, don't show your silver.
>>> _______________________________________________
>>> dovecot mailing list -- [email protected]
>>> To unsubscribe send an email to [email protected]
>>

-- 
http://wolnelektury.pl/wesprzyj/teraz/
Ask five economists and you'll get five different explanations (six if
one went to Harvard).
                -- Edgar R. Fiedler
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to