[comp.mail.sendmail] Domains in Unix From lines

dan@asihub.AUTOSYS.COM (Dan O'Neill) (12/15/89)

I would like to include the domain name in the unix "From " header on
outgoing mail messages, but am having some difficulties.

Examples:

Current From line

	From asihub!dan  (date)

What I would like

	From asihub.AUTOSYS.COM!dan (date)

I am using smail 2.5 with sendmail on an Ultrix 3.x system.  I have
tried modifying the "l" macro in the sendmail.cf file and append the
domain name at this point, but smail then tacks on another copy of the
domain name and the From line looks like

	From asihub.AUTOSYS.COM.AUTOSYS.COM!dan (date)

I think I need to change something in smail, but am not sure.  Help
will be much appreciated.

-- 
Dan O'Neill	dan@asihub.AUTOSYS.COM    {uunet|ncr-sd}!asihub!dan
Automated Systems, Inc.  San Diego R&D

karl@cheops.cis.ohio-state.edu (Karl Kleinpaste) (12/15/89)

Change your Mmailer-definition which invokes smail to include the -h
flag, e.g., mine looks like this, for exactly the opposite effect:

Msmail,	P=/bin/smail, F=CDFMSUms, L=64, S=17, R=16, M=131071, A=smail -r -h osu-cis $h!$u

--Karl