From owner-freebsd-questions Sun Jul 13 06:29:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA18187 for questions-outgoing; Sun, 13 Jul 1997 06:29:49 -0700 (PDT) Received: from mercury.webnology.com (freebsd@mercury.webnology.com [207.51.255.70]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA18182 for ; Sun, 13 Jul 1997 06:29:45 -0700 (PDT) Received: from localhost (freebsd@localhost) by mercury.webnology.com (8.8.5/8.8.5) with SMTP id IAA15537 for ; Sun, 13 Jul 1997 08:35:04 -0500 Date: Sun, 13 Jul 1997 08:35:04 -0500 (CDT) From: FreeBSD Mailing LIst Reply-To: FreeBSD Mailing LIst To: questions@FreeBSD.ORG Subject: Re: Sendmail ? Again In-Reply-To: <2.2.32.19970713053004.006e6870@mail.thsos.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 13 Jul 1997, Paul wrote: > Hi, > > > >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? echo '$Z' | sendmail -bt | grep -v '>' > When compiled does it automatically put the program into a specific > directory? or do I have to move the compiled binary? If you compile the source straight from sendmail.org, you have to move it. The filename before it's move is something like: sendmail-8.8.6/src/obj.FreeBSD.2.2.2.i586/sendmail (this is a relative path where sendmail-8.8.6 is the root directory for the unzipped/untarred sendmail distribution files). The actual path depends or your release and architecture. > >> 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? >From the sendmail-8.8.6/cf/README file: Configuration files are contained in the subdirectory "cf", with a suffix ".mc". They must be run through "m4" to produce a ".cf" file. You must pre-load "cf.m4": m4 ${CFDIR}/m4/cf.m4 config.mc > config.cf where ${CFDIR} is the root of the cf directory and config.mc is the name of your configuration file. In your case, ${CFDIR} is probably sendmail-8.8.6/cf. Let's say, for example, you unzipped/untarred sendmail.8.8.6.tgz in /home/bud. In that case, from whatever directory you have you config.mc, issue the command: m4 /home/bud/sendmail-8.8.6/cf/m4/cf.m4 config.mc > config.cf The config.cf file is the one you'll eventually move to /etc/sendmail.cf. HOWEVER, you'll really be wanting to read the file sendmail-8.8.6/cf/README *before* you run the above command, since you'll likely want to customize the config.mc for your individual needs before generating the new .cf file. Cheers, Mick