Sendmail issue on Solaris 10 system...

I am receiving mail messages from two of my servers as root@relay.####.####.mil. I masqueraded the sender on all of my other servers but for some reason, I am receiving messages with "relay" or "relay2" as noted earlier. Where do I make the necessary changes so that the sender's full address is NOT displayed? I have reconfigured my sendmail a couple of times and nothing has changed. I do not know where I overlooked with sendmail or solaris 10 system files. Please help. Thanks.

[489 byte] By [DCMetroSunAdmin] at [2007-11-26 10:28:47]
# 1

Is it only for root? The default sendmail behaviour is to always show the root@<full host> even if its masqurading, or so i seem to recall.

From a quite default sendmail.cf:

# class E: names that should be exposed as from this host, even if we masquerade

# class L: names that should be delivered locally, even if we have a relay

# class M: domains that should be converted to $M

# class N: domains that should not be converted to $M

#CL root

C{E}root

.7/M.

mAbrante at 2007-7-7 2:34:04 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

So far it is happening for root. What do you suggest I do to fix it?

Below is an example of what I have been seeing. If you look at "To", you will see where the problem is..."relay" should not be there. The host name should not be there either as the masquerading configuration is set up. Something is causing "relay" to appear and I cant seem to find what it is.

--Original Message--

From: jjoseph@node.XXXX.XXXX.mil

Sent: Friday, September 29, 2006 14:59

To: root@relay.XXXX.XXXX.mil

Subject: File Structures on node

Message was edited by:

DCMetroSunAdmin

DCMetroSunAdmin at 2007-7-7 2:34:05 > top of Java-index,Solaris Operating System,Solaris 10 Features...