>> Delete No. 1154 article
No. 레드햇 7.1에서 메일이 안 받아질때

등록 2001-04-19 12:07:00     조회 5
이름 박범석    

		레드햇 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 명령때려주시고
센드메일 재시작 하세요.
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved