> -----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 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list