Be available from external of receiving e-mail on Amazon EC2 with Amazon Linux

* Set hostname

1. echo > /etc/hostname
2.hostname -F /etc/hostname
3.service network restart

* Set sendmail to be available from external area for receiving mail

1. vi /etc/mail/

DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA’)dnl

After ( Comment out )
dnl DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA’)dnl

2. m4 /etc/mail/ > /etc/mail/
3. service sendmail restart

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: