[comp.mail.sendmail] Double hostname in From: field

lodin@plains.NoDak.edu (Steve Lodin) (08/10/90)

I am having a problem with my From: line.  It is listing my hostname
twice in UUCP mail but only once in SMTP mail.  An example is

From: super user <koiasvr01!koiasvr01!root>

My From: line is defined as such in my sendmail.cf:

H?F?From: $q

My $q macro is defined as such in my sendmail.cf:

Dq$?x$x <$g>$|$g$.

and I don't have $g defined anywhere, so something is creating that for
me.  $g is supposed to be the sender address relative to the recipient.

I tried using /usr/lib/sendmail -bt to test, but that only seems to work
on testing addresses.  Can someone please point me in the right direction
for solving this.  In the process, I have gotten better at parsing
and understanding the rule and I am using an article from Charles Hedrick
from Apr 88.

Thanks for any help.

Please post or reply to (these know working addresses):

Steve Lodin
Delco Electronics Corp.
Advanced Instrumentation Engineering

swlodin@koess.gm.hac.com
lodin@plains.nodak.edu