Gentoo 메일서버 관련입니다.

이현연의 이미지

지금 Gentoo를 설치하고 메일서버 설치는 하지 않았습니다.

그런데 "telnet localhost 25"를 하니깐 메일 서버가

동작중이네요. 그래서 "ps -ef | grep mail"을 하니깐

암것도 안뜹니다. 동작되고 있는 메일 서버 데몬도 없는데

왜 메일서버가 정상 동작하는 걸까요?

박영선의 이미지

혹시 inetd 아닐까요??

^^;;

이현연의 이미지

혹시 inetd가 메일서버 프로그램인가요?

그리고 "ps -ef | grep xinetd"를 해도 아무것도 안뜨네요..

無知가 罪 !

lica619의 이미지

#netstat -lnp | more로 우선 mail daemon이 동작하고 있는지 확인하시고
나와 있는 PID로 우선 kill하면 daemon은 죽일 수 있을 것이구요.

어디서 기동이 되는지 찾아보시는 거이 우선이겠네요.
#lsof -p PID 하면 그 PID와 관련된 모든 화일이 출력이 됩니다.
참고하세요

이현연의 이미지

Gentoo root # netstat -lnp |more
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 2917/proftpd: (acce
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2956/sshd2
udp 0 0 0.0.0.0:68 0.0.0.0:* 2863/dhcpcd
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path

이렇게 밖에 안나옵니다. 어딜봐도 메일서버 데몬은 안보입니다.
이거 신기하네요..

無知가 罪 !

박영선의 이미지

혹시 "localhost25" 란 호스트가 있는거 아닐까요??

음...

25번포트 열려있는건 확실한가요?

텔넷해보면 어떤반응이 있는제 올려보실래요?

^^;;

이현연의 이미지

#telnet glu.cc 25

한번 해 보세요.. 정말 메일서버가 뜰껍니다.

無知가 罪 !

박영선의 이미지

[root@web01 root]# telnet glu.cc 25
Trying 222.113.11.155...
telnet: connect to address 222.113.11.155: Connection refused
[root@web01 root]#

안뜨네요...ㅡㅡ;;

^^;;

이현연의 이미지

지금 전 회산데요..

xp에서 시작-> 실행 에서 아래와 같이 입력했어요

telnet glu.cc 25

그러니깐 다음과 같이 나오는데요..

220 FW-2.khnp.co.kr ESMTP Fri, 12 Mar 2004 11:46:43 KST

無知가 罪 !

박영선의 이미지

G:\Documents and Settings\admin>telnet glu.cc 25
연결 대상 glu.cc...호스트에 연결할 수 없습니다. 포트 25: 연결하지 못했습니다.

G:\Documents and Settings\admin>ping glu.cc

Pinging glu.cc [222.113.11.155] with 32 bytes of data:

Reply from 222.113.11.155: bytes=32 time=30ms TTL=53
Reply from 222.113.11.155: bytes=32 time=8ms TTL=53

IP를 확인해보실래요?

아마도 DNS캐시에 문제가있거나 hosts 파일이 조작됐거나...

^^;;

송지석의 이미지

http://kltp.kldp.org/stories.php?story=04/02/23/1278181
열린 포트당 연결 수 구하는 스크립트인데 도움이 되실 수도..

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.