리자

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

· 2005-12-16 (금) 18:48:15 · 4630
* 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-02-02 조회 5,540
06-01-27 조회 3,800
06-01-27 조회 3,582
06-01-26 조회 4,027
06-01-20 조회 4,164
06-01-19 조회 4,212
06-01-15 조회 3,743
06-01-13 조회 4,114
06-01-10 조회 3,701
06-01-10 조회 3,273
06-01-09 조회 3,893
06-01-05 조회 3,557
06-01-05 조회 3,645
06-01-05 조회 4,920
06-01-04 조회 4,385
06-01-04 조회 6,130
05-12-30 조회 3,488
05-12-30 조회 5,633
05-12-30 조회 4,260
05-12-29 조회 4,024
05-12-27 조회 4,862
05-12-23 조회 3,773
05-12-21 조회 4,958
05-12-21 조회 5,199
05-12-16 조회 4,631
05-12-09 조회 4,661
05-12-05 조회 5,265
05-12-01 조회 3,499
05-11-30 조회 6,247
05-11-30 조회 4,801
05-11-29 조회 3,714
05-11-26 조회 3,383
05-11-10 조회 3,839
05-11-09 조회 4,150
05-11-09 조회 3,932
bbbking
05-11-05 조회 6,910
05-10-23 조회 3,816
bbbking
05-10-22 조회 5,443
05-10-20 조회 3,275
05-10-13 조회 8,461
05-10-09 조회 3,559
05-09-29 조회 4,596
05-09-28 조회 5,426
05-09-27 조회 3,688
05-09-27 조회 4,969
05-09-24 조회 4,202
05-09-23 조회 5,212
05-09-22 조회 6,200
05-09-22 조회 5,286
05-09-21 조회 6,950
05-09-15 조회 3,161
05-09-11 조회 4,361
05-09-08 조회 4,606
05-09-08 조회 4,014
05-09-08 조회 3,497
05-09-05 조회 5,714
05-09-04 조회 3,304
05-09-02 조회 3,271
05-09-02 조회 2,923
05-09-02 조회 2,712
05-09-01 조회 4,789
05-09-01 조회 5,923
05-08-31 조회 3,531
05-08-31 조회 4,208
05-08-25 조회 6,903
05-08-25 조회 3,927
05-08-21 조회 3,370
05-08-19 조회 5,635
05-08-18 조회 3,728
05-08-18 조회 3,323
05-08-17 조회 3,832
05-08-16 조회 3,699
05-08-14 조회 3,956
05-08-14 조회 4,430
05-08-08 조회 3,725
05-08-07 조회 5,803
05-08-05 조회 4,282
05-08-04 조회 5,624
05-08-01 조회 4,076
05-07-29 조회 5,190
05-07-29 조회 5,418
05-07-28 조회 8,097
05-07-27 조회 4,881
05-07-25 조회 3,807
05-07-24 조회 5,455
05-07-24 조회 3,265
05-07-22 조회 5,325
05-07-21 조회 4,790
05-07-21 조회 3,615
05-07-19 조회 5,888
bbbking
05-07-19 조회 3,540
05-07-16 조회 5,563
05-07-15 조회 4,645
05-07-14 조회 4,705
05-07-13 조회 4,867
05-07-12 조회 4,253
05-07-12 조회 6,986
05-07-11 조회 4,001
05-07-08 조회 6,873
bbbking
05-07-08 조회 3,379