My original question was:
>(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 firstname.lastname@example.org </dev/null
>email@example.com... Connecting to terry.cath.upmc.edu via ether...
>Trying 184.108.40.206... 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.
firstname.lastname@example.org (Pat Myrto)
email@example.com (Stefan Rauthenberg)
Eckhard.Rueggeberg@ts.go.dlr.de (Eckhard Rueggeberg)
firstname.lastname@example.org (Tim Evans)
-- Ningping Fan, | Tel: 412-647-6992 F392 PUH | Fax: 412-647-8117 School of Medicine, | Email: email@example.com 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