From owner-freebsd-questions@FreeBSD.ORG Fri Sep 26 10:10:07 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E75216A4B3 for ; Fri, 26 Sep 2003 10:10:07 -0700 (PDT) Received: from zebedee.tonyjones.com (216-99-217-196.dsl.aracnet.com [216.99.217.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BDD343F3F for ; Fri, 26 Sep 2003 10:10:06 -0700 (PDT) (envelope-from tony@tonyjones.com) Received: by zebedee.tonyjones.com (Postfix, from userid 1000) id C2DBD9A; Fri, 26 Sep 2003 10:08:42 -0700 (PDT) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: questions@freebsd.org X-Face: ZQe?G+$UQG8,i~KL=gy`T:c1bxG<{7ta&{,'$LiA !`"u>-"@wkx>yf.z_5 Message-Id: <20030926170842.C2DBD9A@zebedee.tonyjones.com> Subject: Question on Postfix and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2003 17:10:07 -0000 I just did the following: a) upgraded Postfix to postfix-2.0.16 (built from source, didn't use port) b) then upgraded to the latest FreeBSD-stable (buildworld/installworld) Previously, I'd just followed the Postfix instructions and mv'd sendmail mailq newaliases to .OLD and installed the Postfix executables over the top of the system binaries. After the stable upgrade (b) FreeBSD had of course overwritten sendmail mailq and newaliases with the new sendmail versions (I've since disabled sendmail in make.conf). I noticed that these files were actually links to mailwrapper and after some googling, I figured out I could use mailer.conf. However, I couldn't figure out how to install the Postfix sendmail compatability executable into {postfix_dir}/libexec/sendmail. There wasn't an explicit install step for it and I couldn't find any mention of this executable in the INSTALL doc for Postfix. Anyone care to clue me in on what I'm missing. Or is it a manual process? I was in a rush to get the mailer up so, I just redid 'for i in sendmail newaliases mailq mv $i $i.OFF' followed by a Postfix 'make upgrade' to overwrite the executables with the Postfix versions. I don't ever plan to go back to sendmail. Everything is working but I get an odd log entry I'm unsure about: I have sendmail_enable="NO" in rc.conf and start postfix in rc.local. Get the following in /var/log/messages *before* rc.local is run: "postfix/sendmail[96]: fatal: usage: sendmail [options]" Is this the Postfix sendmail compatability program? If so, how is it getting executed? I don't have a sendmail in /usr/local/postfix/libexec. Thanks! Tony