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" <exam...@example.org> pon., 20 wrz 2021 o 01:44 Gedalya <geda...@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. > > >