Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Azure Websites - Custom domain mail

Tags:

email

azure

Microsoft Live Custom Domains are now shutting down. I have been using this service for e-mail hosting for all my Microsoft Azure Websites, but now it is gone and no viable replacement is in sight. Do you have some idea what alternative approach exist for hosting multiple mailboxes for multiple websites hosted on Azure?

like image 621
Martin Zikmund Avatar asked Apr 18 '14 11:04

Martin Zikmund


People also ask

How do I set up an Azure email domain?

Add your custom domain name to Azure AD After you create your directory, you can add your custom domain name. Sign in to the Azure portal using a Global administrator account for the directory. Search for and select Azure Active Directory from any page. Then select Custom domain names > Add custom domain.

What is the use of custom domain in Azure?

Azure DNS provides naming resolution for any of your Azure resources that support custom domains or that have a fully qualified domain name (FQDN). For example, you have an Azure web app you want your users to access using contoso.com or www.contoso.com as the FQDN.

What is a Cname in Azure?

A CNAME record maps a specific domain, such as contoso.com or www.contoso.com, to a canonical domain name. In this case, the canonical domain name is the [myapp]. cloudapp.net domain name of your Azure hosted application. Once created, the CNAME creates an alias for the [myapp].


1 Answers

Your cheapest option is to have one (single) google apps account which will cost you around $5 per month. Make it something very general like [email protected]. Then in the google apps dashboard make it a catch all address. This will make the single inbox catch all email for accounts such as Sales@, support@ bob@ or whatever at your domain.

Then you can set Gmail filters to sort (label) each incomming message based on who it was sent to. For example you can have messages sent to frank@ automatically labeled as frank.

Next you want to create regular old gmail accounts for all of your individual users. I am going to follow the example of creating a box for [email protected] for this instance.

  1. Create Google Apps primary account (catch all) as [email protected]
  2. Create Gmail account for [email protected] (regular gmail account)
  3. Create filter rule on Google Apps account for all messages sent to [email protected] to be forwarded to [email protected]. You can further mark them as read or delete them upon forward.
  4. In the [email protected] create a sending alias as [email protected]. Google will give you a 4 digit code, and now when logging in as [email protected] i can both send as [email protected] and recieve all email since its forwarded to this account.

Also make sure to set default reply:to addresses in case you send from the [email protected] address.

Using the technique above you can get all the benefits of having a pro google apps account (dkim, spf, 25gb inbox) and with a little bit of configuration you can setup multiple gmail accounts which run off the single account. We use the technique above and it works flawlessly. The only thing that doesn't work is mailbox delegation, which is not that great.

If you wanted to save the $5 you could get away with using something like GoDaddy free email forwarding, but then you would be limited to godaddys 250 message limit per day.

The approach above just works.

like image 130
Frank Avatar answered Sep 18 '22 14:09

Frank