sendmail 에서 550 5.7.1 에러가 발생합니다.

zepinos의 이미지

메일을 받을 때 퍼미션이 없다는 에러가 발생합니다.
auth 를 위한 설정 외에는 건드린 것은 없습니다.
보낼 때에는 인증을 해서 잘 보내집니다.
유독 메일을 받을 때에만 전부 위와 같은 에러를 뿌리면서 반송되어 버립니다.
dns 세팅도 조금 의심스럽습니다.
받을 때 이런 에러가 난다는 글도 못찾겠네요.
왜 이런 문제가 발생하는지 아시는 분께 도움을 부탁합니다.

zepinos의 이미지

에러를 좀 잘못 적었습니다.

The original message was received at Thu, 14 Aug 2003 03:10:45 +0900
from [211.212.xxx.xxx]

----- The following addresses had permanent fatal errors -----
<zebec@xxxxxxxxxxxxxx>
(reason: 550 5.7.1 <zebec@xxxxxxxxxxxxxx>... Relaying denied. IP name
lookup failed [203.229.xxx.xxx])

----- Transcript of session follows -----
... while talking to mail.xxx.co.kr.:
>>> RCPT To:<zebec@xxxxxxxxxxxxxx>
<<< 550 5.7.1 <zebec@xxxxxxxxxxxxxx>... Relaying denied. IP name lookup
failed [203.229.xxx.xxx]
550 5.1.1 <zebec@xxxxxxxxxxxxxx>... User unknown

초반에는 MTA 관련 에러가 로그에 쌓였는데, 지금은 로그상에는 아무런 에러 메세지도 발생하지 않네요.
DNS 세팅에도 의심을 하고 있지만, 특별히 다른 곳의 서버와 비교해도 이상은 없어 보입니다.
답변 부탁 드립니다.

lobsterman의 이미지

Quote:
----- The following addresses had permanent fatal errors -----
<zebec@xxxxxxxxxxxxxx>
(reason: 550 5.7.1 <zebec@xxxxxxxxxxxxxx>... Relaying denied. IP name
lookup failed [203.229.xxx.xxx])

위의 에러를 보니 아마도 /etc/mail/sendmail.mc 화일설정이 잘못 된것 같은데요...

DEAMON_OPTIONS('Port=smtp,Addr=127.0.0.1,NAME=MTA') 부분을 찾으셔서

smtp,Addr=127.0.0.1 부분은 smtp,Addr=0.0.0.0 으로 수정하신 다음 샌드메일 restart 를 하신 하신 후

재확인해 보세요...

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

supersky의 이미지

혹시 tcp_warpper사용하시는지요?? 사용하신다면

/etc/hosts.allow파일에 아래와 같이 추가해보세요.
sendmail:ALL

/etc/rc.d/init.d/xinetd restart하시구요..

도움이 되었으면 합니다.

void main()
{
printf("Hello World\n");
exit(0);
}
/* 초심으로 돌아가자~~~~~ */

zepinos의 이미지

Aug 14 13:29:40 ubsc sm-mta[628]: h7E4TZVn000628: ruleset=check_rcpt, arg1=<zebec@ubsc.co.kr>, relay=[203.229.170.14], reject=550 5.7.1 <zebec@ubsc.co.kr>... Relaying denied. IP name lookup failed [203.229.170.14]
Aug 14 13:29:40 ubsc sm-mta[628]: h7E4TZVn000628: from=<zebec@newtypez.net>, size=523, class=0, nrcpts=0, bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=[203.229.170.14]

물론 반송되는 메일은 아래와 같이 옵니다.

The original message was received at Thu, 14 Aug 2003 14:19:25 +0900
from [203.251.169.144]

----- The following addresses had permanent fatal errors -----
<zebec@ubsc.co.kr>
(reason: 550 5.7.1 <zebec@ubsc.co.kr>... Relaying denied. IP name lookup failed [203.229.170.14])

----- Transcript of session follows -----
... while talking to ubsc.co.kr.:
>>> RCPT To:<zebec@ubsc.co.kr>
<<< 550 5.7.1 <zebec@ubsc.co.kr>... Relaying denied. IP name lookup failed [203.229.170.14]
550 5.1.1 <zebec@ubsc.co.kr>... User unknown

/etc/mail 안에 sendamil.cf 만 있을뿐, sendmail.mc 화일이 존재하지도 않습니다.

zepinos의 이미지

해결했습니다.
저의 초보적인 실수 때문이었습니다.
local-host-names 화일이 없길래...없어도 되겠지...하고 그냥 놔뒀었는데 그 안에 메일 서버의 도메인 네임을 적어주니 제대로 받는군요.

초보적인 실수였었습니다.
관심 가져주신 lobsterman 님과 supersky 님께 감사드립니다.

댓글 달기

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