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.
 
The only headers that the rules look at are From, To, CC,
and Subject.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Forwarding via Rule strips Header. Any ideas? 5
Message Rule Priority 7
SpamAssassin 2.62 6
Message Rules Not Working 4
My "message rules" disappear ? 3
Message rules - News 4
SpamAssassin 3.0.0 9
Outlook Outlook time-based rules 0

Back
Top