My original question was:
>
>Helo managers:
>
>(2) email works fine when a mailhost is defined at /etc/hosts file and
> dns is not used. But it does not work if in the /etc/nsswitch.conf
> a dns is added at the hosts: line, no matter /usr/lib/sendmail.mx
> or /usr/lib/sendmail.nomx is used. Here is the error message:
>====================
>terry% /usr/lib/sendmail -v fan@terry.cath.upmc.edu </dev/null
>fan@terry.cath.upmc.edu... Connecting to terry.cath.upmc.edu via ether...
>Trying 128.147.157.88... connected.
>220 terry. Sendmail 5.0/SMI-SVR4 ready at Tue, 11 Oct 1994 13:16:23 +0500
>>>> HELO terry.
>553 terry. host name configuration error
At least, one definitive solution is to set mail local domain name at
sendmail.cf by DmDOMAINNAME, then everything works.
Thanks to
rwing!pat@ole.cdac.com (Pat Myrto)
rauthenberg@hhi.de (Stefan Rauthenberg)
Eckhard.Rueggeberg@ts.go.dlr.de (Eckhard Rueggeberg)
tkevans@eplrx7.es.dupont.com (Tim Evans)
-- Ningping Fan, | Tel: 412-647-6992 F392 PUH | Fax: 412-647-8117 School of Medicine, | Email: fan@tammy.cath.upmc.edu Univ. of Pittsburgh, | Pittsburgh, PA 15213 | Respect is a virtue of humanity.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:11 CDT