From owner-freebsd-questions Sun Jul 13 07:32:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA20238 for questions-outgoing; Sun, 13 Jul 1997 07:32:20 -0700 (PDT) Received: from tok.qiv.com ([204.214.141.211]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA20233 for ; Sun, 13 Jul 1997 07:32:16 -0700 (PDT) Received: (from uucp@localhost) by tok.qiv.com (8.8.5/8.8.5) with UUCP id JAA23617; Sun, 13 Jul 1997 09:30:24 -0500 (CDT) Received: from localhost (jdn@localhost) by acp.qiv.com (8.8.5/8.8.5) with SMTP id JAA00287; Sun, 13 Jul 1997 09:25:00 -0500 (CDT) X-Authentication-Warning: acp.qiv.com: jdn owned process doing -bs Date: Sun, 13 Jul 1997 09:24:59 -0500 (CDT) From: "Jay D. Nelson" To: Ian Vaudrey cc: Paul , questions@FreeBSD.ORG Subject: Re: sendmail version In-Reply-To: <33C89993.9DCEE953@test.nemko.ltd.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Another possibility -- the example looked like it went through m4 with no macros defined. in the cf/cf directory, you need to: m4 ../m4/cf.m4 newfile.mc > outfile.cf ^^^^^^^^^^^ -- Jay On Sun, 13 Jul 1997, Ian Vaudrey wrote: ->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 ->