리자

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

· 20년 전 · 3409
* 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,017
19년 전 조회 2,977
19년 전 조회 3,649
19년 전 조회 3,606
19년 전 조회 1,828
19년 전 조회 2,196
19년 전 조회 2,761
19년 전 조회 2,423
19년 전 조회 4,292
19년 전 조회 3,283
19년 전 조회 4,064
19년 전 조회 2,582
19년 전 조회 2,465
19년 전 조회 2,934
19년 전 조회 2,462
19년 전 조회 2,762
19년 전 조회 2,446
19년 전 조회 3,158
19년 전 조회 1,674
19년 전 조회 2,973
19년 전 조회 2,241
19년 전 조회 2,165
19년 전 조회 2,259
19년 전 조회 2,614
19년 전 조회 2,097
19년 전 조회 4,444
20년 전 조회 2,658
20년 전 조회 2,436
20년 전 조회 2,942
20년 전 조회 3,036
20년 전 조회 3,094
20년 전 조회 2,620
20년 전 조회 2,999
20년 전 조회 2,526
20년 전 조회 2,187
20년 전 조회 2,768
20년 전 조회 2,457
20년 전 조회 2,528
20년 전 조회 3,783
20년 전 조회 3,257
20년 전 조회 4,976
20년 전 조회 2,397
20년 전 조회 4,490
20년 전 조회 3,089
20년 전 조회 2,867
20년 전 조회 3,712
20년 전 조회 2,630
20년 전 조회 3,709
20년 전 조회 3,982
20년 전 조회 3,410
20년 전 조회 3,458
20년 전 조회 4,077
20년 전 조회 2,332
20년 전 조회 5,066
20년 전 조회 3,625
20년 전 조회 2,572
20년 전 조회 2,255
20년 전 조회 2,713
20년 전 조회 3,001
20년 전 조회 2,770
bbbking
20년 전 조회 5,751
20년 전 조회 2,674
bbbking
20년 전 조회 4,253
20년 전 조회 2,123
20년 전 조회 7,285
20년 전 조회 2,387
20년 전 조회 3,464
20년 전 조회 4,273
20년 전 조회 2,593
20년 전 조회 3,883
20년 전 조회 3,045
20년 전 조회 4,073
20년 전 조회 5,099
20년 전 조회 4,204
20년 전 조회 5,823
20년 전 조회 2,028
20년 전 조회 3,284
20년 전 조회 3,515
20년 전 조회 2,902
20년 전 조회 2,415
20년 전 조회 4,642
20년 전 조회 2,251
20년 전 조회 2,244
20년 전 조회 1,850
20년 전 조회 1,659
20년 전 조회 3,742
20년 전 조회 4,819
20년 전 조회 2,435
20년 전 조회 3,116
20년 전 조회 5,823
20년 전 조회 2,815
20년 전 조회 2,286
20년 전 조회 4,549
20년 전 조회 2,642
20년 전 조회 2,219
20년 전 조회 2,749
20년 전 조회 2,552
20년 전 조회 2,866
20년 전 조회 3,308
20년 전 조회 2,623
🐛 버그신고