sendmail 발송에러좀 봐주세요.
일단 제 서버의 환경을 말씀드리겠습니다.
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


댓글 달기