Subject: Re: [netbsd]: Sendmail and Hairpulling.
To: J. Buck Caldwell <buckaroo@liveround.com>
From: Tim Bandy <bandy@timn8r.org>
List: netbsd-users
Date: 05/03/2002 17:15:47
>>>>> "J" == J Buck Caldwell <buckaroo@liveround.com> writes:
    J>  So I'm trying to figure out what I'm doing wrong. I've got a
    J> machine set up hosting my domain and I'm trying to configure
    J> Sendmail. The machine is ns1.(domain).org, and when I send
    J> mail, it claims to come from root@ns1.(domain).org, and the
    J> only way I can send mail to it is send it to
    J> root@ns1.(domain).org. I would like to be able to take that
    J> 'ns1.'  out of there. I get the feeling I'm doing something
    J> wrong with DNS, but I don't know what. Any help would be
    J> appreciated.

Look at masquerading.  There's some good information still at
http://www.sendmail.org.  If you look at
http://www.sendmail.org/m4/masquerading.html, you should see an option
called 
MASQUERADE_AS(host.domain).
Simply put that in your m4 config file, and rebuild your cf file, and
restart sendmail.

-- 
Tim Bandy (bandy@timn8r.org)

Thank goodness modern convenience is a thing of the remote future.
                -- Pogo, by Walt Kelly