Building qmail-auditor-0.47_1.txz (origin /buildshare/ports/355755/mail/qmail-auditor) for powerpc-10-0 on XXX slot1: created x distfiles/ x distfiles/qmail-auditor-0.47.tar.gz x packages/ x packages/pkg-1.2.7_2.txz x packages/qmail-1.03_11.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> qmail-auditor-0.47_1 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 qmail-auditor-0.47_1 ===> qmail-auditor-0.47_1 depends on file: /var/qmail/bin/qmail-send - not found ===> Verifying install for /var/qmail/bin/qmail-send in /buildshare/ports/355755/mail/qmail ===> Installing existing package /packages/qmail-1.03_11.txz Installing qmail-1.03_11...===> Creating users and/or groups. Creating group 'qmail' with gid '82'. Creating group 'qnofiles' with gid '81'. Creating user 'alias' with uid '81'. Creating user 'qmaild' with uid '82'. Creating user 'qmaill' with uid '83'. Creating user 'qmailp' with uid '84'. Creating user 'qmailq' with uid '85'. Creating user 'qmailr' with uid '86'. Creating user 'qmails' with uid '87'. A /usr/local/etc/rc.d/qmailsmtpd symlink was created. To enable qmail at boot time you need to copy a script to /var/qmail/rc. There are some examples at /var/qmail/boot Your hostname is slot1.XXX. soft error Sorry, I couldn't find your host's canonical name in DNS. You will have to set up control/me yourself. done ATTENTION: You can enable qmail as your default mailer executing: > /var/qmail/scripts/enable-qmail ===> Returning to build of qmail-auditor-0.47_1 Make install ===> qmail-auditor-0.47_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by qmail-auditor-0.47_1 for building ===> Extracting for qmail-auditor-0.47_1 => SHA256 Checksum OK for qmail-auditor-0.47.tar.gz. ===> Patching for qmail-auditor-0.47_1 ===> Configuring for qmail-auditor-0.47_1 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/mail/qmail-auditor/work/qmail-auditor/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/mail/qmail-auditor/work/qmail-auditor/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 gawk... (cached) /usr/bin/awk checking whether make sets ${MAKE}... yes checking build system type... powerpc-portbld-freebsd11.0 checking host system type... powerpc-portbld-freebsd11.0 checking for gcc... cc checking for C compiler default output... 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 style of include used by make... GNU checking dependency style of cc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... cpp 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 for sys/stat.h... (cached) yes checking for fcntl.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for cc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for pid_t... (cached) yes checking for unistd.h... (cached) yes checking for vfork.h... (cached) no checking for fork... (cached) yes checking for vfork... (cached) yes checking for working fork... (cached) yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for working malloc... yes checking for strftime... (cached) yes checking for size_t... (cached) yes checking for pid_t... (cached) yes checking for mkdir... yes checking for regcomp... yes checking for rmdir... yes checking for strcasecmp... (cached) yes checking for strdup... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands ===> Building for qmail-auditor-0.47_1 cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands /usr/bin/make all-recursive Making all in src source='audit.c' object='audit.o' libtool=no depfile='.deps/audit.Po' tmpdepfile='.deps/audit.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fno-strict-aliasing -c `test -f audit.c || echo './'`audit.c source='envelop.c' object='envelop.o' libtool=no depfile='.deps/envelop.Po' tmpdepfile='.deps/envelop.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fno-strict-aliasing -c `test -f envelop.c || echo './'`envelop.c source='audit_controls.c' object='audit_controls.o' libtool=no depfile='.deps/audit_controls.Po' tmpdepfile='.deps/audit_controls.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fno-strict-aliasing -c `test -f audit_controls.c || echo './'`audit_controls.c source='forward.c' object='forward.o' libtool=no depfile='.deps/forward.Po' tmpdepfile='.deps/forward.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fno-strict-aliasing -c `test -f forward.c || echo './'`forward.c source='fromto.c' object='fromto.o' libtool=no depfile='.deps/fromto.Po' tmpdepfile='.deps/fromto.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fno-strict-aliasing -c `test -f fromto.c || echo './'`fromto.c cc -O2 -pipe -fno-strict-aliasing -ggdb -o qmail-auditor audit.o envelop.o audit_controls.o forward.o fromto.o envelop.o: In function `read_envelop': envelop.c:(.text+0x40c): warning: warning: tempnam() possibly used unsafely; consider using mkstemp() ===> Installing for qmail-auditor-0.47_1 ===> qmail-auditor-0.47_1 depends on file: /var/qmail/bin/qmail-send - found ===> Generating temporary packing list ===> Checking if mail/qmail-auditor already installed cd src && make perm && cd .. /bin/sh ../mkinstalldirs /usr/local/bin install -s -o root -g wheel -m 555 qmail-auditor /usr/local/bin/qmail-auditor chown qmailq:qmail /usr/local/bin/qmail-auditor chmod u+s /usr/local/bin/qmail-auditor chmod go-r /usr/local/bin/qmail-auditor chmod a+x /usr/local/bin/qmail-auditor You have just installed /usr/local/bin/qmail-auditor which can be enabled by wrapping qmail-queue and naming the original qmail-queue as qmail-queue-real, for example: mv /var/qmail/bin/qmail-queue /var/qmail/bin/qmail-queue-real-auditor ln -s /usr/local/bin/qmail-auditor /var/qmail/bin/qmail-queue Now you can configure qmail-auditor, its control file is /var/qmail/control/auditor This file's format must be in the form: Where = from|to|all = sender or recipient e-mail address (according to ), re_format(7) compatible = whom qmail-auditor will copy audited messages to You can have multiple rules (one per line). Working example of control file: from *@some.domain.br auditing@mycompany.com to user@some.domain.br auditing@mycompany.com all sales@domain.br salesauditing@mycompany.com The README file was installed on /usr/local/share/doc/qmail-auditor ===> Registering installation for qmail-auditor-0.47_1 Installing qmail-auditor-0.47_1... done ===> SECURITY REPORT: This port has installed the following binaries which execute with increased privileges. /usr/local/bin/qmail-auditor (USES POSSIBLY INSECURE FUNCTIONS: tempnam) If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://qmail-auditor.sourceforge.net/ Make package ===> Building package for qmail-auditor-0.47_1 Creating package for qmail-auditor-0.47_1 slot1: removed