On 2020-02-26 11:20 a.m., Adam Shostack wrote: > if header :matches "From" "<[a-z0-9-]*@[a-z0-9-.]*>" { set "sender" "${1}"; } > - you need :regex instead of :matches - you need "require regex" - there is nothing to match the variable ${1} in your regex. missing () See: https://tools.ietf.org/id/draft-ietf-sieve-regex-01.html