From owner-freebsd-questions@FreeBSD.ORG Tue Nov 21 21:00:43 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5145F16A543 for ; Tue, 21 Nov 2006 21:00:43 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: from ecluster5.tls.net (ecluster5.tls.net [65.196.224.135]) by mx1.FreeBSD.org (Postfix) with SMTP id 24DEE43D46 for ; Tue, 21 Nov 2006 20:59:50 +0000 (GMT) (envelope-from dave.list@pixelhammer.com) Received: (qmail 9118 invoked by uid 89); 21 Nov 2006 20:54:50 -0000 Received: from 208-70-40-179.bb.hrtc.net (HELO ?192.168.0.103?) (ldg%tls.net@208.70.40.179) by auth-ecluster5.tls.net with SMTP; 21 Nov 2006 20:54:50 -0000 Message-ID: <456368D2.4020907@pixelhammer.com> Date: Tue, 21 Nov 2006 16:00:02 -0500 From: DAve User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Building Sendmail from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2006 21:00:43 -0000 Good afternoon all, I am looking into upgrading Sendmail on several machines. Currently we run the installed version of sendmail and I have kept it up to date via security patches. However, in the planning for "what if a Bus hits DAve" scenario I would like to switch to using the ports. It should be easier for those who come behind me later. Currently I have my sendmail.cf file split into two files and I run Sendmail with two queues. I do this for MailScanner on each server. I also have my milter code and security changes in sendmail.in.mc and not in my sendmail.out.cf. sendmail.in.mc (*.cf) for the incoming mail sendmail.out.mc (*.cf) for the scanned mail which is then delivered to my internal mail handlers. Looking at the port I can see where sendmail is installed and I see I need to change mailer.conf to point to the new sendmail binaries. I can also modify the start script as needed to run two instances of sendmail with two different cf files and two different queue directories. No problems there. But, where will the port install my *.mc and *.cf files? This I can't seem to figure out. I would like to know before I hit 'make install' in the port dir. I would think it will install them into /usr/local/share/sendmail/cf, would that be correct? I want to make certain that when I build new sendmail.in.cf and sendmail.out.cf the correct files are used by m4. Currently I run the following when making changes to my *.mc files /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 sendmail.in.mc > sendmail.in.cf Thanks, DAve -- Three years now I've asked Google why they don't have a logo change for Memorial Day. Why do they choose to do logos for other non-international holidays, but nothing for Veterans? Maybe they forgot who made that choice possible.