> -----Original Message-----
> From: Michael Mansour
> Sent: Saturday, March 15, 2003 1:34 AM
> Subject: Sendmail - Domain masquerading
> 
> 
> Hi,
> 
> I've just setup and migrated my mail from sendmail V8
> to sendmail V10.
> 
> I used to successfully use the:
> 
> DMmydomain.com.au
> 
> to mask my hostname with just the mydomain.com.au for
> outgoing emails under V8 without any problems. Under
> V10 this option no longer works.
> 
> I'm using this under Red Hat 8.0 and use Webmin 1.0.7
> to configure my sendmail environment.
> 
> Any ideas to fix this would be greatly appreciated.

Could be the Webmin app has not caught up with level V10 config file format
and is causing your problem with masquerading. I don't really know... never
used Webmin.

Try starting from the redhat rpm supplied /etc/mail/sendmail.mc file and
then recreating your sendmail.cf file. Adding: 

MASQUERADE_AS(`mydomain.com')dnl

to your sendmail.mc file should be all that is needed. Then to build a new
sendmail.cf file...

# cd /etc/mail
# cp sendmail.cf sendmail.cf.orig
# m4 sendmail.mc >sendmail.cf
# /etc/init.d/sendmail restart

Works here at least. There are other options available in this topic area...

http://www.sendmail.org/m4/masquerading.html

Steve Cowles



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to