sendmail 553 에러 좀 봐주세요.

maenong의 이미지

안녕하세요 sendmail 사용하려고 하는데... 자꾸 에러가 나네요..

현재 telnet mega.co.kr 25 로 접속하여
mega@hanmail.net 으로 테스트 메일을 보낼수 있으나 한메일이나 아웃룩 등에서 mega@mega.co.kr 로 메일을 보내면 아래와 같은 메시지가 뜨네요..

현재 서버호스팅을 받고 있으며 서버자체 DNS는 구동하고 있지 않고 있습니다.
아래와 같이 셋팅하였는데.. 위와 같은 상황이 발생하네요...
고수님들 함 바주세요.... ^^

* 도메인명은 임의 수정한 것입니다.

셋팅상태

0. /etc/mail/sendmail.mc 에서 Addr=127.0.0.1 부분 삭제한뒤 /etc/mail/sendmail.cf 파일 다시 생성

1. /etc/mail/local-host-names
mega.co.kr

2. /etc/mail/access
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY

mega.co.kr RELAY

3. /etc/mail/virtusertable
mega@mega.co.kr mega

4. /etc/mail/relay-domains
mega.co.kr

++++++++++++++ 에러메시지 +++++++++++++

The original message was received at Mon, 10 Nov 2003 22:45:21 +0900
from [111.11.1.1]

----- The following addresses had permanent fatal errors -----
<mega@mega.co.kr>
(reason: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1))

----- Transcript of session follows -----
... while talking to mail.megajapan.co.kr.:
>>> DATA
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
550 5.1.1 <mega@mega.co.kr>... User unknown
<<< 503 RCPT first (#5.5.1)

Reporting-MTA: dns; smail-104.hanmail.net
Arrival-Date: Mon, 10 Nov 2003 22:45:21 +0900

Final-Recipient: RFC822; mega@mega.co.kr
Action: failed
Status: 5.1.3
Remote-MTA: DNS; mail.megaja.co.kr
Diagnostic-Code: SMTP; 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Last-Attempt-Date: Mon, 10 Nov 2003 22:45:25 +0900

lobsterman의 이미지

<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
550 5.1.1 <mega@mega.co.kr>... User unknown
<<< 503 RCPT first (#5.5.1)

아마도 완벽한 패키징이 되지 않는듯 합니다.

도메인 설정이 되지않으시면 아마도 로칼로만 사용이 가능하겠읍니다.

Quote:
0. /etc/mail/sendmail.mc 에서 Addr=127.0.0.1 부분 삭제한뒤 /etc/mail/sendmail.cf 파일 다시 생성

로칼설정은 유효한 부분이니 삭제를 하여야 될 부분은 아닙니다.

도메인과 연동될시는 아래와 같이 설정을 하십시오

Quote:
/etc/mail/sendmail.mc 에서 Addr=0.0.0.0

참고가 되셨으면 하네요...

무한한 상상력과 강한실행욕구는 엔지니어의 마지막 무기~

maenong의 이미지

답변해 주셔서 감사합니다.
근데.. 말씀해 주신데로 수정해도 안되네요...

음.... 제 서버에서 외부로 메일은 보낼수 있는데.... 외부에서 들어오는게 안되니... 쩝... DNS하고 연동문제인가 생각도 들고.... 계속 이것저것 해보구 있습니다.. 언젠간 되겠져 머... ^^

jw0717의 이미지

dns에 님의 메일서버가 그러니까.. mega.co.kr이 등록이 되어잇나요?

만약 안되있어도 당근 로컬에서는 보내지겠구요..

보내는것도.. resolv.conf에 외부 dns가 올라있으면 보내지는것도 보내지는데

받는건 외부 dns에 님의 메일서버가 mx레코드로 확실히

안잡혀있음 안보내집니다.

maenong의 이미지

물론 dns에는 mega.co.kr이 등록되어있습니다.

지금 웹서버는 잘돌아가는데.. 메일서버가 저의 무지로... ㅠ.ㅠ

호스팅 받는 업체에 문의를 해야하는데... 내일 아침이나 가능할듯 하네요.

답변해 주셔서 감사합니다.

maenong의 이미지

서버 호스팅 받는 업체에 문의하였더니...

해결해 주었네요...

아래는 호스팅 업체의 답변입니다.

위와 같은 현상은 현재 고객님의 mail MX 필드가 저희 메일서버 111.11.1.1로

설정되어있어서 발생하는 현상입니다.

고객님 서버 ip로 MX레코드를 수정해 드리겠습니다.

관심을 가지고 답변해 주신 고수님들께 감사드립니다.

댓글 달기

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