Outlook rules - Emails sent from within my exchange server are unaffected

0

On an Exchange server, I have an email address, email@domain.com. For this same address, I have an alias set up, which is test@domain.com. My goal is to have multiple alias for this address, and the same number of folders. test@domain.com will have folder "Test", test2@domain.com will have "Test2", etc

Pretty simple configuration.

I have setup a rule that checks the recipient of an email. If it is test@domain.com, it will be moved to the "Test" folder, etc... But this does not work. The alias are converted to "email@domain.com" before the rule can be processed, and emails end up in every folder that has a rule setup.

I tried another rule, which searches the email header for a specific word. The word is the alias, so "test@domain.com". If it finds the word the email is moved to the folder. This works perfectly if I send the email from an address that is hosted outside of the exchange server, in my case a gmail address. But when I send it from an address hosted withtin my exchange server, the rule doesn't work and the message is not moved to the folder.

I have removed the alias and the address email@domain.com from my GAL, but the problem remains. Does Exchange convert an alias to its matching email before sending a message? Hence why Outlook cannot find a trace of it in the message header?

Thank you

Val.B

Posted 2018-07-25T14:49:40.237

Reputation: 3

Answers

0

Your Exchange Server resolves any alias into a primary email. This is how it works and you can't change it.

What you can do is to use some kind of workaround. For example, in my company we're using Mail Contacts instead of email aliases. This allows us to send as any required contact and to correctly route email using Exchange Transport Rules.

thims

Posted 2018-07-25T14:49:40.237

Reputation: 8 081

Thanks for the tip. However I don't think this will work for me, as both people from within the organization and from outside will be sending emails to the address. What I'm thinking of is setting two rules: The one stated in my OP, that works for users outside the organization And set a rule for users within my organization: "If you send an email to test@domain.com, use the word "Test" in the subject." And make an outlook rule based on that. "Test" will be replaced by client names so it shouldn't be a problem. I don't see another way. – Val.B – 2018-07-26T07:19:14.777

1I have an update: Instead of an alias we used ditributions lists, each one contains the main adress. The rule works both from internal an external addresses (message header rule)

Have a great day – Val.B – 2018-07-26T09:10:30.327