Newsgroups: comp.sys.next
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usenet
From: Garance_Drosehn@mts.rpi.edu
Subject: Re: NeXT Mail - Domain appending twice
Message-ID: <lkvg9bn@rpi.edu>
Nntp-Posting-Host: gilead.its.rpi.edu
Reply-To: gad@eclipse.its.rpi.edu
Organization: Rensselaer Polytechnic Institute
References: <Apr.24.14.35.04.1991.25124@pilot.njin.net>
Date: 25 Apr 91 19:46:18 GMT
Lines: 39

In article <Apr.24.14.35.04.1991.25124@pilot.njin.net> 
           troch@pilot.njin.net (Rod Troch) writes:
>I recall seeing this problem described earlier.  It is the problem in
>which the NeXT Mail is appending the domain to a complete header.  The
>result is something like this: troch@bart.kean.edu.kean.edu
>
>Have any of the other people on the net who had this problem get it
>resolved?

I don't know about any earlier discussion on this topic in this newsgroup, but
I did stumble across the same problem.  I'm not doing anything dramatically
weird, so I'm not sure why more people haven't mentioned this.

In my case I assumed it was a problem in the sendmail.cf file, or at least I
fixed the problem by changing the sendmail.cf file.  At the start of the file
are the lines:

#my official hostname
Dj?m $w.$m $| $w $.

if you remove the blanks from the second line, the "From:" lines will come out
right for messages that you send.  That doesn't seem to fix things for messages
you reply to though, for reasons that I don't understand (perhaps something in
the rewriting rules, I haven't read up on sendmail rewriting rules yet).

So I finally commented out the second line altogether and simply replaced it
with the line:

Dj$w

This seems to work all the time.  Note that my machine name (setup in
NetManager) includes my domain name, which is why the rules in sendmail.cf
should never have to add it.  Ie, when I select the "Local..." menu item in
NetManager, the "hostname" field is set to "eclipse.its.rpi.edu", and not just
"eclipse".

This works fine for me.  Your mileage may vary.

-- Garance Alistair Drosehn  = gad@eclipse.its.rpi.edu
