Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Outlook 2007: Create a message rule that detects autoforwarded messages and handles them

I'm looking for kind of the opposite of creating a rule to auto-forward emails. I want to create a rule that acts on RECEIVED auto-forwarded emails, but not any that were manually forwarded or replied to by the same person.

E.g. Jim forwards me all emails with "blah" in the subject, and I want to move those auto forwards to my "Jim's auto-forwards" folder, but if he forwards me a message manually that says "blah" but he adds his own comments, I want it to stay in my inbox.

Outlook seems to know that it is auto forwarded, as it shows up as such when you view the email. Just above the "From" section but just below the ribbon, it says something like:

"This message was AutoForwarded."

However I haven't found any option to create a rule filtering these.

like image 544
dstronczak Avatar asked Feb 12 '13 08:02

dstronczak


1 Answers

Our exchange server (Outlook maybe?) adds the following headers when auto-forwarding:

Auto-Submitted: auto-generated
X-MS-Exchange-Generated-Message-Source: Mailbox Rules Agent

(Visible by opening an email and viewing the message "Properties" to see the headers) These appear to be what Outlook is using to detect that a message was AutoForwarded (or at least coincide)

And Outlook/Exchange 2013 has the filter option "with specified words in the message header"

I have used a rule that looks similar to the following to successfully move only "blah" subject messages autoforwarded from "Jim" to a specific folder:

Apply this rule after the message arrives
from '[email protected]'
 and with 'blah' or 'blurg' in the subject
 and with 'auto-generated' or 'Auto-Submitted' in the message heade
move it to the 'Jims auto-forwards' folder

And this has appeared to prevent any that he's manually forwarded from being processed by the same rule.

like image 123
Arkaine55 Avatar answered Sep 28 '22 00:09

Arkaine55