Hi Scott,
   Thanks for the reply.

I *already* have those file located in /etc/mail:
# ls -al /etc/mail
total 251
drwxr-xr-x   2 root  wheel    512 Jul 24 07:30 .
drwxr-xr-x  17 root  wheel   2048 Sep 14 19:38 ..
-rw-r--r--   1 root  wheel   6542 Jul 24 07:30 Makefile
-rw-r--r--   1 root  wheel   2899 Jul 24 07:30 README
-rw-r--r--   1 root  wheel    411 Sep 18  2001 access.sample
-rw-r--r--   1 root  wheel   1458 Jul 24 07:30 aliases
-rw-r--r--   1 root  wheel  32768 Jul 24 07:42 aliases.db
-rw-r--r--   1 root  wheel  56945 Jul 24 07:29 freebsd.cf
-rw-r--r--   1 root  wheel   4172 Jul 24 07:28 freebsd.mc
-r--r--r--   1 root  wheel  38756 Jul 24 07:29 freebsd.submit.cf
-r--r--r--   1 root  wheel    679 Jul 24 07:29 freebsd.submit.mc
-r--r--r--   1 root  wheel   5588 Jul 24 07:29 helpfile
-rw-r--r--   1 root  wheel    404 Jul 24 07:30 mailer.conf
-rw-r--r--   1 root  wheel    245 Sep 18  2001 mailertable.sample
-rw-r--r--   1 root  wheel  56945 Jul 24 07:29 sendmail.cf
-r--r--r--   1 root  wheel  38756 Jul 24 07:29 submit.cf
-rw-r--r--   1 root  wheel    573 Sep 18  2001 virtusertable.sample
# 
These would have been installed at the last time I recompiled the
kernel. I'm fairly comfortable in editing these files as required, but I
am pretty certain that after editing freebsd.mc (so as to define
masquerading, default gateway, etc), I am supposed to use m4 to generate
a new freebsd.cf, which in turn is copied to sendmail.cf, thus producing
a new configuration file for sendmail to read upon restart.

This is what I know of sendmail (back in v8.8x & 8.9x) under AIX and
Sequent Dynix/ptx. Has this procedure since been deprecated for FreeBSD,
that I am now aware of?

Thanks again for the reply.

Stacey

On Tue, 2002-09-17 at 22:07, Scott Mitchell wrote:
> 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
> > 
> > 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.
> > 
> > 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").
> > 
> > Could someone please tell me the following:
> > 
> > 1] Where it is I can find out how to use m4 to generate a .cf file? 
> > 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
> 
> -- 
> ===========================================================================
> Scott Mitchell          | PGP Key ID | "Eagles may soar, but weasels
> Cambridge, England      | 0x54B171B9 |  don't get sucked into jet engines"
> [EMAIL PROTECTED] | 0xAA775B8B |      -- Anon
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to