[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: IP masquerading not working for sendmail
- From: "Cowles, Steve" <Steve SteveCowles com>
- To: "'redhat-list redhat com'" <redhat-list redhat com>
- Subject: RE: IP masquerading not working for sendmail
- Date: Fri Feb 28 07:28:16 2003
> -----Original Message-----
> From: Kapil Khanna
> Sent: Friday, February 28, 2003 12:01 AM
> Subject: IP masquerading not working for sendmail
>
>
> I am running RHAT 7.2. I want to masquerade email being sent
> from this machine as mydomain.com. According to the docs i
> set the DN entry to be DNmydomain.com in the /etc/sendmail.cf
> file. I restarted sendmail (/etc/rc.d/init.d/sendmail
> restart).
I don't know what docs are telling you to edit sendmail.cf directly, but the
proper way to fix your problem is to add...
MASQUERADE_AS(`mydomain.com')dnl
to /etc/mail/sendmail.mc and then generate a new sendmail.cf using m4
cd /etc/mail
cp sendmail.cf sendmail.cf.orig
m4 sendmail.mc >sendmail.cf
BTW: As nate pointed out in his reply - it's DM, not DN. Also, the sendmail
man pages (so to speak) are located in /usr/share/sendmail-cf/README. There
is a section labeled "MASQUERADING AND RELAYING" that might be of some
interest to you.
Steve Cowles
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]