sendmail이 안됩니다.

익명 사용자의 이미지


sendmail을 설치했는데..

편지를 보내는것은 잘 되는데 받는것이 안됩니다.

25번 port로 접근이 안되네요.

redhat 7.2를 쓰고 있습니다.

... Deferred Connection refused by ahehheh.net. Warning message still undelivered after 4 hours Will keep trying until message is 5 days old

이렇게 나오네요..

보안쪽 때문에 안되는것 같은데 메뉴얼에는 도저희 찾지를 못하겠네요..

어느 부분을 수정해야 하나요??

익명 사용자의 이미지

"Sendmail-By default, sendmail does not accept network connections
from any host other than the local computer. If you want to
configure sendmail as a server for other clients, please
edit /etc/mail/sendmail.mc and change DAEMON_OPTIONS to also listen
on network devices, or comment out this option all together (type
dnl before the line). You will need to regenerate /etc/sendmail.cf
by running this command

m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

====

라고 redhat에서 찾았어요. T_T;;

익명 사용자의 이미지

/etc/sendmail.cf 를 열어보면요, 259line(redhat의 경우)에 보시면 다음
의 문구가 있습니다.
#SMTP daemon options
# 0 DaemontPortOptions=port=smtp,Addr=127,0.0.1, Name=MTA
약간 틀리더라도 두번째 줄 앞의 #을 지우면 메일을 받을 수도 있을겁니
다.