레드햇 7.0을 쓰다가 7.1 나왔길래 무식하게
rpm -Uvh --force --nodeps ~disk1/*.rpm ~disk2/*.rpm 하고 정리했습니다.
-_-;;
이건 중요한게 아니고 메일이 안 오길래 봤더니 기본적으로 로컬에서만 접속
되게 해놨네요.
외부에서도 접속되게 할려면
/etc/mail/sendmail.mc에 보면 다음과 같은 곳이 있습니다.
dnl This changes sendmail to only listen on the loopback device 127.0.0.1
dnl and not on any other network devices. Comment this out if you want
dnl to accept email over the network.
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
저 밑줄친 부분을 주석처리 하면 됩니다.
dnl This changes sendmail to only listen on the loopback device 127.0.0.1
dnl and not on any other network devices. Comment this out if you want
dnl to accept email over the network.
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
이렇게요.
그런담에
m4 /etc/mail/sendmail.mc > /etc/sendmail.cf 명령때려주시고
센드메일 재시작 하세요.