리자

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

· 2005-12-16 (금) 18:48:15 · 4502
* 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건
+
제목 글쓴이 날짜 조회
07-10-13 조회 5,114
07-10-03 조회 4,103
07-10-03 조회 3,294
07-10-03 조회 2,521
07-10-03 조회 4,619
07-10-02 조회 2,956
07-10-01 조회 3,576
07-09-28 조회 3,497
07-09-27 조회 4,557
07-08-16 조회 6,407
07-08-04 조회 2,855
07-07-25 조회 6,114
07-07-05 조회 4,003
07-07-02 조회 4,550
07-06-30 조회 4,452
07-06-20 조회 7,340
07-06-20 조회 3,948
07-06-05 조회 4,123
07-05-26 조회 3,157
07-05-17 조회 9,153
07-05-17 조회 5,196
07-05-04 조회 6,123
07-04-15 조회 6,209
07-04-13 조회 3,980
07-04-11 조회 3,390
07-03-20 조회 3,564
07-03-02 조회 6,790
07-02-27 조회 6,057
07-02-22 조회 4,447
07-01-30 조회 6,263
07-01-30 조회 1만
06-12-20 조회 3,761
06-12-18 조회 4,608
06-12-15 조회 4,586
06-12-15 조회 3,815
06-12-15 조회 3,203
06-11-30 조회 3,643
06-11-27 조회 4,538
06-10-24 조회 6,452
06-10-17 조회 4,761
06-09-22 조회 4,503
06-09-21 조회 5,998
06-09-21 조회 3,923
06-09-15 조회 6,540
06-08-20 조회 3,688
06-07-19 조회 3,328
06-07-14 조회 4,229
06-07-14 조회 4,096
06-07-11 조회 5,701
06-06-08 조회 4,278
06-06-08 조회 4,193
06-05-24 조회 3,508
06-05-24 조회 4,891
06-05-17 조회 3,604
06-05-16 조회 4,354
06-05-14 조회 6,049
06-05-12 조회 3,612
06-05-06 조회 4,253
06-05-06 조회 4,336
06-05-06 조회 3,637
06-05-06 조회 3,710
06-05-06 조회 4,155
06-04-25 조회 4,022
06-03-23 조회 5,478
06-01-20 조회 4,049
06-01-04 조회 4,260
05-12-30 조회 4,132
05-12-21 조회 4,809
05-11-09 조회 4,011
05-11-09 조회 3,794
05-10-09 조회 3,457
05-09-21 조회 6,845
05-08-14 조회 4,328
05-08-04 조회 5,506
05-07-14 조회 4,571
05-06-15 조회 4,958
05-04-23 조회 4,557
05-04-20 조회 5,017
05-04-19 조회 1.1만
05-04-19 조회 5,975
05-03-15 조회 3,795
05-03-15 조회 4,235
05-03-13 조회 2,918
05-03-13 조회 3,444
05-03-13 조회 3,424
05-03-13 조회 2,728
05-03-13 조회 5,772
05-03-13 조회 5,405
05-03-13 조회 4,338
05-03-13 조회 4,631
05-03-13 조회 7,894
05-03-13 조회 4,390
05-03-13 조회 3,476
05-03-13 조회 3,467
05-03-13 조회 8,018
05-03-13 조회 5,475
05-03-13 조회 4,125
05-03-12 조회 3,768
05-03-12 조회 4,476
05-02-24 조회 4,623