[comp.mail.sendmail] Changing Site Name in sendmail

billc@wupulm.wustl.EDU (Bill Canning) (07/28/89)

I have a question about sendmail.  First of all, I need to explain our site's
mail situation:  our site is connected to an internet site (wupost.wustl.EDU)
via uucp, and all our mail has to come through that route.  Outside people
cannot reply to us via the 'r' command in mailx (or whatever) because our 
from: line says: billc@wupulm.wustl.EDU, and the mail gateway for wustl 
(wugate) does not know of our existence.  This is a temporary problem I think,
but it is really causing us some trouble.

Anyway, to work around the problem, I have altered the /usr/lib/sendmail.cf
file so that it says:



# your official UUCP hostname (should come from "uuname -l")
DH$w

etc.

# your local domain (fully qualified)
DDwustl.EDU

etc.

# UUCP relay for unresolved ! addresses
DUwupost
DFwupost 


# official domain name for this site
Dj$?D$w.$D$|$w$.

etc.

# UNIX header format
DlFrom $g $d

etc.

# format of a total name
Dq$?x$x <$g%$w@$U.$D>$|$g%$w@$U.$D$.


#############################
###   Format of headers   ###
#############################

HReceived: $?sfrom $s $.by $w; $b
HResent-Date: $a
HDate: $a
HResent-From: $q
H?F?From: $q
H?x?Full-Name: $x
H?P?Return-Path: <$g>
HSubject:

Is this going to work?  What I'm trying to accomplish is to get our From:
line to say:

		From: Bill Canning <billc%wupulm@wupost.wustl.EDU>

and I have done this, but I'm not sure if there are going to be side effects
that I am not expecting.

Any help would be greatly appreciated.  Please respond to the address in the
signature if you can help.

Thanks a lot,

-- 
Bill Canning
billc%wupulm@wupost.wustl.EDU