SUMMARY: SMTP problem: Sender domain must exist

From: Stefan Voss (s.voss@terradata.de)
Date: Thu Oct 28 1999 - 04:28:40 CDT


Hi,

thanks to all who responded:

   Tim Carlson <tim@santafe.edu>
   josephc@systems.caltech.edu (Joseph Chiu)
   Michael Brock <michael@ti.com>
   "Howard Boggs" <hboggs@bridgept.com>

SOLUTION
========
The general consensus was to (1) have DNS before NIS and to (2) remove the
[NOTFOUND=return], so that the host entry in /etc/nsswitch.conf now looks like
this:

hosts: files dns nis

After having done this, I got new error messages on the POP3 clients ("Error
503: Need RCPT (recipient)", and sendmail complained in /var/log/syslog about
loosing connections to the POP3 clients) - which I could solve with a reboot of
the SMTP/POP3 server machine.

ORIGINAL PROBLEM
=================

I had an error in my /etc/nsswitch.conf on my SMTP (and NIS master) server which
I corrected this morning. I changed ONLY this line:

hosts: nis [NOTFOUND=return] files dns

Of course, I can't remember, how the line looked before the change (and I
thought, why should I keep that, if I change it, so that it looks now like on
any other machine here [except for the DNS entry] ?!?!?! Sorry, my fault).

BTW: the error was, that "files" was not present, causing error messages during
the interface configuration at bootup.

However, now our PC's cannot send any mail via POP3 (Eudora light), because our
mail server complains:

Oct 27 16:11:56 hera sendmail[1674]: QAA01674: ruleset=check_mail,
arg1=<s.martens@terradata.de>, relay=wincenter [193.97.206.190], reject=501
<s.martens@terradata.de>... Sender domain must exist
Oct 27 16:11:56 hera sendmail[1674]: QAA01674: from=<s.martens@terradata.de>,
size=0, class=0, pri=0, nrcpts=0, proto=SMTP, relay=wincenter [193.97.206.190]

It seems, that some incoming mail is rejected too (at least from certain
adresses/domains, but fortunately not everything from this list).

>From the UNIX boxes, we can send mail (internal and external).

nslookup works fine on this machine...

Does anyone have an idea, what is going wrong ?

FYI, here come some (maybe) useful files from the SMTP server:

/etc/resolv.conf:
domain terradata.de
nameserver 193.101.111.10
nameserver 193.101.111.20
nameserver 192.76.144.66
order local, nis, bind

/etc/hosts:
127.0.0.1 localhost loopback
193.97.206.171 hera loghost TD10 td10 hera.terradata.de mailhost

The NIS map hosts contains this line:
193.97.206.171 hera hera.terradata.de TD10 td10 mailhost

                Stefan

                                      ,,,
                                     (o o)
 --------------------------------o0Oo-(_)-oO0o---------------------------------

  Stefan Voss Phone: 0049 / (0)5130-9775-51
  System and Network Administration Fax: 0049 / (0)5130-9775-10
  TerraData Geophysical Services GmbH e-mail: s.voss@terradata.de
  Zoellners Garten 1
  D - 30900 Wedemark (OT Bissendorf), Germany



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:31 CDT