"config error: mail loops back to me"
http://bbs.kldp.org/viewtopic.php?t=27803&highlight=mail+loops+back+to+me
메일을 보내는쪽에서 위링크와 동일한 에러가 발생합니다.
많은 경우가 발생하고 있지만 해결되지 않아서 질문드립니다.
site.zone 파일 입니다.
-----------------------------------------------------
$TTL 86400
@ IN SOA ns.test.com. s0me.test.com. (
20031008 ;serial
21600 ;Refresh ( 6 hours)
1800 ;Retry (30 minutes)
1209600 ;Expire (14 days)
86400) ;Minimum ( 1 day)
IN NS ns.test.com.
IN MX 10 site.co.kr.
IN A 220.95.232.32
ns IN CNAME @
www IN A 220.95.232.32
* IN A 220.95.232.32
@ IN A 220.95.232.32
-----------------------------------------------------
local-host-names 파일입니다.
-----------------------------------------------------
[root@ebiztec mail]# cat local-host-names
# local-host-names - include all aliases for your machine here.
site.co.kr
-----------------------------------------------------
sendmail.cf 입니다.
-----------------------------------------------------
# my LDAP cluster
# need to set this before any LDAP lookups are done (including classes)
#D{sendmailMTACluster}$m
Cwlocalhost
# file containing names of hosts for which we receive email
Fw/etc/mail/local-host-names
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
# host/domain names ending with a token in class P are canonical
CP.
-----------------------------------------------------
echo '$=w' | sendmail -bt -d0.4 명령의 결과입니다.
-----------------------------------------------------
Version 8.12.11
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASL SCANF STARTTLS TCPWRAPPERS
USERDB USE_LDAP_INIT
Canonical name: localhost.localdomain
UUCP nodename: test
a.k.a.: localhost.localdomain
a.k.a.: localhost
a.k.a.: [127.0.0.1]
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = localhost
(canonical domain name) $j = localhost.localdomain
(subdomain name) $m = localdomain
(node name) $k = test
========================================================
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> test
localhost.localdomain
localhost
site.co.kr
[127.0.0.1]
메일을 받는쪽에서의 /var/log/maillog 입니다.
sendmail.cf 에서 LogLevel=99로 했습니다.
----------------------------------------------------
Mar 23 21:05:04 test sendmail[9396]: j2NC54N6009396: Milter: no active filter
Mar 23 21:05:04 test sendmail[9396]: j2NC54N6009396: --- 220 localhost.localdomain ESMTP Sendmail 8.12.11/8.12.11; Wed, 23 Mar 2005 21:05:04 +0900
Mar 23 21:05:04 test sendmail[9396]: j2NC54N6009396: <-- EHLO localhost.localdomain
Mar 23 21:05:04 test sendmail[9396]: j2NC54N6009396: --- 250-localhost.localdomain Hello [211.23.192.32], pleased to meet you
Mar 23 21:05:04 test sendmail[9396]: j2NC54N6009396: --- 250-ENHANCEDSTATUSCODES
Mar 23 21:05:04 test sendmail[9396]: j2NC54N6009396: --- 250-PIPELINING
Mar 23 21:05:04 test sendmail[9396]: j2NC54N6009396: --- 250-8BITMIME
Mar 23 21:05:04 test sendmail[9396]: j2NC54N6009396: --- 250-SIZE
Mar 23 21:05:04 test sendmail[9396]: j2NC54N6009396: --- 250-DSN
Mar 23 21:05:04 test sendmail[9396]: j2NC54N6009396: --- 250-ETRN
Mar 23 21:05:04 test sendmail[9396]: j2NC54N6009396: --- 250-AUTH GSSAPI
Mar 23 21:05:05 test sendmail[9396]: j2NC54N6009396: --- 250-DELIVERBY
Mar 23 21:05:05 test sendmail[9396]: j2NC54N6009396: --- 250 HELP
Mar 23 21:05:05 test sendmail[9396]: j2NC54N6009396: <-- QUIT
Mar 23 21:05:05 test sendmail[9396]: j2NC54N6009396: --- 221 2.0.0 localhost.localdomain closing connection
Mar 23 21:05:05 test sendmail[9396]: j2NC54N6009396: disconnect level 1
Mar 23 21:05:05 test sendmail[9396]: j2NC54N6009396: in background, pid=9396
Mar 23 21:05:05 test sendmail[9396]: j2NC54N6009396: [211.23.192.32] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
---------------------------------------------
EHLO 를 하고 바로 QUIT를 보내고 있습니다.
댓글 달기