I seem to have a problem processing headers in spamassassin.

First, on every single mail I receive, i get a MISSING_SUBJECT
condition, and the mail does have a valid subject.

Second, I can never make a match in the subject line.

In the local.cf, I have the following:

.......................................................

header HEALTH_SUBJ        Subject =~ /health/i
describe HEALTH_SUBJ    Subject contains health
score HEALTH_SUBJ 3

....................................................

body HEALTH_BDY    /health/i
describe HEALTH_BDY    body contains health
score HEALTH_BDY 2.5

...................................................

When receiving a mail with the word "health" in the subject, I do not
get a match on HEALTH_SUBJ,
however, I do get a match on HEALTH_BDY, even though the word only
appears in the subject line,
not in the message body.

Am I severely misunderstanding something ? Such as definitions of header
(subject) and body ?

The Scenario here is SuSE 10. SpamAssassin is 3.1.7 (initially tested
with 3.1.1, same result).
SpamAssassin is invoked from postfix 2.2.10 via amavisd-new 2.4.0.

Any help highly appreciated - tnx in advance.

Regards Joern W. Andersen




Reply via email to