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" "*" { .. }