Operating System - HP-UX
1840301 Members
3995 Online
110162 Solutions
New Discussion

sendmail.cf site hiding doesn't work for root

 
SOLVED
Go to solution
Stuart Abramson_2
Honored Contributor

sendmail.cf site hiding doesn't work for root

1. I'm trying to use "site hiding", which is the DM macro in sendmail.cf

Here is what I get:

a. It works just fine if the user is not root.

email from an ordinary user, such as oracle, (which is ordinary to me), has an
"outgoing" address: like this:

oracle@wabtec.com

b. For root the outgoing email address is:

root@hostname.wabtec.com

2. I want email from "root" to look just like other emails:

root@wabtec.com

Is there some way to make this happen?
2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor
Solution

Re: sendmail.cf site hiding doesn't work for root

Hi,

Look for the macro "CE" and make sure root is not configured to 'not to use' site hiding. I believe root is by default disabled from masquerading.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Stuart Abramson_2
Honored Contributor

Re: sendmail.cf site hiding doesn't work for root

Sridhar:

Perfect!

Stuart