Receiving email with Amazon EC2?

2019-06-22 17:51发布

问题:

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?

回答1:

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...



回答2:

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