sendmail 발송에러좀 봐주세요.

zazaroni의 이미지

일단 제 서버의 환경을 말씀드리겠습니다.
centos4.4 웹서버,메일서버(네임서버)

idc 센타에 스위칭허브에 웹서버(xxx.xxx.xxx.1 이라고 가정)와 메일서버(네임서버)기능을 하는 (xxx.xxx.xxx.2) 서버가 물려있습니다.

문제는 집에있는컴에서 아웃룩으로 2번서버에 있는 메일계정을 설정을 하고 보내기/받기 하면 모두 잘됩니다.

그리고 1번서버에서 telnet localhost 25 으로 해서 네이버나 다른 포탈사이트로 메일을 보내도 잘 가집니다.

근데 문제는 1번서버에서 php로 폼메일또는 telnet localhost 25 를 하면 2번(메일서버 & 네임서버)로 메일이 안가집니다.

이 도메인에 대한 존파일은 2번서버에 있습니다.

2번서버에서 local-host-names 등록되 있구요, access파일에도 두아이피 모두 릴레이 설정해놓았습니다.
local-host-names 에 도메인.com,mail.도메인.com 모두 등록해놨습니다.

혹시 몰라서 존파일하고 메일로그 입니다. 고수님들 많은 조언 좀 부탁드립니다. 이 문제때문에 4일동안 아무것도 못하고 계속 삽집하고 있네요..

많은 채찍 부탁드립니다.

존파일입니다.
$TTL 86400
@ IN SOA ns.도메인.co.kr. ns1.도메인.co.kr. (
2007100323 ; Serial
6H ; Refresh
30M ; Retry
1W ; Expire
3H) ; Minimum
IN NS ns.도메인.co.kr.
IN NS ns1.도메인.co.kr.
IN A xx.xx.xx.1
IN MX 10 mail.도메인.co.kr.
ns IN A xxx.xxx.xxx.xxx
ns1 IN A xxx.xxx.xxx.2
mail IN A xxx.xxx.xxx.2
www IN A xxx.xxx.xxx.1
도메인.co.kr. IN TXT "v=spf1 ip4:xxx.xxx.xxx.2 -all"

1번서버에 telnet localhost 25 이렇게해서 메일을 보내면 /var/log/maillog 에 나오는 에러문구입니다.

Oct 4 00:14:22 jacc sendmail[10527]: l93EjhuO010527: Authentication-Warning: localhost.localdomain: jacc [127.0.0.1] didn't use HELO protocol
Oct 4 00:14:27 jacc sendmail[10527]: l93EjhuO010527: Syntax error in parameters scanning "jspark@도메인"
Oct 4 00:14:39 jacc sendmail[10527]: l93EjhuO010527: from=zazaroni@naver.com, size=8, class=0, nrcpts=1, msgid=<200710031514.l93EjhuO010527@localhost.localdomain>, proto=SMTP, daemon=MTA, relay=jacc [127.0.0.1]
Oct 4 00:14:39 jacc sendmail[10656]: l93EjhuO010527: SYSERR(root): mail.도메인.co.kr. config error: mail loops back to me (MX problem?)
Oct 4 00:14:39 jacc sendmail[10656]: l93EjhuO010527: to=jspark@도메인, delay=00:00:03, xdelay=00:00:00, mailer=esmtp, pri=120008, relay=mail.도메인.co.kr. [211.58.254.140], dsn=5.3.5, stat=Local configuration error
Oct 4 00:14:39 jacc sendmail[10656]: l93EjhuO010527: l93FEduN010656: DSN: Local configuration error
Oct 4 00:14:39 jacc sendmail[10656]: l93FEduN010656: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=61430, dsn=2.0.0, stat=Sent

댓글 달기

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