Message Rule and SpamAssassin?

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
 
G

Guest

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.
 

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

Top