리자

[펌] REDHAT Linux 7.3 이상 sendmail 8.11.6 이상 CONNECTION REFUSED 문제

· 20년 전 · 3405
* REDHAT Linux 7.3 sendmail 8.11.6 CONNECTION REFUSED 문제

최근 버전의 REDHAT Linux 7.3에 포함된 sendmail 8.11.6 에는 디폴트로
외부에서 SMTP접근을 할 수 없습니다. 물론 내부에서 메일을 발송하는 것은 잘 됩니다.
1) 외부에서
$ telnet 211.110.17.28 smtp
Trying 211.110.17.28...
telnet: connect to address 211.110.17.28: Connection refused
telnet: Unable to connect to remote host

2) 내부에서
[loveme@ns loveme]$ telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 ns.phpschool.com ESMTP Sendmail 8.11.6/8.11.6; Wed, 25 Sep 2002 14:13:21 +0900

문제의 원인은 sendmail 8.11.6의 설정이 디폴트로 외부에서 발송만 열려 있기 때문입니다.

해결 방법 : sendmail.mc 를 수정해서 sendmail.cf 파일을 새로 만들고
센드메일을 재기동해야 합니다.

1) sendmail.mc 에서 다음 부분을 찾아 주석 처리 ( 라인 시작 부분에 dnl 을 넣음)
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
2) # m4 sendmail.mc > sendmail.cf 로 설정파일 재생성
3) # /etc/rc.d/init.d/sendmail restart
4) 접속 확인
$ telnet mail.phpschool.com smtp
Trying 211.110.17.28...
Connected to mail.phpschool.com.
Escape character is '^]'.
220 ns.phpschool.com ESMTP Sendmail 8.11.6/8.11.6; Wed, 25 Sep 2002 16:22:08 +0900


저만 몰랐나요? ㅠㅠ;
삽질 2시간....
google 만세.!!!

참고 : http://www.redhat.com/mailing-lists/redhat-secure-server/msg00206.html<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]</div>
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

프로그램

+
제목 글쓴이 날짜 조회
19년 전 조회 3,013
19년 전 조회 2,974
19년 전 조회 3,646
19년 전 조회 3,602
19년 전 조회 1,824
19년 전 조회 2,193
19년 전 조회 2,756
19년 전 조회 2,420
19년 전 조회 4,289
19년 전 조회 3,281
19년 전 조회 4,063
19년 전 조회 2,580
19년 전 조회 2,462
19년 전 조회 2,931
19년 전 조회 2,460
19년 전 조회 2,757
19년 전 조회 2,443
19년 전 조회 3,153
19년 전 조회 1,670
19년 전 조회 2,969
19년 전 조회 2,235
19년 전 조회 2,162
19년 전 조회 2,257
19년 전 조회 2,611
19년 전 조회 2,094
19년 전 조회 4,442
19년 전 조회 2,654
19년 전 조회 2,433
19년 전 조회 2,939
20년 전 조회 3,033
20년 전 조회 3,090
20년 전 조회 2,619
20년 전 조회 2,997
20년 전 조회 2,523
20년 전 조회 2,184
20년 전 조회 2,766
20년 전 조회 2,454
20년 전 조회 2,526
20년 전 조회 3,781
20년 전 조회 3,254
20년 전 조회 4,972
20년 전 조회 2,396
20년 전 조회 4,487
20년 전 조회 3,087
20년 전 조회 2,863
20년 전 조회 3,710
20년 전 조회 2,626
20년 전 조회 3,706
20년 전 조회 3,978
20년 전 조회 3,406
20년 전 조회 3,456
20년 전 조회 4,074
20년 전 조회 2,329
20년 전 조회 5,065
20년 전 조회 3,623
20년 전 조회 2,570
20년 전 조회 2,252
20년 전 조회 2,710
20년 전 조회 2,998
20년 전 조회 2,768
bbbking
20년 전 조회 5,748
20년 전 조회 2,673
bbbking
20년 전 조회 4,250
20년 전 조회 2,120
20년 전 조회 7,281
20년 전 조회 2,385
20년 전 조회 3,461
20년 전 조회 4,270
20년 전 조회 2,591
20년 전 조회 3,880
20년 전 조회 3,042
20년 전 조회 4,070
20년 전 조회 5,095
20년 전 조회 4,202
20년 전 조회 5,820
20년 전 조회 2,022
20년 전 조회 3,282
20년 전 조회 3,513
20년 전 조회 2,899
20년 전 조회 2,411
20년 전 조회 4,639
20년 전 조회 2,246
20년 전 조회 2,241
20년 전 조회 1,847
20년 전 조회 1,657
20년 전 조회 3,739
20년 전 조회 4,816
20년 전 조회 2,429
20년 전 조회 3,114
20년 전 조회 5,820
20년 전 조회 2,812
20년 전 조회 2,283
20년 전 조회 4,546
20년 전 조회 2,638
20년 전 조회 2,217
20년 전 조회 2,746
20년 전 조회 2,549
20년 전 조회 2,863
20년 전 조회 3,304
20년 전 조회 2,620
🐛 버그신고