SUMMARY: sendmail loop errors and MX problems

From: Dave McFerren (davem@cp.tybrin.com)
Date: Thu May 09 1996 - 15:02:59 CDT


Hello Sun-Managers,

First, the two original pleas...
1.
--------------------------------------------------------------------
I have had lots of help from this group, and I hope I can count on you again for some answers.

I have recently moved my mailhost from sunfish to blue. Then upgraded blue to Solaris 2.5. The mail runs without a hitch if I address it using a format of user@cp.tybrin.com, or to user@blue.cp.tybrin.com. However, there are a lot of people out in the internet that are still trying to mail to user@sunfish.cp.tybrin.com, and my mailer accepts the mail, and then tells the Mailer-Daemon

   ----- Transcript of session follows -----
553 blue config error: mail loops back to myself
554 <davem@sunfish>... Local configuration error

How do I get my mail server to recognise these other host addresses? It apparently accepts the mail, but doesn't deliver it. I am almost positive that it has to do with the sendmail.cf file, but I have tried just about everything that I can think of. I have even scanned the sun-managers archives to see if it can help. I am currently studying the Sendmail book from O'Reilly in hopes that it will give me some clues. I'm hoping that someone will have had this problem before, and save me days or weeks of trial and error testing.
------------------------------------------------------------------
2.
------------------------------------------------------------------
Originally I had problems with my mail... I was getting errors that looked like

> ----- Transcript of session follows -----
> 553 blue config error: mail loops back to myself
> 554 <davem@sunfish>... Local configuration error
>

Many have written to tell me that it was the Cw or Cm line in the sendmail.cf file. I already had that line in it, so that wasn't the problem. One said that
I should have a

O TryNullMXList

 line in the sendmail.cf file. Tried it but no go. I eventually found that there
was a conflict in DNS of who the addressee of cp.tybrin.com was. I changed the
named file to look like this...

@ IN SOA cp.tybrin.com. davem.cp.tybrin.com. (
                                96051226 ;serial
; 7200 ;refresh (3 hours)
                                200 ;refresh (3 hours)
                                300 ;retry (5 minutes)
                                1209600 ;expire (14 days)
                                86400 ;minimum (1 day)
                        )
        IN NS sunfish.cp.tybrin.com.
        IN NS ns2.psi.net.
        IN NS hq.tybrin.com.
        IN NS tarpon.cp.tybrin.com.
;
blue IN A 199.99.171.3
cp.tybrin.com. IN A 199.99.171.10
                IN MX 0 blue.cp.tybrin.com.
;
sunfish IN A 199.99.171.10
                IN MX 0 blue.cp.tybrin.com.
;

Now everything works if I send mail to davem@cp.tybrin.com, or to davem@blue.cp.tybrin.com,
but if I send mail to davem@sunfish.cp.tybrin.com, the mail is indeed delivered, but I get a bounced message that says

   ----- Transcript of session follows -----
554 MX list for sunfish points back to blue

and I get the same message bounced to root. I am starting to get frustrated enough to download the latest V8 of sendmail and install that. At least there is more documentation on it than I have found anywhere for the latest Sun version. Can anyone help me on this one?
-----------------------------------------------------------------
-----------------------------------------------------------------

Now for the answer... It was a problem with my DNS files. I changed them from the above configuration to read like so...

@ IN SOA cp.tybrin.com. davem.cp.tybrin.com. (
                                96051228 ;serial
; 7200 ;refresh (3 hours)
                                200 ;refresh (3 hours)
                                300 ;retry (5 minutes)
                                1209600 ;expire (14 days)
                                86400 ;minimum (1 day)
                        )
        IN NS sunfish.cp.tybrin.com.
        IN NS ns2.psi.net.
        IN NS hq.tybrin.com.
        IN NS tarpon.cp.tybrin.com.
;
blue IN A 199.99.171.3
cp.tybrin.com. IN A 199.99.171.10
;
sunfish IN A 199.99.171.10
edgar IN A 199.99.171.89
*.cp.tybrin.com IN MX 10 blue.cp.tybrin.com.

I guess for some reason, the mailer liked 10 instead of 0 for the preference in this file.

Thanks to the following people for thier input and help.
i.camm@fml.co.uk (Ian Camm)
"Brad Burdick [UUcom]" <bburdick@radio.com>
Bruce Wynn <wynn@psa.pencom.com>
Reto Lichtensteiger <rali@meitca.com>
Kent R Arnott <karnott@falcon.tamucc.edu>
Dave Zavatson <dhzavatson@ucdavis.edu>
Derrick Cole - Information Patriot <derrick.cole@ssds.com>
Chad Smith <Chad.Smith@genetics.utah.edu>
Marina.Daniels@ccd.tas.gov.au (Marina Daniels)
Martin Espinoza <drink@sei.com>
Claus Assmann <ca@informatik.uni-kiel.de>
Larry Chin <larry@ca.cch.com>

Most of these replies indicated that I should look at my Cm or Cw line.
However, one relpy pointed me to a web page that had lots of helpful hints...
http://www.informatik.uni-kiel.de/~ca/email/english.html

Hope some of this helps others in the future.

----------------------------------------
Dave McFerren
Tybrin Commercial Systems Administrator
davem@cp.tybrin.com
904-664-6144 fax 904-664-6377
----------------------------------------
"It never hurts to help!" - Eek the Cat.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:59 CDT