Date: Wed, 6 Aug 2003 10:25:47 +1200 From: Jonathan Chen <jonc@chen.org.nz> To: "Kirk R. Wythers" <kwythers@umn.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail configuration Message-ID: <20030805222547.GA81434@grimoire.chen.org.nz> In-Reply-To: <1060116349.23050.108.camel@lorax.forestry.umn.edu> References: <1060027238.8123.94.camel@lorax.forestry.umn.edu> <20030804204031.GB78561@grimoire.chen.org.nz> <1060101146.23050.25.camel@lorax.forestry.umn.edu> <20030805203210.GA81181@grimoire.chen.org.nz> <1060116349.23050.108.camel@lorax.forestry.umn.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 05, 2003 at 08:45:49PM +0000, Kirk R. Wythers wrote:
> On Tue, 2003-08-05 at 20:32, Jonathan Chen wrote:
>
> >
> > It is *NOT* 'hostname.mc'. It is `hostname`.mc (note the back-tick).
> > `hostname`.mc should expand to host.name.of.machine.mc.
>
> So are you saying that that I should type litterally:
>
> cp freebsd.mc `hostname`.mc (I had used neighborsunited.net.mc)
Yes. And then you should edit the host.name.of.machine.mc file, eg
# vi `hostname`.mc
> and then in my favorite editor, add the lines:
>
> MASQUERADE_AS(`neighborsunited.net')dnl
> FEATURE(masquerade_envelope)dnl
>
> then litterally:
> make
> make install-cf CF=neighborsunited.net
> sh /etc/rc.sendmail restart
I would use:
# make
# make install
# sh /etc/rc.sendmail restart
The CF= stuff is for really odd tweaks.
Cheers.
--
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
Vini, vidi, velcro...
I came, I saw, I stuck around
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030805222547.GA81434>
