Building qmail-scanner-2.10_1.txz (origin /buildshare/ports/355755/mail/qmail-scanner) for powerpc-10-0 on XXX slot1: created x distfiles/ x distfiles/patch-configure-qms x distfiles/qmail-scanner-2.10.tgz x packages/ x packages/unzip-6.0_1.txz x packages/maildrop-2.7.1_1.txz x packages/pcre-8.34_1.txz x packages/bash-4.3.18_2.txz x packages/m4-1.4.17_1,1.txz x packages/gettext-0.18.3.1_1.txz x packages/daemontools-0.76_16.txz x packages/bison-2.7.1,1.txz x packages/tnef-1.4.9.txz x packages/perl5-5.16.3_10.txz 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-scanner-2.10_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-scanner-2.10_1 ===> qmail-scanner-2.10_1 depends on executable: reformime - not found ===> Verifying install for reformime in /buildshare/ports/355755/mail/maildrop ===> Installing existing package /packages/maildrop-2.7.1_1.txz Installing maildrop-2.7.1_1...Installing pcre-8.34_1... done done ===> Returning to build of qmail-scanner-2.10_1 ===> qmail-scanner-2.10_1 depends on executable: unzip - found ===> qmail-scanner-2.10_1 depends on executable: setuidgid - not found ===> Verifying install for setuidgid in /buildshare/ports/355755/sysutils/daemontools ===> Installing existing package /packages/daemontools-0.76_16.txz Installing daemontools-0.76_16... done ===> Returning to build of qmail-scanner-2.10_1 ===> qmail-scanner-2.10_1 depends on executable: bash - not found ===> Verifying install for bash in /buildshare/ports/355755/shells/bash ===> Installing existing package /packages/bash-4.3.18_2.txz Installing bash-4.3.18_2...Installing gettext-0.18.3.1_1... done Updating /etc/shells done ====================================================================== bash requires fdescfs(5) mounted on /dev/fd If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd To make it permanent, you need the following lines in /etc/fstab: fdesc /dev/fd fdescfs rw 0 0 ====================================================================== ===> Returning to build of qmail-scanner-2.10_1 ===> qmail-scanner-2.10_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-scanner-2.10_1 ===> qmail-scanner-2.10_1 depends on file: /usr/local/bin/tnef - not found ===> Verifying install for /usr/local/bin/tnef in /buildshare/ports/355755/converters/tnef ===> Installing existing package /packages/tnef-1.4.9.txz Installing tnef-1.4.9... done ===> Returning to build of qmail-scanner-2.10_1 ===> qmail-scanner-2.10_1 depends on file: /usr/local/bin/perl5.16.3 - not found ===> Verifying install for /usr/local/bin/perl5.16.3 in /buildshare/ports/355755/lang/perl5.16 ===> Installing existing package /packages/perl5-5.16.3_10.txz Installing perl5-5.16.3_10... done ===> Returning to build of qmail-scanner-2.10_1 ===> qmail-scanner-2.10_1 depends on executable: reformime - found ===> qmail-scanner-2.10_1 depends on executable: unzip - found ===> qmail-scanner-2.10_1 depends on executable: setuidgid - found ===> qmail-scanner-2.10_1 depends on file: /var/qmail/bin/qmail-send - found ===> qmail-scanner-2.10_1 depends on file: /usr/local/bin/tnef - found ===> qmail-scanner-2.10_1 depends on file: /usr/local/bin/perl5.16.3 - found Make install ===> qmail-scanner-2.10_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by qmail-scanner-2.10_1 for building ===> Extracting for qmail-scanner-2.10_1 => SHA256 Checksum OK for qmail-scanner-2.10.tgz. => SHA256 Checksum OK for patch-configure-qms. ===> Patching for qmail-scanner-2.10_1 ===> Applying distribution patches for qmail-scanner-2.10_1 ===> qmail-scanner-2.10_1 depends on executable: reformime - found ===> qmail-scanner-2.10_1 depends on executable: unzip - found ===> qmail-scanner-2.10_1 depends on executable: setuidgid - found ===> qmail-scanner-2.10_1 depends on executable: bash - found ===> qmail-scanner-2.10_1 depends on file: /var/qmail/bin/qmail-send - found ===> qmail-scanner-2.10_1 depends on file: /usr/local/bin/tnef - found ===> qmail-scanner-2.10_1 depends on file: /usr/local/bin/perl5.16.3 - found ===> Configuring for qmail-scanner-2.10_1 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/mail/qmail-scanner/work/qmail-scanner-2.10/configure ---------------------------------------- You may use the following build options: QS_USER User to run Q-S (Default: qscand) QS_ADMIN Administrator Q-S Address (just username) (Default: postmaster) QS_DOMAIN Administrator Domain (QS_ADMIN@QS_DOMAIN) (Default: hostname) QS_ADMIN_DESC Real Name of Administrator Q-S (Default: System Anti-Virus Administrator) QS_SCANNERS List of scanners installed, e.g. bitdefender,nod32 (Default: auto) QS_SKIP_MSGS Q-S will skip running any anti-virus scanners on any messages it works out are text-only. (Default: yes|no) QS_NOTIFY Who has to be notify of viruses/spams (Default: 'psender|precips') QS_LOCALDOMAINS Domains classified as local domains preventing alerts of externals users (and mailing-lists...) QS_DLPMONITOR Using this will cause Q-S to *not* block events that match this regex. QS_SA_TIMEOUT This is the max number of seconds you will allow spamc to take on processing a mail message. QS_SA_FT This can be used in addition to sa-timeout as a way of telling Qmail-Scanner to let SA 'have another go' at processing a message if it was unable to get it right the first time. QS_SA_MAXSIZE This size (in bytes) sets the max size email that will be processed by SpamAssassin. QS_SA_QUARANTINE If SA tags a message as having a score higher than 'required_hits', then that message will be quarantined into a new maildir '/.spam/' and not delivered to end-user (Default: disabled, Options: Any positive number) QS_LANG Specify languages for Q-S mails alerts Supported languages are: af_ZA, cs_CZ, da_DK, de_DE, en_GB, en_PL, enlt_LT, enlt_LT_short, es_ES, fr_FR, it_IT, ja_JP.EUC, nl_NL, no_NO, pl_PL, pt_BR, pt_PT, sk_SK, sv_SE, tr_TR, tr_TR_ascii and tw_BIG5 Default depends on your LANG variable (Default: en_GB if LANG is not set) QS_ARCHIVE If yes, all copies of processed mail will be moved into the maildir 'POOLDIR/RCHIVEDIR/'. Any other string besides 'yes' and 'no' will be treated as a REGEX. Only mail from or to an address that contains that regex will be archived. e.g. 'jhaar|harry' (Default: no, Options: yes|no|regex) QS_LOGDETAILS Whether or not to log to mailstats.csv/via syslog the attachment structure of every Email message. Logs to syslog by default. (Default: syslog, Options: yes|syslog|no) QS_LOGCRYPTO Simply notes in the log record if the message contained any form of digital signing or encryption (S/MIME, PGP and password protected files) (Default: no, Options: yes|no) QS_MAXSCANSIZE Email messages (raw size) larger than this number (in bytes) will skip all AV and Spam scanning checks. It's to stop Q-S scanning 300Mbyte TIFF file messages and the like. (Default: 100Mbytes) QS_MAXZIPSIZE Zip that would have unpacked into more diskspace than this value will be blocked (prevent DoS) (Default: 1Gbytes) QS_EOLCHECK Making this yes stops Qmail-Scanner from treating '\r' or '\0' chars in the headers of MIME mail messages as being suspicious enough to quarantine mail over. (Default: no, Options: yes|no) QS_HEADERS This adds the now old-fashion X-Qmail-Scanner headers to the message. all adds the rcpt to headers too - this is a privacy hole. (Default: no, Options: yes|no|all) QS_DEBUG Whether or not debugging is turned on. Can be also set to a number. NOTE: Numbers over 100 cause Q-S to not cleanup working files (Default: yes, Options: yes|no|number) Building Qmail-Scanner 2.10st-20111118... This script will search your system for the virus scanners it knows about, and will ensure that all external programs qmail-scanner-queue.pl uses are explicitly pathed for performance reasons. It will then generate qmail-scanner-queue.pl - it is up to you to install it correctly. Searching ......../configure: line 1132: dig: command not found Error: DNS lookup off malware.hash.cymru.com FAILED - cannot use Malware Hash Registry ../configure: line 1132: dig: command not found Error: DNS lookup off malware.hash.cymru.com FAILED - cannot use Malware Hash Registry ../configure: line 1132: dig: command not found Error: DNS lookup off malware.hash.cymru.com FAILED - cannot use Malware Hash Registry ../configure: line 1132: dig: command not found Error: DNS lookup off malware.hash.cymru.com FAILED - cannot use Malware Hash Registry ../configure: line 1132: dig: command not found Error: DNS lookup off malware.hash.cymru.com FAILED - cannot use Malware Hash Registry ...................... /usr/bin/uudecode works as expected on system... Found tnef on your system! That means we'll be able to decode stupid M$ attachments :-) ============================================================== The following binaries and scanners were found on your system: ============================================================== mimeunpacker=/usr/local/bin/reformime uudecode=/usr/bin/uudecode tnef=/usr/local/bin/tnef Content/Virus Scanners installed on your System max-scan-size=100000000 Qmail-Scanner details. debug=1 log-details=syslog log-crypto=0 fix-mime=0 ignore-eol-check=0 notify=psender,precips redundant-scanning=1 virus-admin=System Anti-Virus Administrator local-domains='slot1.XXX' silent-viruses='klez','bugbear','hybris','yaha','braid','nimda','tanatos','sobig','winevar','palyh','fizzer','gibe','cailont','lovelorn','swen','dumaru','sober','hawawi','hawaii','holar-i','mimail','poffer','bagle','worm.galil','mydoom','worm.sco','tanx','novarg','\@mm','cissy','cissi','qizy','bugler','dloade','netsky','spam' dlp-monitor= scanners= ---------------------------------------------- st: configuration options for 2.10st-20111118 ---------------------------------------------- settings-per-domain=0 dscr-hdrs-text='X-Qmail-Scanner' If that looks correct, I will now generate qmail-scanner-queue.pl for your system... Finished. Please read README(.html) and then go over the script to check paths/etc, and then install as you see fit. Remember to copy quarantine-events.txt to /var/spool/qscand and then run "qmail-scanner-queue.pl -g" to generate DB version. ######################################################################## ## # NOTE: No content/virus scanner was found on your system - so only the internal perlscaner will be available for you to use. Hope that's what you expected :-) # ## ######################################################################## ### qmail-scanner-queue.pl has been generated in this directory and looks OK. It is up to you installing it by hand or re-run this script adding the option '--install 1' ### ===> Building for qmail-scanner-2.10_1 ===> Installing for qmail-scanner-2.10_1 ===> qmail-scanner-2.10_1 depends on executable: reformime - found ===> qmail-scanner-2.10_1 depends on executable: unzip - found ===> qmail-scanner-2.10_1 depends on executable: setuidgid - found ===> qmail-scanner-2.10_1 depends on file: /var/qmail/bin/qmail-send - found ===> qmail-scanner-2.10_1 depends on file: /usr/local/bin/tnef - found ===> qmail-scanner-2.10_1 depends on file: /usr/local/bin/perl5.16.3 - found ===> Generating temporary packing list ===> Checking if mail/qmail-scanner already installed chown: /usr/local/bin/qmail-scanner-queue: No such file or directory chmod: /usr/local/bin/qmail-scanner-queue: No such file or directory perlscanner: generate new DB file from /var/spool/qscand/quarantine-events.txt =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Congratulations! Qmail-Scanner is now installed! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ATTENTION!!! For qmail-scanner work correctly, be sure to have QMAILQUEUE patch applied on your qmail. Please, configure correctly your anti-virus and anti-spam. You HAVE to reinstall this port each time you add or remove an Anti-Virus or Anti-Spam; Now configure the environment variable to use qmail-scanner: You just need to add for your tcpserver file (generally called as 'tcp.smtp'): QMAILQUEUE="/usr/local/bin/qmail-scanner-queue" Or create an new file in /service/smtpd/env: # echo '/usr/local/bin/qmail-scanner-queue' > /service/smtpd/env/QMAILQUEUE NOTE: always you change anything in your environment dir, you just need to restart your smtpd, for it, use: "svc -k /service/smtpd". You can test your installation by running 'make test' in port dir. Remember to rename quarantine-events.txt.sample in /var/spool/qscand and then run "qmail-scanner-queue.pl -g" to generate DB version. Please log into an unpriviledged account and run /usr/local/bin/qmail-scanner-queue -g ===> Registering installation for qmail-scanner-2.10_1 pkg-static: lstat(/usr/local/bin/qmail-scanner-queue): No such file or directory Installing qmail-scanner-2.10_1... done Make package ===> Building package for qmail-scanner-2.10_1 Creating package for qmail-scanner-2.10_1 slot1: removed