Subject: HELP: pine not using FQDN for reply-to address?

From: [email-masked] (Neil Harkins)
Date: 23 May 1995 19:42:42 GMT

Hello, we are using Pine 3.91 on a SOLARIS 2.4 Sparc 20, which is using
smail3.1.29 as the transport. Whenever I send a message to a person on the
system, it fills in @hostname instead of @hostname.domain, and does this
in the reply to field also, so that mail is going out as if were from
user@hostname instead of using [email-masked].
Therefore mail fails to return to me properly. ARGH.

`hostname` returns the hostname
`domainname` returns the domain name

Where does pine look to find out the Fully Qualified Domain Name?

-Neil Harkins
[email-masked]

---

From: Mark Crispin <[email-masked]>
Date: Wed, 24 May 1995 18:47:34 -0700

> user@hostname instead of using [email-masked].

The most likely cause of this is a broken system configuration.  In
particular, it is very likely that your /etc/hosts has an entry that looks
like
	129.25.3.11	dunx1 dunx1.ocs.drexel.edu
whereas the correct entry would be:
	129.25.3.11	dunx1.ocs.drexel.edu dunx1

This is a very common mistake.  Unfortunately, some sorcerer's apprentices
have spread folklore to the effect that the incorrect form is what you
should use.

The incorrect entry causes the gethostbyname() call to return the
non-qualified name as the "official" name, which in turn will also cause
the bad results in Pine.

-- Mark --

DoD #0105, R90/6 pilot, FAX: (206) 685-4045  ICBM: N 47 39'35" W 122 18'39"
Science does not emerge from voting, party politics, or public debate.