I've recently had a strange (for me) sendmail problem on various obsd
boxes.
The config for these different boxes hasn't changed in ages, but for
some
reason, sendmail on them all started up play up all at about the same
time.

Instead of relaying email to localhost as shown below:
Jul 22 20:00:04 int-firewall sm-mta[18685]: k6MA01XY018685:
from=<[EMAIL PROTECTED]
all.sbisolutions.com.au>, size=4919, class=0, nrcpts=1,
msgid=<200607221000.k6MA
[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA,
relay=smm
[EMAIL PROTECTED] [127.0.0.1]

It started doing the following:

Jul 23 00:00:09 int-firewall sm-mta[29790]: k6ME010O004304:
to=<[EMAIL PROTECTED]
l.sbisolutions.com.au>, delay=00:00:03, xdelay=00:00:03, mailer=esmtp,
pri=32018
, relay=int-firewall.sbiso...ons.com.au.com.au. [204.13.161.23],
dsn=4.0.0, stat
=Deferred: Connection refused by
int-firewall.sbisolutions.com.au.com.au.

Note the  ".com.au.com.au" at the end which obviously doesn't exist.
My configuration is unchanged and has been working for months. I don't
have 
".com.au.com.au" listed in any of my config files.

Mail then just started queueing up in /var/spool/mqueue

What ever I've done wrong, I've done wrong in a consistent way as about
5 of 
my other obsd boxes (both 3.8-stable & 3.9-stable) in other locations
all did
a similar thing at the same time.

I couldn't figure out what I did wrong, so just to get things working
again,
it tried adding in an entry to /etc/hosts pointing 
int-firewall.sbisolutions.com.au.com.au to 127.0.0.1

This didn't work as I guess sendmail doesn't use /etc/hosts.

Finally, I added a the domain .com.au.com.au to named, and added in an
entry 
for int-firewall.sbi.... to 127.0.0.1
This horrible hack got things working, but obviously I would like to
find 
out what went wrong.

Any idea's

Thanks,
Craig.

Reply via email to