I am having trouble either finding the right documentation or just not
understanding. What I am trying to achieve is that if there is not a
specific header such as X-Example: ABC , it will then get marked as
spam. Currently I have been trying

header ABC_HEADER exists:X-Example: ABC

But I am thinking this is a backwards attempt as if I add a score as is,
I am just adding to the total if it exists and not if it does not exist.

I then found if-unset: and tried that instead of exists: but when I
restart spam assassin I get the following error in the logs.
info: config: invalid regexp for rule ABC_HEADER: : missing or invalid
delimiters

tried method
header ABC_HEADER if-unset:X-Example: ABC

What I am not grokking properly here? Thanks for any help and your time. 

Reply via email to