Building greyfix-0.3.9.txz (origin /buildshare/ports/355755/mail/greyfix) for powerpc-10-0 on XXX slot1: created x distfiles/ x distfiles/greyfix-0.3.9.tar.gz x packages/ x packages/db41-4.1.25_4.txz x packages/pkg-1.2.7_2.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> greyfix-0.3.9 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of greyfix-0.3.9 ===> greyfix-0.3.9 depends on shared library: libdb41.so - not found ===> Verifying for libdb41.so in /buildshare/ports/355755/databases/db41 ===> Installing existing package /packages/db41-4.1.25_4.txz Installing db41-4.1.25_4... done ===> Returning to build of greyfix-0.3.9 Make install ===> greyfix-0.3.9 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by greyfix-0.3.9 for building ===> Extracting for greyfix-0.3.9 => SHA256 Checksum OK for greyfix-0.3.9.tar.gz. ===> Patching for greyfix-0.3.9 ===> greyfix-0.3.9 depends on shared library: libdb41.so - found (/usr/local/lib/libdb41.so.1) ===> Configuring for greyfix-0.3.9 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/mail/greyfix/work/greyfix-0.3.9/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/mail/greyfix/work/greyfix-0.3.9/configure configure: loading site script /buildshare/ports/355755/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for db_version in -ldb41... yes checking match between Berkeley DB header files and runtime... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands ===> Building for greyfix-0.3.9 /usr/bin/make all-am cc -DHAVE_CONFIG_H -I. -I/usr/local/include/db41 -DDATA_STATE_DIR="\"/var/db\"" -O2 -pipe -fno-strict-aliasing -MT greyfix.o -MD -MP -MF .deps/greyfix.Tpo -c -o greyfix.o greyfix.c mv -f .deps/greyfix.Tpo .deps/greyfix.Po cc -DHAVE_CONFIG_H -I. -I/usr/local/include/db41 -DDATA_STATE_DIR="\"/var/db\"" -O2 -pipe -fno-strict-aliasing -MT policy.o -MD -MP -MF .deps/policy.Tpo -c -o policy.o policy.c mv -f .deps/policy.Tpo .deps/policy.Po cc -O2 -pipe -fno-strict-aliasing -L/usr/local/lib -o greyfix greyfix.o policy.o -ldb41 ===> Staging for greyfix-0.3.9 ===> Generating temporary packing list install -s -o root -g wheel -m 555 /obj/buildshare/ports/355755/mail/greyfix/work/greyfix-0.3.9/greyfix /obj/buildshare/ports/355755/mail/greyfix/work/stage/usr/local/sbin install -o nobody -m 700 -d /obj/buildshare/ports/355755/mail/greyfix/work/stage/var/db/greyfix ====> Compressing man pages (compress-man) ===> Installing for greyfix-0.3.9 ===> Checking if mail/greyfix already installed ===> Registering installation for greyfix-0.3.9 Installing greyfix-0.3.9... done Edit Postfix's master configuration file, master.cf, and add the following: greyfix unix - n n - - spawn user=nobody argv=/usr/local/sbin/greyfix -/ 24 (The -/ argument specifies how much of the IP address to consider significant, in this case the first 24 bits.) Edit Postfix's main configuration file, main.cf and add the following: smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, check_policy_service unix:private/greyfix If there is already a smtpd_recipient_restrictions configuration line you should edit it rather than add a new one. The important part for Greyfix is that you should add check_policy_service unix:private/greyfix to it. Finally have postfix reload its configuration with: /usr/local/etc/rc.d/postfix reload Make package ===> Building package for greyfix-0.3.9 slot1: removed