On Tue, May 16, 2000 at 10:26:05AM -0700, T. N. Venkatesh typed:

>"Local configuration error" .. 
>" MX list for A.nal.res.in points back to mail.nal.res.in"

Ahhh... http://www.sendmail.org/faq/section4.html#4.5 should solve your
problem.  Look at sendmail.cw (which should contain _all_ the permutations
and combinations of mailhosts).

see below --

Subject: Q4.5 -- How can I solve "MX list for hostname points back to
hostname" and "config error: mail loops back to myself" messages?
Date: January 17, 1997 
Updated: May 8, 2000 
I'm getting these error messages: 

        553 MX list for domain.net points back to relay.domain.net
        554 <[EMAIL PROTECTED]>... 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`

Hope this helps

-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
Barach's Rule:
        An alcoholic is a person who drinks more than his own
        physician.

-----------------------------------------------------------------------
Check out the 'What to do before posting to the list' site
for a list of things to try before posting.  The site is
at http://botsie.tripod.com/beforeposting/

Reply via email to