리자

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

· 2005-12-16 (금) 18:48:15 · 4571
* 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건
+
제목 글쓴이 날짜 조회
05-08-01 조회 4,029
05-07-24 조회 5,405
05-07-16 조회 5,510
bbbking
05-07-08 조회 3,338
bbbking
05-07-08 조회 3,135
bbbking
05-07-08 조회 8,771
05-07-01 조회 3,320
05-06-30 조회 4,700
05-06-24 조회 5,166
05-06-24 조회 3,401
05-06-21 조회 6,807
05-06-17 조회 4,636
05-06-15 조회 5,444
05-05-04 조회 3,688
05-04-11 조회 4,790
05-04-04 조회 5,201
05-04-02 조회 3,593
05-03-30 조회 3,297
05-03-15 조회 3,449
05-03-15 조회 3,127
05-03-14 조회 2,607
05-03-13 조회 2,817
05-03-13 조회 2,964
05-03-13 조회 2,794
05-03-13 조회 3,037
05-03-13 조회 4,629
05-03-13 조회 3,171
05-03-13 조회 2,598
05-03-13 조회 2,627
05-03-13 조회 2,487
05-03-13 조회 3,660
05-03-13 조회 2,694
05-03-13 조회 2,704
05-03-13 조회 3,217
05-03-13 조회 3,487
05-03-13 조회 3,077
05-03-13 조회 3,029
05-03-13 조회 3,707
05-03-13 조회 2,647
05-03-13 조회 4,156
05-03-13 조회 2,870
05-03-13 조회 3,225
05-03-13 조회 2,698
05-03-13 조회 3,880
05-03-13 조회 2,564
05-03-12 조회 4,900
05-02-04 조회 3,480
04-12-13 조회 7,108
04-12-01 조회 3,382
04-11-30 조회 3,453
04-11-30 조회 2,791
04-11-30 조회 2,691
04-11-30 조회 4,093
04-11-29 조회 3,830
04-11-28 조회 3,766
04-11-28 조회 4,127
04-11-28 조회 3,550
04-11-28 조회 3,047
04-11-28 조회 3,585
04-11-24 조회 3,258
04-11-23 조회 3,041
04-11-17 조회 3,045
04-11-12 조회 3,331
04-11-12 조회 2,675
04-11-10 조회 3,905
04-08-23 조회 4,421
04-08-09 조회 5,070
04-08-08 조회 4,807
04-08-05 조회 6,599
03-09-26 조회 5,258