After I deleted "envelope" from the "require":
if address :is "from" "*" {
set :lower "from" "${1}";
}
It returns: null
if header :matches "From" "*" {
set "address" ": ${1}";
}
It returns address as: "some string" <example at example.org>
pon., 20 wrz 2021 o 01:44 Gedalya <gedalya at gedalya.net> napisa?(a):
> On 9/20/21 03:15, j.emerlik wrote:
> > "If address :is "from" "*" { .. } - I have
same error.
>
> Quote:
>
> Error: sieve: report-ham: line 1: the envelope extension cannot be used in
> this context (needs access to message envelope)
>
> It says "line 1", that's your "require" line. You
need to remove
> "envelope" from the "require" line.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://dovecot.org/pipermail/dovecot/attachments/20210920/2463e0f2/attachment-0001.html>