Namecheap webmail and amazon ec2 - email

I'm trying to setup incoming email for my Amazon EC2 linux box. It's a nightmare to figure out honestly, so I was looking into easier options (Amazon SES is not available in my region..)
My domain's DNS is managed through NameCheap. They have a private email hosting service.
https://www.namecheap.com/hosting/email.aspx
Will this enable me to have a webmail interface where I can send / receive emails from my domain?
And will I then be able to use a service like Mandril / Mailchimp / Sendgrid to deliver email from my Node.js application?

My answer is YES.
With current aws services, mail server is not that easier you can work it out in aws ec2 instance or SES service. I tried, but that's not happy story, especially you need put effords to maintain security and blacklist.
The AWS WorkMail services is bit expensive if compare with other web hosting.
So you should be confident to use webmail services provided by other hosting companies, and there are a lot of choices, enjoy it.

Related

sending and receiving emails with GCP

I'm switching from a shared hosting provider to GCP. I have a domain name (domain.com), and on the shared hosting I just had to create a new email address in the directadmin panel, and use squirrelmail to send/receive emails.
The problem is: I don't know how to achieve this on GCP.
I have added a new zone in cloud DNS for the domain name, and I have changed the nameservers of the domain name at my hosting provider (where the domain name is parked).
Now I'm looking for a solution so I can use the domain name (coupled to a VM) but also send/receive emails in an easy way.
Is there a (paid/free) solution I can use which isn't very difficult to install/maintain? I was thinking of creating a mailserver with postfix/postfixadmin, but GCP blocks outgoing mail so I have to use a service like sendgrid or mailgun to send email + I still need to install postfix for receiving email. But to be honest: I've never done this before and I don't find any good tutorials about this.
I have a mailgun account and I tried following this (https://cloud.google.com/compute/docs/tutorials/sending-mail/using-mailgun) tutorial, but the emails I'm sending are not delivered.
Is there an online service or something like that where I can couple my domain name to, to send and receive emails? I tried to google it, I googled on "external mail server" and "free mail server" but I didn't find any (good) results.
Thanks in advance!
Mailgun sounds like a good option to use, if you're still planning to use it on GCP, check that you've created a firewall rule to allow outbound traffic [1]. This step might be the reason why you're not receiving the emails.
If you need a good guide to set up a Postfix server, you might find this guide useful [2].
I've read that you're already using G Suite [3], this option is great and will ease the process a lot.

Sending mail using GCP on private network

More than a simple question-answer, this is more of a recommendation post. Want to see what ideas I have to work with. I am working on porting my company's work to the cloud (GCP) Most of this work is in the form of a pipeline. I'd like to notify completion via email.
The company I work for has a private network. And so the only way to use their mail config is to send it through their internet, and so, cannot use their SMTP-config from GCP.
What's the best way around this?
I'm looking into creating a VPN between GCP and our local network, however, that may not be possible (IT restrictions)
Do I have any other options?
EDIT
What an SMTP Relay work? This guy.
By default, Compute Engine allows outbound connections on all ports but port 25,so if you need to send an email from the instance you have to use port 465 or 587.
GCP explecitely recomends using other third-party tools such as SendGrid, Mailgun, and Mailjet because they offer a free tier package, you can skip all that and connect your instance to Gmail SMTP Relay Service. You will need a Google Account to connect (gmail or Gsuite).
Instructions to configure the Google Account are HERE , I tested sending emails from my MySQL server and Debian 9

How to set up email on Amazon EC2

I have domain. I have my website on an Amazon EC2 instance. I have pointed the domain there, so website is accessible with the domain now. all is working fine but I want to set up the email now, I should be able to create email id and manage emails.
Someone suggested Amazon SES to be set up, I did that but then what to do?
Any ideas greatly appreciated.
You don't want to run your email on EC2.
Amazon SES is for outgoing email only, i.e. it can replace your SMTP server, so for example if your website generates emails, you could use SES to send them out, but its not a full 'email' service in the traditional sense.
For normal email operations, you need to use an email provider such as gmail, outlook, rackspace email etc.
AWS also offers AWS Workmail as an option. I use both Rackspace email and outlook email for various domains that I have hosted on EC2 instances.
If you are accustomed to using a shared hosting service, i.e. discountasp.net where the web hosting and email is all bundled together as a single packaged service for you, you need to think of things differently when you start running and managing your own ec2 server instances. Its upto you to string the parts together.
Since you have hosted website on AWS EC2 and Domain name pointed to Instance. I would suggest that you use AWS WorkMail to send Email. This is new service which has been introduced. AWS WorkMail is available on US East (N. Virginia) and EU (Ireland) region. It is easy to configure and you can use your domain name to create email Ids, say info#domainname.com.
After configuration you will have your own console for where you can manage and access all your emails. To access emails AWS have own console similar to webmail.

How to do Email Hosting with Cloud apps (heroku)?

I run several websites on rackspace and have been slowly converting the sites to web apps on heroku, however my clients still need email#theirdomain.com.
Most of the solutions I see on heroku are for sending notifications and not hosting email services.
Most of the email only services seem to be about email marketing not hosting. Is there a way for me to drop the rackspace server and still provide email hosting to my clients?
You can try free hosting for email at http://domains.live.com You need to be able to change your mx server to do that. Its quite simple. The interface is great and comes with smtp

How to configure email accounts like support#xyz.com or feedback#xyz.com on AWS

I registered my domain with godaddy.com. Want to use EC2 with SES to host my website on amazon web services.
On my website there would be few email accounts like support#xyz.com or feedback#xyz.com. How can I configure these email accounts on my SES server ( or my ec2 server ); so that I could receive any emails sent to these email addresses ( through some mail client like Outlook, Thunderbird)
This is the answer I received from the AWS team via the AWS forum:
Hello,
I'm sorry to say that SES doesn't handle inbound email today. We are
an outbound email delivery service only. However, you could (with some
effort) set up a postfix server and a POP3 server on an EC2 instance,
get a static IP bound to that EC2 instance, and list that on your MX
records. It is a bit more of a challenge than using gmail.com for
example, but it would provide you what are looking for.
Thanks, and please let me know if I can help further.
Paolo
You can sign your domain up for free Google Apps. During the setup, Google will direct you to modify your domain's MX records in Godaddy in order to receive mail. Then you can use AWS SES to send mail and mail will be received by your domain's Gmail user.