[comp.mail.sendmail] problem with "To:" line

roberts@edsews.EDS.COM (Ted Roberts) (04/03/89)

This weekend I installed a new sendmail.cf file on my system and I've
been having a minor, but irritating problem.  I have a main mail
machine that serves as our smart mailer and a couple of other
semi-smart machines that can pass mail to each other and to the main
mailhost.  The rest of the nodes basically just send everything to a
smart or semi-smart machine.  All the machines are SUN 3/XXXs, some
running 3.5 and some running 4.0.1.  Anyway, when anyone on the local
network sends mail to a user that is aliased to one of the semi-smart
hosts, the mail arrives with the "To:" header written incorrectly.  It
should read (I think) <user>@<aliased-to-node>, or possibly just
<user>, but it ends up as <user>@eds.com (eds.com being the designation
for the main mailhost).  What bugs me is that I can't seem to track
down where the header is being switched from <user> to <user>@eds.com.
When I send to <user>@<semi-smart-host> it is written correctly.
I've run it through sendmail using address test mode and everything is
fine.  I run it through using -d21.12 and it looks fine.  I even killed
the sendmail demon on the semi-smart host and checked the file in
/usr/spool/mqueue and it looks okay.  I'm using sendmail 4.1 and the
configuration file built by smail 2.5 (and apparently delivered with
SUN OS4.0.1).  Am I overlooking something?  Any ideas on how to track
down what node or what ruleset is rewriting it?  My understanding is
that the To: header is the result of R3, user portion of R0, R2, D, R4.
Any help would be appreciated.

-- 
Ted Roberts                         |  My opinions are not necessarily those
EDS Technical Systems Development   |  of my employer.  Does that mean I'm
roberts@eds.com                     |  wrong?
UUCP: {uunet|sun|sharkey}!edsews!roberts