리자

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

· 20년 전 · 3402
* 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>
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

프로그램

+
제목 글쓴이 날짜 조회
19년 전 조회 3,009
19년 전 조회 2,969
19년 전 조회 3,641
19년 전 조회 3,596
19년 전 조회 1,818
19년 전 조회 2,189
19년 전 조회 2,752
19년 전 조회 2,416
19년 전 조회 4,284
19년 전 조회 3,278
19년 전 조회 4,058
19년 전 조회 2,574
19년 전 조회 2,457
19년 전 조회 2,925
19년 전 조회 2,455
19년 전 조회 2,754
19년 전 조회 2,439
19년 전 조회 3,149
19년 전 조회 1,666
19년 전 조회 2,965
19년 전 조회 2,230
19년 전 조회 2,158
19년 전 조회 2,253
19년 전 조회 2,607
19년 전 조회 2,091
19년 전 조회 4,438
19년 전 조회 2,650
19년 전 조회 2,430
19년 전 조회 2,935
20년 전 조회 3,028
20년 전 조회 3,085
20년 전 조회 2,616
20년 전 조회 2,992
20년 전 조회 2,519
20년 전 조회 2,179
20년 전 조회 2,762
20년 전 조회 2,448
20년 전 조회 2,522
20년 전 조회 3,778
20년 전 조회 3,250
20년 전 조회 4,968
20년 전 조회 2,392
20년 전 조회 4,483
20년 전 조회 3,082
20년 전 조회 2,859
20년 전 조회 3,706
20년 전 조회 2,623
20년 전 조회 3,702
20년 전 조회 3,975
20년 전 조회 3,403
20년 전 조회 3,451
20년 전 조회 4,070
20년 전 조회 2,325
20년 전 조회 5,061
20년 전 조회 3,618
20년 전 조회 2,566
20년 전 조회 2,248
20년 전 조회 2,705
20년 전 조회 2,994
20년 전 조회 2,761
bbbking
20년 전 조회 5,744
20년 전 조회 2,669
bbbking
20년 전 조회 4,245
20년 전 조회 2,117
20년 전 조회 7,276
20년 전 조회 2,381
20년 전 조회 3,458
20년 전 조회 4,267
20년 전 조회 2,588
20년 전 조회 3,876
20년 전 조회 3,038
20년 전 조회 4,066
20년 전 조회 5,091
20년 전 조회 4,198
20년 전 조회 5,817
20년 전 조회 2,017
20년 전 조회 3,279
20년 전 조회 3,511
20년 전 조회 2,896
20년 전 조회 2,409
20년 전 조회 4,636
20년 전 조회 2,244
20년 전 조회 2,239
20년 전 조회 1,845
20년 전 조회 1,655
20년 전 조회 3,736
20년 전 조회 4,815
20년 전 조회 2,427
20년 전 조회 3,112
20년 전 조회 5,818
20년 전 조회 2,810
20년 전 조회 2,281
20년 전 조회 4,544
20년 전 조회 2,635
20년 전 조회 2,215
20년 전 조회 2,743
20년 전 조회 2,547
20년 전 조회 2,860
20년 전 조회 3,302
20년 전 조회 2,617
🐛 버그신고