Article View: comp.mail.mush
Article #102Re: From lines
From: Barton E. Schaefer
Date: Sun, 30 Jul 1989 03:56
Date: Sun, 30 Jul 1989 03:56
48 lines
2617 bytes
2617 bytes
On Jul 29, 10:34am, Margen Metcalfe wrote:
} Subject: From lines
}
} Below are the message headers from my new 386i (shadow) and the sun 4
} (atlantic). As you can see, the 386i adds the machine name in the
} From line, and the sun 4 doesn't. Both are running the same version
} of mush (6.5). I would like for them to be the same as atlantic and
} not add the machine name. Is there a fix or do I need to compile it
} with some different option?
}
} #1:
} From: metcalfe@shadow (Margen Metcalfe)
} #2:
} From: metcalfe (Margen Metcalfe)
There are a couple of reasons why this might be happening, and I can't
tell for sure which it is without knowing a little more about the
situation. For example, those headers appear to have come from mail you
sent to yourself; it would be useful to see what headers mush puts in the
editor file when you "set edit_hdrs" (or use "mail -E").
First of all, the "usual" mush behavior is to use
From: user@hostname
so the 386i is behaving correctly. There are two (actually 3, the third
is a variation of the first) possibilities for the misbehavior of the
sun4. One is that mush is not able to determine the machine's hostname
[the call to gethostname(3) in init.c is failing]. This is unlikely.
The second possibility, a bit more likely, is that the sendmail on the
sun4 is configured to be "picky" and stuffs its own From: into the
messages (which is why it would be interesting to see what mush puts in
the editor file). You should check that the state of the PICKY_MAILER
definition is the same for both the 386i mush and the sun4 mush; if it is
defined for both, then the difference is in the sendmail configurations,
not mush.
The third possibility, and the way to get the 386i mush to stop appending
the hostname, is that hostname is unset or is explicitly set to an empty
string in one of the init files. Try "echo $hostname" on each mush and
see what you get.
Hope that clears things up.
--
Bart Schaefer "And if you believe that, you'll believe anything."
-- DangerMouse
CSNET / Internet schaefer@cse.ogc.edu
UUCP ...{sequent,tektronix,verdix}!ogccse!schaefer
Technical Details
Message-ID:
<8907300356.AA28307@cse.ogc.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!ginosko!husc6!bloom-beacon!CSE.OGC.EDU!schaeferShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ginosko!husc6!bloom-beacon!CSE.OGC.EDU!schaefer From: schaefer@CSE.OGC.EDU (Barton E. Schaefer) Newsgroups: comp.mail.mush Subject: Re: From lines Message-ID: <8907300356.AA28307@cse.ogc.edu> Date: 30 Jul 89 03:56:23 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 48