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