20 Sep
2021
20 Sep
'21
10:05 a.m.
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@example.org>
pon., 20 wrz 2021 o 01:44 Gedalya <gedalya@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.