Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2002 20:49:25 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        pirat <pirat@access.inet.co.th>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sendmail configuration
Message-ID:  <20020627084925.GA357@grimoire.chen.org.nz>
In-Reply-To: <20020627085001.GA299@thai-aec.org>
References:  <20020627074050.GB45718@thai-aec.org> <20020627082614.GA38354@grimoire.chen.org.nz> <20020627085001.GA299@thai-aec.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 27, 2002 at 03:50:01PM +0700, pirat wrote:
> On Thu, Jun 27, 2002 at 08:26:15PM +1200, Jonathan Chen wrote:

> > If you use the .mc files in /etc/mail, you just need to add the
> > following line in it:
> > 
> >     MASQUERADE_AS(my.own.domain)
> > 
> > Works fine for me.
> 
> thanks and is that freebsd.mc ?
> with m4 freebsd.mc > sendmail.cf ?

The recommended way is to use the freebsd.mc file as your template,
but creating an .mc file using your hostname. ie your local config
should be /etc/mail/`hostname`.mc.

Then to create the cf file, and then install it:

    # cd /etc/mail
    # make
    # make install

-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
                                         "Nyuck, nyuck, nyuck" - Curly

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020627084925.GA357>