From owner-freebsd-ports Sun Oct 8 4:28:10 2000 Delivered-To: freebsd-ports@freebsd.org Received: from neo.skynet.be (neo.skynet.be [195.238.2.53]) by hub.freebsd.org (Postfix) with ESMTP id 9F82937B503; Sun, 8 Oct 2000 04:28:03 -0700 (PDT) Received: from [10.0.1.2] (dialup774.brussels2.skynet.be [194.78.236.198]) by neo.skynet.be (Postfix) with ESMTP id C74636D08; Sun, 8 Oct 2000 13:27:21 +0200 (MET DST) Mime-Version: 1.0 X-Sender: blk@pop.skynet.be Message-Id: In-Reply-To: <20001008070212.04A381C2AB@hun.org> References: <20001008070212.04A381C2AB@hun.org> Date: Sun, 8 Oct 2000 13:14:14 +0200 To: attila! , freebsd-current@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG From: Brad Knowles Subject: Re: POSTFIX-- Wietse: tweak and go! --pkg & port: both duds Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 7:02 AM +0000 2000/10/8, attila! wrote: > (a) pick a directory and 'tar -zxf snapshot-20000531.tar.gz' > > (b) 'cd snapshot-20000531' Three things: 1. You don't tell people where to get the postfix software. Start with , and select a mirror site close to you. 2. You mention the use of snapshots, but this is not recommended practice for sites new to postfix. Instead, start with the most recent "release" version, e.g., postfix-19991231-pl09. According to Wietse, the "snapshot" versions are: Work-in-progress code, subject to change, needs testing before it can become an official release. However, these versions are what he runs on his own systems, so it's probably better than the official "production" release version of code from most anyone else. 3. If you want to build postfix with libraries that Wietse does not consider "standard" for your platform, this will take just a bit more work. I have a "MAKEAS" script that I keep at the root of my /usr/local/src/postfix directory structure, and whenever I go to build a new version, I just execute: $ sh ../MAKEAS And it does all the "hard" preparation work for me, which I can then just follow up with a: $ make; sh INSTALL.sh According to the instructions. Currently, my MAKEAS script contains the following (with backslashes to escape the line-breaks I manually added to prevent mis-wrapping): make makefiles CCARGS="-I/usr/local/BerkeleyDB/include \ -DHAS_DB -DPATH_DB_H='' \ -L/usr/local/BerkeleyDB/lib" AUXLIBS="-ldb" \ LDFLAGS="-L/usr/local/BerkeleyDB/lib" LIBS="-ldb" \ SYSLIBS="-ldb" Note that this implies that on this machine I have previously built and installed the Berkeley db 2.7.7 (built with "../dist/configure --enable-compat185", because postfix uses only the db 1.85 interfaces) and BIND 8.2.2-P5 (or whatever the latest version is that you want to install) packages. Note that Berkeley db 3.0 installs in a slightly different directory, and that I've had problems with it causing runtime failures, etc.... Recent snapshot releases have added features for performing simple one line body_check regexp matching (like the older header_check), added support for DSNs, and a new "fast ETRN" feature that will avoid flushing the entire queue when a single site wants mail for them to be flushed (which now makes postfix more suitable for use at an ISP that provides backup MX services for its customers). -- These are my opinions -- not to be taken as official Skynet policy ====================================================================== Brad Knowles, || Belgacom Skynet SA/NV Systems Architect, Mail/News/FTP/Proxy Admin || Rue Colonel Bourg, 124 Phone/Fax: +32-2-706.13.11/12.49 || B-1140 Brussels http://www.skynet.be || Belgium "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message