Alias email address getting replaced by primary email address - invalidates routing rules

Kathy Blasco 101 Reputation points
2020-10-20T20:30:44.247+00:00

We have rules setup to route messages based on the header email address which is an alias address.
We are finding that if the message is sent using Outlook on an android phone, iPhone, MAC, or outlook on the web the header email address changes to the primary email address. This behavior invalidates our routing rule based on the alias email address.
The only time we are seeing the alias address retained is if the email originates from Windows desktop outlook or an outside application such as gmail. Gmail worked from an android phone and in chrome.

When reviewing the message trace it appears the address is changed from the sender side not the recipient side. The messages that retained the alias shows they are 'resolved' to the primary address.

Is there an outlook setting that prevents the alias email address from being replaced with the primary email address?

My current outlook version is:

Windows Desktop: Version 2010 (Build 13328.20154 Click-to-Run)
Android: Version: 4.2039.2 (42039817)

@Becky Filo

Outlook Windows Classic Outlook for Windows For business
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 157.4K Reputation points MVP Volunteer Moderator
    2020-10-20T20:59:42.91+00:00

    What you are seeing is by design when messages are sent from an authenticated user.
    The only reason Outlook appears not to work this way is because you are using the Offline Address Book in cached mode.
    If you were to set Outlook in online mode or set the following registry key:
    https://support.microsoft.com/en-us/help/831124/how-to-force-outlook-2010-outlook-2007-or-outlook-2003-to-resolve-prox

    it would work the same way as the other clients and resolve the proxy / alias to the primary SMTP address.

    Anonymous messages sent from outside of Exchange do not resolve the sender address as you have seen as well.


2 additional answers

Sort by: Most helpful
  1. morbraden 41 Reputation points
    2023-03-15T15:41:38.1766667+00:00

    Looks like a solution was found for this specific issue.

    I also had a similar question of this nature and here was my solution:

    1. Visit https://admin.exchange.microsoft.com/#/settings
    2. Click on "Mail Flow"
    3. Check the box "Turn on sending from aliases"

    Wait a few minutes and you should then be able to send and receive from an alias address without Exchange resolving it to the primary alias (proxy address) before delivery.

    2 people found this answer helpful.

  2. Bartosz Jabłoński 1 Reputation point
    2021-08-03T09:39:47.693+00:00

    Hi,

    @Kathy Blasco
    I found a solution to the problem, at least for the OWA - yes, it gets already email to the re-written primary address and this is how it looks to recipient and to the OWA client, but when you check the msg details in MHA (http://mha.azurewebsites.net/) you will see the original header has the alias in there.

    OWA gives you possibility to act upon them "if the message header contains". I created such rule and it moved the message to the right folder.

    I know you probably used the Transport Rules in Exchange Admin Center and I didn't test it there (time constraints), but I believe the idea will be the same behind it, so give it a try.

    For OWA at least, even with visible re-writing, it works :)

    Regards,
    Bart


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.