리자

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

· 2005-12-16 (금) 18:48:15 · 4617
* 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,187건
+
제목 글쓴이 날짜 조회
06-05-01 조회 3,066
06-05-01 조회 3,062
06-05-01 조회 3,218
06-05-01 조회 4,370
06-05-01 조회 4,229
06-04-30 조회 4,046
06-04-30 조회 3,716
06-04-29 조회 3,805
06-04-29 조회 3,466
06-04-29 조회 3,520
06-04-29 조회 2,729
06-04-29 조회 3,406
06-04-29 조회 3,770
06-04-29 조회 3,763
06-04-29 조회 4,074
06-04-29 조회 3,914
06-04-29 조회 2,833
06-04-29 조회 2,948
06-04-29 조회 3,895
06-04-28 조회 3,293
06-04-28 조회 5,157
06-04-28 조회 3,688
06-04-28 조회 3,473
06-04-28 조회 4,671
06-04-28 조회 4,300
06-04-28 조회 3,420
06-04-27 조회 4,217
06-04-27 조회 3,408
06-04-26 조회 4,287
06-04-26 조회 4,664
06-04-25 조회 6,375
06-04-25 조회 4,279
06-04-25 조회 4,242
06-04-25 조회 3,865
06-04-25 조회 3,576
06-04-25 조회 3,867
06-04-25 조회 3,610
06-04-25 조회 3,699
06-04-25 조회 3,482
06-04-25 조회 3,853
06-04-25 조회 4,140
06-04-24 조회 4,425
06-04-24 조회 8,222
06-04-24 조회 6,334
06-04-24 조회 3,598
06-04-24 조회 6,317
06-04-24 조회 4,282
06-04-22 조회 3,628
06-04-22 조회 3,329
06-04-20 조회 4,747
06-04-20 조회 4,078
06-04-19 조회 4,443
06-04-19 조회 4,031
06-04-19 조회 4,608
06-04-18 조회 3,922
06-04-18 조회 4,635
06-04-18 조회 3,577
06-04-17 조회 5,220
06-04-17 조회 4,491
06-04-14 조회 5,290
06-04-13 조회 4,642
06-04-13 조회 4,238
06-04-13 조회 4,484
06-04-12 조회 3,572
06-04-11 조회 3,940
06-04-09 조회 3,446
06-04-08 조회 4,825
06-04-03 조회 5,848
06-03-30 조회 4,885
06-03-29 조회 2,845
06-03-27 조회 3,914
06-03-25 조회 3,542
06-03-24 조회 3,708
06-03-23 조회 5,601
06-03-21 조회 3,715
06-03-17 조회 4,250
06-03-17 조회 4,108
06-03-15 조회 4,754
06-03-15 조회 4,712
06-03-14 조회 2,955
06-03-11 조회 3,324
06-03-06 조회 3,911
06-03-06 조회 3,553
06-03-06 조회 5,515
06-03-06 조회 4,439
06-03-05 조회 5,219
06-03-04 조회 3,728
06-03-03 조회 3,582
06-03-03 조회 4,041
06-03-01 조회 3,548
06-02-24 조회 3,836
06-02-24 조회 3,553
06-02-23 조회 4,244
06-02-22 조회 2,763
06-02-22 조회 4,068
06-02-22 조회 3,369
06-02-22 조회 3,277
06-02-22 조회 3,371
06-02-19 조회 3,714
06-02-19 조회 3,186