metcalfe@NPRDC.NAVY.MIL (Margen Metcalfe) (07/30/89)
I recently became the user of a sun 386i. In the past I was using 4.3BSD on VAX 11/780 and a sun 4. Both suns run SUNOS 4.0.1. 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? Thanks, Margen Metcalfe metcalfe@nprdc.navy.mil ------------------------------------------------------------------- #1: From: metcalfe@shadow (Margen Metcalfe) Date: Sat, 29 Jul 89 10:20:59 PDT Organization: Navy Personnel Research and Development Center X-Mailer: Mail User's Shell (6.5 4/17/89) To: metcalfe Subject: shadow Status: OR #2: From: metcalfe (Margen Metcalfe) Date: Sat, 29 Jul 89 10:21:04 PDT Organization: Navy Personnel Research and Development Center X-Mailer: Mail User's Shell (6.5 4/17/89) To: metcalfe Subject: atlantic Status: OR
schaefer@CSE.OGC.EDU (Barton E. Schaefer) (07/30/89)
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