리자

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

· 2005-12-16 (금) 18:48:15 · 4486
* 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>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
10-09-25 조회 2,702
10-09-19 조회 2,737
10-09-15 조회 2,738
10-09-15 조회 4,141
10-09-15 조회 3,363
10-09-15 조회 2,472
10-09-07 조회 3,583
10-08-27 조회 4,042
10-06-11 조회 4,199
10-05-31 조회 2,446
10-02-27 조회 4,982
10-02-09 조회 3,730
09-10-10 조회 7,323
09-03-19 조회 3,161
09-02-09 조회 3,437
09-02-09 조회 4,514
08-11-01 조회 2,891
08-09-29 조회 4,543
08-09-26 조회 3,503
08-09-26 조회 3,581
08-09-26 조회 2,716
08-09-26 조회 3,760
08-09-26 조회 3,481
08-09-26 조회 4,244
08-09-18 조회 3,556
08-09-09 조회 3,211
08-08-28 조회 2,749
08-07-06 조회 3,522
08-05-21 조회 4,680
08-05-13 조회 4,521
08-04-17 조회 4,896
08-02-19 조회 3,522
08-01-18 조회 3,828
08-01-10 조회 3,791
07-10-22 조회 3,617
07-10-09 조회 4,245
07-10-03 조회 3,490
07-07-06 조회 4,200
07-07-06 조회 4,412
07-07-06 조회 4,024
07-06-28 조회 3,546
07-06-05 조회 3,551
07-06-05 조회 4,095
07-05-30 조회 3,265
07-05-02 조회 3,675
07-04-15 조회 5,068
07-04-11 조회 3,618
07-04-05 조회 3,905
07-03-31 조회 3,138
07-03-31 조회 4,114
07-03-30 조회 3,717
07-03-24 조회 3,992
07-03-22 조회 3,643
07-03-12 조회 4,395
07-02-16 조회 3,253
07-02-14 조회 5,153
07-02-10 조회 3,976
07-02-09 조회 4,365
07-01-19 조회 4,027
07-01-16 조회 4,946
06-12-16 조회 5,820
06-11-30 조회 3,576
06-11-25 조회 3,676
06-10-15 조회 5,045
06-09-26 조회 5,293
06-09-26 조회 5,411
06-09-22 조회 4,242
06-09-21 조회 3,527
06-09-21 조회 3,613
06-09-02 조회 3,467
06-08-08 조회 5,102
06-07-20 조회 3,700
06-07-17 조회 3,325
06-07-13 조회 4,151
06-07-11 조회 3,445
06-07-11 조회 3,434
06-07-11 조회 3,814
06-06-29 조회 6,030
06-06-19 조회 6,437
06-06-02 조회 3,487
06-05-24 조회 4,977
06-05-14 조회 7,753
06-05-08 조회 3,866
06-02-02 조회 5,439
05-12-16 조회 4,487
05-12-05 조회 5,138
05-06-28 조회 4,087
05-04-11 조회 4,041
05-04-11 조회 4,233
05-04-11 조회 3,299
05-03-13 조회 3,204
05-03-12 조회 4,286
04-12-08 조회 7,763
04-12-01 조회 5,163
04-11-28 조회 3,321
04-11-28 조회 3,163
04-08-05 조회 5,590
04-08-05 조회 4,936
04-08-05 조회 5,533