sendmailでホスト自身のリレー許可設定

# yum -y install sendmail-cf
# vi /etc/mail/sendmail.mc
---------------------------------------------------------
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
↓
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
---------------------------------------------------------

# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
# vim /etc/mail/access
------------------------------------------
Connect:127.0.0.1              RELAY
------------------------------------------

# makemap hash /etc/mail/access.db < /etc/mail/access