[질문] Sendmail 네트웍 문제. 해결해주세요...

익명 사용자의 이미지

[질문] Sendmail 네트웍 문제. 해결해주세요..

안녕하세요...
Sendmail를 이용해서 Mail 서버를 운영할려고 합니다...
제 서버는 Web(APM구동), FTP, Telnet, SSH, SMTP, POP3 이 정도로 운영하
고 싶습니다.
제 서버는 DNS서버는 하지 않습니다...

Sendmail를 이용해서 메일서버를 구축을 했는데.. 네트웍 관련해서 문제인
것 같습니다..
학과에서 운영하는것인데 학교 도메인이 예를들어서 adsl.ac.kr 입니다...
학과 서버는 xxx.adsl.ac.kr 입니다...

학과 서버에서 local로 25포트로 접속을 하면.. 출력이 이렇게 나옵니다.

[root@xxx root]# telnet xxx.adsl.ac.kr 25
Trying 21X.xxx.xxx.xxx...
Connected to xxx.adsl.ac.kr
Escape character is '^]'.
220 xxx.adsl.ac.kr ESMTP Sendmail 8.11.6/8.11.6; Fri, 22 Feb 2002
144644 +0900
~~~~~~~~~~~~~~
외부에서 접속시에 (저희집에서) 출력이 이렇게 나옵니다.

[root@house root]# telnet xxx.adsl.ac.kr 25
Trying 21X.xxx.xxx.xxx...
Connected to xxx.adsl.ac.kr.
Escape character is '^]'.
220 adslfw.adsl.ac.kr ESMTP Fri, 22 Feb 2002 145216 KST
~~~~~~~~~~~~~~~~~
이렇게 출력이 됩니다.

xxx.adsl.ac.kr, adslfw.adsl.ac.kr 이 2개의 주소가 각각 로컬일때와 외
부일때와 다르게 출력
됩니다...
그래서 adslfw.adsl.ac.kr을 어떤 컴퓨터인가 알아 보았는데.. ping
adslfw.adsl.ac.kr 이렇게
명령을 주닌깐... 없는 컴퓨터로 나옵니다..... 아이피도 없고.....

그래서 학과 서버 local로 sendmail 포트를 닫아 버렸습니다...
[root@xxx root]# service sendmail stop

이렇게 하고 포트를 확인해서 25포트가 없어진것 까지 확인을 했습니
다....
그래서 다시 저희집에서 접속을 해보았습니다...

[root@house root]# telnet xxx.adsl.ac.kr 25
Trying 21X.xxx.xxx.xxx...
Connected to xxx.adsl.ac.kr.
Escape character is '^]'.
220 adslfw.adsl.ac.kr ESMTP Fri, 22 Feb 2002 145216 KST

이렇게 출력이 됩니다.... 충격이었네요... 휴~~~ 왜그런건지.... 학교측
에서 문제가 있는듯
아마 네트웍 그쪽에 문제인것 같아서요.. 질문을 합니다....
학교측 메일서버로 접속이 되는건지....

[root@xxx root]# <--- 학과 서버 Local 입니다...
[root@house root]# <--- 제 컴퓨터(저희 집 컴퓨터 입니다.) 외부..

혼동할까봐여...

ftp, telnet 은 정상적으로 작동을 하는데 Sendmail이 이상하네요...
다시 Sendmail SMTP 25포트을 다시 열어 놓고... 집에서 nmap으로 포토 스
캔을 했습니다.
nmap -p 25 xxx.adsl.ac.kr 정상적으로 열려 있다고 하는데요
아이피도 맞고....

#참고# 아직 Web(APM) 아직 설치 안했습니다..... Mail서버 완성된후 Web
서버 구축할려고 합니
다.

익명 사용자의 이미지

ip 로 접근해보셨습니까? 그때는 어떤가요?

익명 사용자의 이미지

아이피로 접근해보았습니다... 결과는 질문한 내용과 같습니다.

익명 사용자의 이미지

한참 썼는데 패스워드가 없다면서 쓴 내용이 날아가버리네요. -_-;;
요점만 다시 쓰자면..

학내와 외부에서 ip 로 접근할 때 같은 주소가 찍히면 dns 문제가 아니다.
(localhost 를 잘못 alias 하거나 하는 경우가 아니라면)
그렇다면 sendmail.cf 에서 오류를 찾아보는 편이 좋다.

# egrep -i 'xxx|adslfw' /etc/sendmail.cf /etc/hosts

해보세요. 어딘가에 잘못된 설정이 있지는 않은지 찾으셔야겠네요.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.