Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Receiving email with Amazon EC2?

I have no trouble sending out email with my EC2 server, but how can I check the email that is sent to me? I have an elastic IP setup and modified reverse DNS records. Do I need to install Postfix to receive email?

like image 675
Alak Avatar asked Jul 13 '11 07:07

Alak


2 Answers

Ensure that port 25 is active and open on your server. Install an SMTP service on your instance ...postfix is mighty fine.

Ensure you have also set up some MX records if you want to receive email from the world...

like image 106
sdolgy Avatar answered Oct 19 '22 00:10

sdolgy


I suppose the first thing to do is testing if you can open a telnet connection to port 25 on your server. Then you know if anything is listening for incoming mail.

If not, then you should probably install postfix as well as test your firewall settings (I seem to recall the EC2 having some sort of firewall setting for which ports to allow in the web interface)

edit: correct port number

like image 20
Frederik Avatar answered Oct 19 '22 01:10

Frederik