Message Rule and SpamAssassin?

  • Thread starter Thread starter Mark Beiley
  • Start date Start date
M

Mark Beiley

My mail server runs SpamAssassin, and I'd like to sort my emails based on
those results. I've tried to add a message rule where when the message body
contains: "X-Spam-Flag: YES" the mail is moved to a special folder. This
rule doesn't seem to be working. I suspect it is because this is in the
mail header, and not the 'body'? Is there any way to write a rule that
looks at the mail headers?

Thanks,
Mark
 
Mark Beiley said:
My mail server runs SpamAssassin, and I'd like to sort my emails based on
those results. I've tried to add a message rule where when the message
body contains: "X-Spam-Flag: YES" the mail is moved to a special folder.
This rule doesn't seem to be working. I suspect it is because this is in
the mail header, and not the 'body'? Is there any way to write a rule
that looks at the mail headers?

Thanks,
Mark
I've been looking for such a way for some time, and there seem to be
only a few header lines that it will check in deciding what rules to
apply. I'd like a way to search all of the header, at least for newsgroup
messages, but there doesn't seem to be one available.
 
Back
Top