>On my Red Hat 6.1 system, I set the /etc/sendmail.cf variable DM variable
>(as instructed in the Red Hat 6.1 Reference Guide) and stoped & starded
>sendmail.  My e-mail Return-path: header is NOT being masqueraded.
>         
>Any ideas on how to get e-mail masquerading working would be appreciated.

If you wish to have your local sendmail masquarade as another domain and 
change the outgoing envelope of the messages, do the following:
 
(1) add the following lines to your /etc/sendmail.mc

FEATURE(masquerade_envelope)
MASQUERADE_AS(your.domain.net)
MASQUERADE_DOMAIN(your_hostname.your.domain.net)
 
(2) Ensure that you have the sendmail-cf rpm installed
 
(3) Convert the sendmail.mc file to sendmail.cf file
[bash]# m4 /etc/sendmail.mc > /etc/sendmail.cf
 
(4) Restart sendmail
 
(5) :)          


Ciao

Charl
__________________________________________________________________________

  "The reasonable man adapts himself to the world; the unreasonable man 
   persists to adapt the world to himself. Therefore, all progress 
   depends on the unreasonable." 
                    
                                                 -- George Bernard Shaw 
__________________________________________________________________________

  Charl Matthee                                email: [EMAIL PROTECTED] 
  Infoline                                       Mobile: +27-83-357-8644
  Reality Manufacturing                                 (w) 011-402-4116
__________________________________________________________________________


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to