Can you configure MS Exchange to support the gmail "+keyword" trick?

6,258

Solution 1

It's called "SMTP Tags" or "sub addressing" depending on who you speak to. You may find this wikipedia article useful as it talks about this feature in email.

As a practical matter it isn't supported by quite a few email systems for various reasons - some good (or at least understandable), some not so good. If you use it as an anti-spam mechanism (e.g. to track who gives your address away) then be warned that spammers are smart enough to remove these parts from a list of email addresses...

IIRC, exchange doesn't support it and doesn't really have a mechanism for doing so (you could of course add multiple SMTP addresses to a user's mailbox to create a similar effect but this is obviously very inconvenient to set-up and maintain for all concerned).

Solution 2

This feature is now available on Office 365 Exchange!

Exchange admins will have to enable this manually on their server. This can be done through Powershell using the following command:

Set-OrganizationConfig -AllowPlusAddressInRecipients $true

For instructions on how to use Powershell, you can find out more here: https://docs.microsoft.com/en-us/powershell/exchange/exchange-online-powershell-v2?view=exchange-ps

The setting may not instantly take effect so please expect a delay before you can start using plus addresses.

We're still waiting documentation on this feature and from feedback I've seen, it doesn't work for everyone currently.

TIP: After seeing some feedback, I've done some testing and concluded that this feature may not function correctly on hybrid exchange servers.

Solution 3

I know it's been a long time since originally asked, but this post is still high on Google search results and appears to still be a commonly asked question. So, for those who are curious... although Outlook.com (previously Hotmail) has supported it since 2013, Exchange & O365 doesn't officially support subaddressing per RFC 5233 (at least not as of 2019). However, you may consider the ever fun task of setting up transport rules which allow you to effectively achieve the same thing as described in this blog...

https://durdle.com/2015/01/11/office-365-email-suffix-matching/

If you want to see it officially supported, you may consider upvoting the request that was started in 2017 to support RFC 5233...

https://office365.uservoice.com/forums/264636-general/suggestions/18185419-add-support-for-rfc-5233-subaddressing-myemail-an

Solution 4

Exchange doesn't have the ability to do this. The address is used as a lookup for recipient mail, which is checked against the address lists stored in the system. A new address would have to be added for each tag you use, which is not long term supportable.

However, there are hooks for third party utilities to provide this functionality. The hooks that AntiVirus/AntiSpam systems use, Transport Agents, could be leveraged by such a utility to strip off the information after the + and add it to a mail header, or whatever needs to be done to it. This would allow delivery of the mail to the end user as the To: address would be correctly formatted for Exchange.

I don't know of any packages that do this, though.

Solution 5

With enough scripting time and knowledge, you should be able to put something together with the "catchall" mailbox sink for Exchange Server

http://support.microsoft.com/Default.aspx?kbid=324021

Sounds like you could add a new email alias to your all of your users like @domain.local Apparently the catchall won't let you forward email to the same domain, to avoid loops.

Then, in the catchall, anything with a "+" sign (or any other criteria) could be re-routed to the user address in the domain.local domain - you might even be able to take that tag and insert it into the subject.

So "[email protected]" gets forwarded [email protected]

Haven't done it, but looks like it's possible depending on how much work you want to put into it.

Share:
6,258

Related videos on Youtube

Deb
Author by

Deb

She/Her, DevOps & Systems Engineering. I do monitoring and telemetry. I read manuals. Also: author of Software Telemetry so I guess I write them too now.

Updated on September 17, 2022

Comments

  • Deb
    Deb over 1 year

    Gmail allows users to create custom email addresses on the fly by appending "+keyword" to their email address.

    So, "[email protected]" and "[email protected]" & "[email protected]" all point at the same account ([email protected]).

    Is there a (reasonably simple) way to configure MS Exchange (any version) to behave similarly?

    Bonus: is there an official term for this feature?

    • Admin
      Admin over 13 years
      Which version of Exchange? Do you have access to the Exchange System Manager?
  • Arjan
    Arjan over 3 years
    For future reference, Office 365 also seems to be known as Exchange Online, as per docs.microsoft.com/en-us/exchange/recipients-in-exchange-onl‌​ine/… As far as I understand from our supplier, this is still not supported for on-site local installations of Exchange. (But I am in no way an Exchange expert.)
  • bjoster
    bjoster over 2 years
    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
  • Trantkat Troy
    Trantkat Troy over 2 years
    Corrected with the content. thanks !