Outlook filtering question

  • Thread starter Thread starter John Phillips
  • Start date Start date
J

John Phillips

Assessing Outlook for work; need to know if Outlook can filter incoming mail
by RFC 822 headers; ie if there is a header "X-Text-Classification: spam"
can we sort this mail into a possible spam folder?

(We use K9 as an external spam trap).

TIA
 
No, Outlook cannot filter by individual headers or x-headers. You'd have to
get the headers in code and filter in code to do that and that wouldn't be
reflected in the UI.
 
John Phillips said:
Assessing Outlook for work; need to know if Outlook can filter
incoming mail by RFC 822 headers; ie if there is a header
"X-Text-Classification: spam" can we sort this mail into a possible
spam folder?

You can't sort by any specific headers, but you can sort by header contents.
You can, for example, search for the string "spam" in any header. Of
course, you'll also detect a header containing "ispamerica" (if any were to
exist) with that string. It's conceviavle you could also search for the
string "classification spam", since all punctuation should all be treated as
spaces, but I haven't specifically tried that. It would be fairly easy to
test, though, if you'd like.
 
You can't sort by any specific headers, but you can sort by header contents.
You can, for example, search for the string "spam" in any header. Of
course, you'll also detect a header containing "ispamerica" (if any were to
exist) with that string. It's conceviavle you could also search for the
string "classification spam", since all punctuation should all be treated as
spaces, but I haven't specifically tried that. It would be fairly easy to
test, though, if you'd like.

Thanks for the reply. Do you think it would be feasible?
 
Thanks for the reply. Do you think it would be feasible?

This should be simple to test. Create a rule with:
Apply this rule after the message arrives
with "classification spam" in the message header
assign it to the "probable spam found" category

(The "'s are to indicate the variable parts you type in, miss out the "'s)

Now watch your mail to see if anything turns up in the "probable spam
found" category. Once you are happy that the rule if finding what you
want, and not triggering on valid mail, then you can change its action to
something more aggressive.

I find it very useful to assign mail to the category that matches the
rule's name in every rule I create. That way I can see which rules handled
each item.

I was unaware that punctuation is treated as white space. Thanks, Brian.
 
Back
Top