[펌] REDHAT Linux 7.3 이상 sendmail 8.11.6 이상 CONNECTION REFUSED 문제
* 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>
최근 버전의 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>
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 266 | 기타 |
|
20년 전 | 2907 | |
| 265 | JavaScript |
|
20년 전 | 3464 | |
| 264 | 기타 |
|
20년 전 | 4627 | |
| 263 | 기타 |
|
20년 전 | 3795 | |
| 262 | 기타 |
|
20년 전 | 5729 | |
| 261 | 기타 | 20년 전 | 4468 | ||
| 260 | 기타 |
|
20년 전 | 3913 | |
| 259 | JavaScript |
|
20년 전 | 18475 | |
| 258 | Flash | 20년 전 | 7686 | ||
| 257 | 기타 | 20년 전 | 4137 | ||
| 256 | 기타 |
|
20년 전 | 6915 | |
| 255 | 기타 | 20년 전 | 3854 | ||
| 254 | 기타 | 20년 전 | 4119 | ||
| 253 | 기타 | 20년 전 | 3626 | ||
| 252 | 기타 | 20년 전 | 4052 | ||
| 251 | 기타 | 20년 전 | 4028 | ||
| 250 | 기타 | 20년 전 | 3771 | ||
| 249 | JavaScript | 20년 전 | 3885 | ||
| 248 | 기타 | 20년 전 | 4271 | ||
| 247 | 기타 | 20년 전 | 5046 | ||
| 246 | JavaScript |
|
20년 전 | 5205 | |
| 245 | PHP | 20년 전 | 5483 | ||
| 244 | Flash |
허저비
|
20년 전 | 7581 | |
| 243 | 기타 |
|
20년 전 | 8149 | |
| 242 | JavaScript | 20년 전 | 5371 | ||
| 241 | JavaScript | 20년 전 | 4577 | ||
| 240 | 기타 | 20년 전 | 5004 | ||
| 239 | 기타 | 20년 전 | 3084 | ||
| 238 | 기타 | 20년 전 | 2856 | ||
| 237 | 기타 | 20년 전 | 4426 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기