Dear spamassassin users,

i want to write a rule for for my local.cf to filter "X-Spam-Flag: YES" in my messages headers.
these 2 rules does not work for filtering words in headers..


header ONLY_XSPMFLGYS_SUBJ Subject =~ /\bX-Spam-Flag: YES\b/i
score ONLY_XSPMFLGYS_SUBJ 2.6
describe ONLY_XSPMFLGYS_SUBJ Obfuscated 'X-Spam-Flag: YES' in subject

body ONLY_XSPMFLGYS /\bX-Spam-Flag: YES\b/i
score ONLY_XSPMFLGYS 1.8
describe ONLY_XSPMFLGYS Obfuscated 'X-Spam-Flag: YES' in body

dooes anybody have any idea how to do this correct?


Stefan




Reply via email to