Yes, it's plugin imap_sieve enabled for IMAP protocol.

There isn't no way to catch address "from" when moving messages between IMAP folders ?

"If address :is "from" "*" { .. } - I have same error.

niedz., 19 wrz 2021, 16:38 użytkownik Gedalya <gedalya@gedalya.net> napisał:
On 9/19/21 21:24, j.emerlik wrote:
>
> Error: sieve: report-ham: line 1: the envelope extension cannot be used in this context (needs access to message envelope)
>
My guess would be that the envelope is not available because this is sieve running in IMAP, not during delivery.

If the From: header is also good, maybe try if address :is "from" "*" { .. }