Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 22:07:28 +0100
From:      Scott Mitchell <scott.mitchell@mail.com>
To:        sroberts@dsl.pipex.com
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>, sendmail-questions@sendmail.org
Subject:   Re: After editing freebsd.mc, how do I use this m4 processor?
Message-ID:  <20020917220728.A3039@fishballoon.dyndns.org>
In-Reply-To: <1032296374.376.60.camel@Demon.vickiandstacey.com>; from stacey@Demon.vickiandstacey.com on Tue, Sep 17, 2002 at 09:59:32PM %2B0100
References:  <1032296374.376.60.camel@Demon.vickiandstacey.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 17, 2002 at 09:59:32PM +0100, Stacey Roberts wrote:
> Hello,
>      I've got a vanilla sendmail installation on my 4.6Stable box:
> # sendmail -d0.4 -bv root
> Version 8.12.5
>=20
> I'd like to now set up sendmail to receive mail destined for my
> (registered) domain. Now, I know I have to edited the freebsd.mc file in
> /etc/mail, but after this, its not entirely clear how it is I am
> supposed to proceed afterwards.
>=20
> I read the README's in /usr/src/contrib/sendmail & /etc/mail, that's
> shipped with my FBSD box, it doesn't *actually* say how to "run" m4. In
> googling, I've picked up a couple for threads, that mentions m4 almost
> in passing (".... then use m4 to generate your <blah>.cf file that you
> later copy sendmail.cf").
>=20
> Could someone please tell me the following:
>=20
> 1] Where it is I can find out how to use m4 to generate a .cf file?=20
> 2] Do I still need to "run make" in /etc/mail even though sendmail was
> compiled and installed at system installation time?

You need to run make in /etc/mail to generate the new sendmail.cf,
submit.cf, etc.  Probably 'make install' followed by 'make restart' is the
best way to proceed.  The Makefile itself lists the various possible
targets in the comments at the top.

I guess you can grovel through the Makefile to figure out exactly how m4
should be invoked, but this isn't something you actually need to know in
order to reconfigure sendmail.

This make has nothing to do with rebuilding the sendmail binaries -- it
just deals with the configuration files.

Cheers,

	Scott

--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Scott Mitchell          | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England      | 0x54B171B9 |  don't get sucked into jet engines"
scott.mitchell@mail.com | 0xAA775B8B |      -- Anon

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?20020917220728.A3039>