Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to set up a filter who moves every email which includes following header

X-Facebook : from zuckmail
X-Facebook : XXXXfrom zuckmailXXXX
X-Facebook : YYYYfrom zuckmailYYYY

and so on. normally I would set something like

X-Facebook : *from zuckmail*
share|improve this question

Using wildcard characters in message rules is not supported unfortunately.

You could create a solution by writing a VBA script though.

First you would create a rule based on the condition 'With specific words in the message header'. Then if the headers contains X-Facebook, run the VBA script.

The script would then check the headers further, and do the wildcard expression matching. If it matches, it would then move the mail item to the specific folder.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.