sendmail.org의 FAQ에 이런게 있더군요....
=======================================================================
I'm getting these error messages:
553 MX list for domain.net points back to relay.domain.net
554 <user at domain.net>... Local configuration error
How can I solve this problem?
You have asked mail to a domain (e.g., domain.net) to be forwarded
to a specific host (in this case, relay.domain.net) by using
an MX record, but the relay machine doesn't recognize itself as domain.net.
Add domain.net to /etc/mail/local-host-names [known as /etc/sendmail.cw prior to version 8.10]
(if you are using FEATURE(`use_cw_file'))
or add "Cw domain.net" to your configuration file.
There are a couple of additional cases where you don't actually
want local delivery, and thus adding domain.net to class w is not
the right fix:
When relay.domain.net should just be acting as a forwarder,
e.g. a firewall/gateway box. The proper fix could be to set up a
mailertable entry for domain.net.
When relay.domain.net is a secondary (etc.) MX, and the MX
mistakenly points to a CNAME or other "non-canonical" name
[this gives "config error: mail loops back to me (MX problem?)"].
The proper fix is to point the MX at the actual name, a "work-around"
to add the MX target to class w.
IMPORTANT: When making changes to your configuration file,
be sure you kill and restart the sendmail daemon
(for any change in the configuration, not just this one):
kill -HUP `head -1 /var/run/sendmail.pid`
======================================================================
결국은 도메인을 제대로 인식을 못하니 sendmail.cw화일을 이용해서
수정을 하라는 내용이더군요. 지금은 잘 돌아갑니다.... 랄라!!!!
:
: 안녕하세요....
:
: i686을 서버로 셋팅해서 메일 서버를 구축하려 합니다.
:
:
: 현재 서버에는 NIC가 한장만 있고, IP도 하나만 할당했죠.
: 그리고 이 서버에 Nameserver와 Sendmail을 설치했는데,
: 내부에서 외부(내부 도메인에서 외부 도메인으로)로의 메일은
: 잘 전송이 되어서 나갑니다.
: 문제는 외부에서 내부 도메인 사용자에게 메일을 보낼때인데요,
:
: 이런 에러가 나오는군요.
:
: 451 4.0.0 MX list for xxx.co.kr. points back to hostname.xxx.co.kr: No such file or directory
: 554 5.3.5 <jkim at xxx.co.kr>... Local configuration error
:
: zone file은 이렇게 구성이 되어 있습니다.
:
: @ IN SOA ns1.xxx.co.kr. root.xxx.co.kr. (
: 2001030700 ; Serial
: 28800 ; Refresh
: 14400 ; Retry
: 3600000 ; Expire
: 86400 ) ; Minimum
: IN NS ns1.xxx.co.kr.
: IN NS ns2.xxx.co.kr.
: IN HINFO "x86 pentium" "Alzza Linux"
: IN MX 10 hostname.xxx.co.kr.
:
: ns1 IN A xxx.xxx.xxx.225
: ns2 IN A xxx.xxx.xxx.228
: hostname IN A xxx.xxx.xxx.225
: www IN A xxx.xxx.xxx.228
: ftp IN A xxx.xxx.xxx.225
:
:
: 어디에서 문제가 생기는 건지요? 제가 MX 레코드를 잘못 설정하였나요?
: sendmail.cw는 아래와 같습니다.
: # local-host-names - include all aliases for your machine here.
: ns1.weknowdesign.co.kr
:
: 이것 때문에 8시간째 헤매고 있지만 뾰족하게 발전이 없군요.
:
: 도움 부탁합니다. 미리 감사....