Newsgroups: comp.mail.mh
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!chinch
From: chinch@cs.cornell.edu (Shirish Chinchalkar)
Subject: "From" field in mh
Message-ID: <1991Mar27.194825.2784@cs.cornell.edu>
Originator: chinch@modi.cs.cornell.edu
Sender: news@cs.cornell.edu (USENET news user)
Nntp-Posting-Host: modi.cs.cornell.edu
Organization: Cornell Univ. CS Dept, Ithaca NY 14853
Distribution: na
Date: Wed, 27 Mar 1991 19:48:25 GMT
Lines: 22

    When I use either "dxmail" or "xmh" to send mail from the Decstations,
the "From" field appears as "From: userid@machine" instead of
"From: userid@machine.domain". The problem with this is that the recipient
cannot reply to it using the "r" option in mail, because the domainname
is missing. This does not happen if I use the ordinary UNIX "mail".

    Since both dxmail and xmh are just interfaces to mh, I think the problem
is with some mh configuration. I checked the access times on files in
/usr/new/lib/mh and found that only the files "mtstailor", "MailAliases" and
"components" were accessed. I looked at the man pages of programs such as
send, post, mh-tailor, and tried a few things such as putting
localname: machine.domain in mtstailor and changing the hostname to
machine.domain using the command "hostname" as root; but to no avail.

    sendmail.cf seems to be ok (but then I am no expert) because /usr/ucb/mail
seems to work just fine.

    What am I missing?

      Thanks.

             Shirish.
