Thanks for the hint. But that means the keyword can be within the subject. I actually only wanted to look for it at the beginning. Am 03.07.2021 um 00:17 schrieb Robert L Mathews: > Use ":contains" instead of ":matches": > > if header :contains "Subject" "*xyz*" > > In ":contains", asterisks aren't wildcards and don't need escaping. >