From owner-freebsd-questions Sun Jul 13 02:16:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA12359 for questions-outgoing; Sun, 13 Jul 1997 02:16:50 -0700 (PDT) Received: from pulp.nildram.co.uk (root@pulp.nildram.co.uk [195.112.4.8]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA12350 for ; Sun, 13 Jul 1997 02:16:43 -0700 (PDT) Received: (from uucp@localhost) by pulp.nildram.co.uk (8.7.5/8.7.3) with UUCP id JAA26555; Sun, 13 Jul 1997 09:04:02 GMT Received: from i.vaudrey (i.vaudrey [10.0.0.5]) by mail.nemko.ltd.uk (8.8.6/8.8.6) with ESMTP id KAA00981; Sun, 13 Jul 1997 10:02:38 +0100 (BST) Message-ID: <33C89993.9DCEE953@test.nemko.ltd.uk> Date: Sun, 13 Jul 1997 10:02:11 +0100 From: Ian Vaudrey X-Mailer: Mozilla 4.01 [en] (Win95; I) MIME-Version: 1.0 To: Paul CC: questions@FreeBSD.ORG Subject: Re: sendmail version X-Priority: 3 (Normal) References: <2.2.32.19970713025703.006e3970@mail.thsos.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Once you've built sendmail with makesendmail, backup your original sendmail binary (/usr/sbin/sendmail), cd into the obj.FreeBSD.2.2.2-RELEASE.i386 directory (replace 2.2.2-RELEASE with the FreeBSD version you're running) that you'll find wherever you built sendmail and type make install. This will install the new binary. Backup your original .cf file (/etc/sendmail.cf). Copy the new .cf file you built with m4 to /etc/sendmail.cf. Reboot your machine. AFAIK your .mc looks O.K., apart from the missing newlines ;-) If you are going to be doing much of this, I strongly recommend that you obtain a copy of the "bat book", see http://www.ora.com/catalog/sendmail2/index.html, and you should definitely take a good look at the sendmail FAQ. Hope this helps, - Ian Paul wrote: > > > > >cat /etc/sendmail.cf | grep DZ, or you could mail yourself and look > at > >the headers. > > Ok, but how can I tell what binary is running? > When compiled does it automatically put the program into a specific > directory? or do I have to move the compiled binary? > > >> Am I supposed to put the sendmail.cf file in my /etc directory? > > > >Yes. > > > What m4 made looks much different than the sendmail.cf file I am using > now > here is the file.. is this correct? > > VERSIONID(myfile.mc 1.0) > > OSTYPE(bsd4.4)DOMAIN(generic)MAILER(local)MAILER(smtp)Cwmail.mydomain.com > Cwmydomain.com > > MASQUERADE_AS(mydomain.com)FEATURE(allmasquerade)FEATURE(nocanonify)FEATURE( > nodns)F > EATURE(virtusertable) > > and or do I need to compile this into something? > > Thank you for all the help