Erez Doron wrote:
> 
> hi
> 
> i have a server called serv1.foo.org
> 
> whenever i send unqualified mail from root, it is sent from
> [EMAIL PROTECTED]
> 
> the problem is that though foo.org exists, serv1.foo.org does not, so my
> isp returns the mail because unqualified sender domain.
> 
> 
> i tried adding:
> 
> CMserv1.foo.org
> DMfoo.org
> 
> 
> to /etc/sendmail.cf
> 
> 
> but that did not help.
> 
> 
> any idea ?
> 
> 
> erez.

1. Use the MASQUERADE_AS, MASQUERADE_DOMAIN(otherhost.domain) and 
MASQUERADE_ENTIRE_DOMAIN features in senmdail.mc. For details, see 
http://www.sendmail.org/m4/masquerading.html

2.'root' is not masqueraded by default.

3. It is not recommended to edit sendmail.cf manually. Use sendmail.mc and M4.


Cheers,

Henry


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to