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