Operating System - HP-UX
1833701 Members
3363 Online
110062 Solutions
New Discussion

Re: sendmail--masquerade & unknown users?

 
Bob Brown_1
Frequent Advisor

sendmail--masquerade & unknown users?

Running hpux 11i on a workstation. I want to config sendmail to
1: Hide my local system-name (have it all appear to come from username@domain)
2: Have all outbound email go to a central host (even if I specify a username (w/o domain) and it doesn't match a user in my local password or alias file (for example, if it's a ref to an alias on the central system).

thanks!

-Bob
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor

Re: sendmail--masquerade & unknown users?

Hi Bob,

/etc/mail/sendmail.cf is the file you need to modify.

1. Search for DM. Make it to appear like

DMyour_domain.com

2. Look at DR, DH and DL explanations in the above file. A combination of these macros should fix your second requirement.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
U.SivaKumar_2
Honored Contributor

Re: sendmail--masquerade & unknown users?

Hi,

Edit sendmail.cf and create these lines

DMdomain.com

modify

CEroot

to

CE

otherwise mails from root will not be masqueraded .

regards,

U.SivaKumar.


Innovations are made when conventions are broken
Berlene Herren
Honored Contributor

Re: sendmail--masquerade & unknown users?

In addition:

Send all local mail to the "mail hub" (DH macro):

By setting the macro H (line starting with DH) to the name of the mail hub, all mail that is destined for a local user will, instead, be forwarded
to the same user on the mail hub.
You may have to generate a sendmail.cf.gen file with 10: Accept_unqualified_senders

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm