summaryrefslogtreecommitdiff
path: root/mail/qmail-scanner
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 21:25:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 21:25:59 +0000
commit8003ba152f15aa82aaadd76fcd6b669cc0cc9981 (patch)
tree7842527232644d8f0fc76639a38e9596a910d381 /mail/qmail-scanner
parentConvert to USES=libtool and add INSTALL_TARGET=install-strip (diff)
Remove non staged ports without pending PR from ma*
Notes
Notes: svn path=/head/; revision=366959
Diffstat (limited to 'mail/qmail-scanner')
-rw-r--r--mail/qmail-scanner/Makefile309
-rw-r--r--mail/qmail-scanner/distinfo4
-rw-r--r--mail/qmail-scanner/files/extra-patch-configure11
-rw-r--r--mail/qmail-scanner/files/pkg-deinstall.in5
-rw-r--r--mail/qmail-scanner/files/pkg-install.in53
-rw-r--r--mail/qmail-scanner/files/pkg-message.in35
-rw-r--r--mail/qmail-scanner/pkg-descr10
-rw-r--r--mail/qmail-scanner/pkg-plist30
8 files changed, 0 insertions, 457 deletions
diff --git a/mail/qmail-scanner/Makefile b/mail/qmail-scanner/Makefile
deleted file mode 100644
index a7a62cebc373..000000000000
--- a/mail/qmail-scanner/Makefile
+++ /dev/null
@@ -1,309 +0,0 @@
-# Created by: moeti <freebsd@simplerezo.com>
-# $FreeBSD$
-
-PORTNAME= qmail-scanner
-PORTVERSION= 2.10
-PORTREVISION= 1
-CATEGORIES= mail security
-MASTER_SITES= SF
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Content/Anti-virus Scanner for qmail
-
-RUN_DEPENDS+= reformime:${PORTSDIR}/mail/maildrop \
- unzip:${PORTSDIR}/archivers/unzip \
- setuidgid:${PORTSDIR}/sysutils/daemontools
-BUILD_DEPENDS+= reformime:${PORTSDIR}/mail/maildrop \
- unzip:${PORTSDIR}/archivers/unzip \
- setuidgid:${PORTSDIR}/sysutils/daemontools \
- bash:${PORTSDIR}/shells/bash
-
-CONFLICTS= qmail-scanner-1.* qmail-scanner1-*
-
-USES= qmail perl5 tar:tgz
-
-SPOOLDIR?= /var/spool/qscand
-PLIST_SUB= SPOOLDIR=${SPOOLDIR}
-
-QMAIL_QUEUE= ${QMAIL_PREFIX}/bin/qmail-queue
-
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS+= \
- --qmaildir "${QMAIL_PREFIX}" \
- --spooldir "${SPOOLDIR}" \
- --etcdir "${SPOOLDIR}" \
- --logdir "${SPOOLDIR}" \
- --bindir "${PREFIX}/bin" \
- --qmail-queue-binary "${QMAIL_QUEUE}" \
- --mime-unpacker "reformime" \
- --no-QQ-check \
- --batch
-
-QS_USER?= qscand
-QS_ADMIN?= postmaster
-QS_ID?= 98
-
-DOCS= logging_first_80_chars.eml patch_for_nod32_single_user.eml \
- reformime-test.eml spamc-nasty.eml spamc-nice.eml vpopmail-issues.eml
-CONTRIB= mrtg-qmail-scanner.cfg check_AV_daemons logrotate.qmail-scanner \
- qs2mrtg.pl qs_config.sh qscan-spam-to-users.pl rbl_scanner.txt \
- sub-avpdaemon.pl sub-sender-cache.pl test-avgd.pl test-clamd.pl \
- test-sophie.pl test-trophie.pl test_installation.sh test_password.zip \
- qmail-scanner-queue.c
-
-OPTIONS_DEFINE= TNEF FIX_MIME REDUNDANT NORMALIZE CWRAPPER STPATCH
-OPTIONS_DEFAULT=TNEF REDUNDANT CWRAPPER STPATCH
-
-TNEF_DESC= Mark Simpson's Patch (Recommended)
-FIX_MIME_DESC= Fix broken MIME messages
-REDUNDANT_DESC= Scan attachments and body mails
-NORMALIZE_DESC= Decode encoded headers per MIME Base64
-CWRAPPER_DESC= C wrapper (no suid perl script needed)
-STPATCH_DESC= st patch from toribio.apollinare.org
-
-SUB_FILES= pkg-deinstall pkg-install pkg-message
-SUB_LIST+= QS_USER=${QS_USER} \
- QS_ID=${QS_ID} \
- SPOOLDIR=${SPOOLDIR}
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-# Options
-.if ${PORT_OPTIONS:MTNEF}
-BUILD_DEPENDS+= ${LOCALBASE}/bin/tnef:${PORTSDIR}/converters/tnef
-RUN_DEPENDS+= ${LOCALBASE}/bin/tnef:${PORTSDIR}/converters/tnef
-.endif
-
-.if ! ${PORT_OPTIONS:MFIX_MIME}
-CONFIGURE_ARGS+= --fix-mime no
-.endif
-
-.if ! ${PORT_OPTIONS:MREDUNDANT}
-CONFIGURE_ARGS+= --redundant no
-.endif
-
-.if ! ${PORT_OPTIONS:MNORMALIZE}
-CONFIGURE_ARGS+= --normalize no
-.endif
-
-.if ${PORT_OPTIONS:MCWRAPPER}
-SUB_LIST+= CWRAPPER=yes
-SUB_LIST+= QSQ_TARGET=qmail-scanner-queue
-CWRAPPER_FLG= yes
-PLIST_SUB+= CWRAPPER=""
-CONFIGURE_ARGS+=--skip-setuid-test
-.else
-SUB_LIST+= CWRAPPER=no
-SUB_LIST+= QSQ_TARGET=qmail-scanner-queue.pl
-CWRAPPER_FLG= no
-PLIST_SUB+= CWRAPPER="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MSTPATCH} || make (makesum)
-PATCH_SITES= http://freebsdrocks.net/files9/
-PATCHFILES= patch-configure-qms
-.else
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-configure
-.endif
-
-.if defined(QS_USER)
-CONFIGURE_ARGS+= --qs-user "${QS_USER}"
-.endif
-
-.if defined(QS_ADMIN)
-CONFIGURE_ARGS+= --admin "${QS_ADMIN}"
-.endif
-
-.if defined(QS_DOMAIN)
-CONFIGURE_ARGS+= --domain "${QS_DOMAIN}"
-.endif
-
-.if defined(QS_ADMIN_DESC)
-CONFIGURE_ARGS+= --admin-description "${QS_ADMIN_DESC}"
-.endif
-
-.if defined(QS_SCANNERS)
-CONFIGURE_ARGS+= --scanners "${QS_SCANNERS}"
-.endif
-
-.if defined(QS_SKIP_MSGS)
-CONFIGURE_ARGS+= --skip-text-msgs "${QS_SKIP_MSGS}"
-.endif
-
-.if defined(QS_NOTIFY)
-CONFIGURE_ARGS+= --notify "${QS_NOTIFY}"
-.else
-CONFIGURE_ARGS+= --notify psender,precips
-.endif
-
-.if defined(QS_LOCALDOMAINS) && !empty(QS_LOCALDOMAINS)
-CONFIGURE_ARGS+= --local-domains "${QS_LOCALDOMAINS}"
-.endif
-
-.if defined(QS_DLPMONITOR)
-CONFIGURE_ARGS+= --dlp-monitor "${QS_DLPMONITOR}"
-.endif
-
-.if defined(QS_SA_QUARANTINE)
-CONFIGURE_ARGS+= --sa-quarantine "${QS_SA_QUARANTINE}"
-.endif
-
-.if defined(QS_SA_TIMEOUT)
-CONFIGURE_ARGS+= --sa-timeout "${QS_SA_TIMEOUT}"
-.endif
-
-.if defined(QS_SA_FT)
-CONFIGURE_ARGS+= --sa-faulttolerant "${QS_SA_FT}"
-.endif
-
-.if defined(QS_SA_MAXSIZE)
-CONFIGURE_ARGS+= --sa-maxsize "${QS_SA_MAXSIZE}"
-.endif
-
-.if defined(QS_LANG)
-CONFIGURE_ARGS+= --lang "${QS_LANG}"
-.endif
-
-.if defined(QS_ARCHIVE)
-CONFIGURE_ARGS+= --archive "${QS_ARCHIVE}"
-.endif
-
-.if defined(QS_MAX_SCAN_SIZE)
-CONFIGURE_ARGS+= --max-scan-size "${QS_MAX_SCAN_SIZE}"
-.endif
-
-.if defined(QS_LOGDETAILS)
-CONFIGURE_ARGS+= --log-details "${QS_LOGDETAILS}"
-.endif
-
-.if defined(QS_LOGCRYPTO)
-CONFIGURE_ARGS+= --log-crypto "${QS_LOGCRYPTO}"
-.endif
-
-.if defined(QS_EOLCHECK)
-CONFIGURE_ARGS+= --ignore-eol-check "${QS_EOLCHECK}"
-.endif
-
-.if defined(QS_HEADERS)
-CONFIGURE_ARGS+= --add-dscr-hdrs "${QS_HEADERS}"
-.endif
-
-.if defined(QS_DEBUG)
-CONFIGURE_ARGS+= --debug "${QS_DEBUG}"
-.endif
-
-.if defined(QS_MAX_ZIP_SIZE)
-CONFIGURE_ARGS+= --max-zip-size "${QS_MAX_ZIP_SIZE}"
-.endif
-
-pre-configure:
- @${ECHO_MSG} ""
- @${ECHO_MSG} "----------------------------------------"
- @${ECHO_MSG} "You may use the following build options:"
- @${ECHO_MSG} ""
- @${ECHO_MSG} "QS_USER User to run Q-S"
- @${ECHO_MSG} " (Default: qscand)"
- @${ECHO_MSG} "QS_ADMIN Administrator Q-S Address (just username)"
- @${ECHO_MSG} " (Default: postmaster)"
- @${ECHO_MSG} "QS_DOMAIN Administrator Domain (QS_ADMIN@QS_DOMAIN)"
- @${ECHO_MSG} " (Default: hostname)"
- @${ECHO_MSG} "QS_ADMIN_DESC Real Name of Administrator Q-S"
- @${ECHO_MSG} " (Default: System Anti-Virus Administrator)"
- @${ECHO_MSG} "QS_SCANNERS List of scanners installed, e.g. bitdefender,nod32"
- @${ECHO_MSG} " (Default: auto)"
- @${ECHO_MSG} "QS_SKIP_MSGS Q-S will skip running any anti-virus scanners on"
- @${ECHO_MSG} " any messages it works out are text-only."
- @${ECHO_MSG} " (Default: yes|no)"
- @${ECHO_MSG} "QS_NOTIFY Who has to be notify of viruses/spams"
- @${ECHO_MSG} " (Default: 'psender|precips')"
- @${ECHO_MSG} "QS_LOCALDOMAINS Domains classified as local domains preventing alerts"
- @${ECHO_MSG} " of externals users (and mailing-lists...)"
- @${ECHO_MSG} "QS_DLPMONITOR Using this will cause Q-S to *not* block events that match"
- @${ECHO_MSG} " this regex."
- @${ECHO_MSG} "QS_SA_TIMEOUT This is the max number of seconds you will allow spamc to"
- @${ECHO_MSG} " take on processing a mail message."
- @${ECHO_MSG} "QS_SA_FT This can be used in addition to sa-timeout as a way of"
- @${ECHO_MSG} " telling Qmail-Scanner to let SA 'have another go'"
- @${ECHO_MSG} " at processing a message if it was unable to get it right"
- @${ECHO_MSG} " the first time."
- @${ECHO_MSG} "QS_SA_MAXSIZE This size (in bytes) sets the max size email that will be"
- @${ECHO_MSG} " processed by SpamAssassin."
- @${ECHO_MSG} "QS_SA_QUARANTINE If SA tags a message as having a score higher than"
- @${ECHO_MSG} " 'required_hits', then that message will be quarantined"
- @${ECHO_MSG} " into a new maildir '/.spam/' and not delivered to end-user"
- @${ECHO_MSG} " (Default: disabled, Options: Any positive number)"
- @${ECHO_MSG} "QS_LANG Specify languages for Q-S mails alerts"
- @${ECHO_MSG} " Supported languages are: af_ZA, cs_CZ, da_DK, de_DE,"
- @${ECHO_MSG} " en_GB, en_PL, enlt_LT, enlt_LT_short, es_ES, fr_FR,"
- @${ECHO_MSG} " it_IT, ja_JP.EUC, nl_NL, no_NO, pl_PL, pt_BR, pt_PT,"
- @${ECHO_MSG} " sk_SK, sv_SE, tr_TR, tr_TR_ascii and tw_BIG5"
- @${ECHO_MSG} " Default depends on your LANG variable"
- @${ECHO_MSG} " (Default: en_GB if LANG is not set)"
- @${ECHO_MSG} "QS_ARCHIVE If "yes", all copies of processed mail will be moved into the"
- @${ECHO_MSG} " maildir '$SPOOLDIR/$ARCHIVEDIR/'. Any other string besides 'yes'"
- @${ECHO_MSG} " and 'no' will be treated as a REGEX. Only mail from or to an"
- @${ECHO_MSG} " address that contains that regex will be archived."
- @${ECHO_MSG} " e.g. 'jhaar|harry'"
- @${ECHO_MSG} " (Default: no, Options: yes|no|regex)"
- @${ECHO_MSG} "QS_LOGDETAILS Whether or not to log to mailstats.csv/via syslog the attachment"
- @${ECHO_MSG} " structure of every Email message. Logs to "syslog" by default."
- @${ECHO_MSG} " (Default: syslog, Options: yes|syslog|no)"
- @${ECHO_MSG} "QS_LOGCRYPTO Simply notes in the log record if the message"
- @${ECHO_MSG} " contained any form of digital signing or encryption"
- @${ECHO_MSG} " (S/MIME, PGP and password protected files)"
- @${ECHO_MSG} " (Default: no, Options: yes|no)"
- @${ECHO_MSG} "QS_MAXSCANSIZE Email messages (raw size) larger than this number (in bytes)"
- @${ECHO_MSG} " will skip all AV and Spam scanning checks. It's to stop Q-S"
- @${ECHO_MSG} " scanning 300Mbyte TIFF file messages and the like."
- @${ECHO_MSG} " (Default: 100Mbytes)"
- @${ECHO_MSG} "QS_MAXZIPSIZE Zip that would have unpacked into more diskspace"
- @${ECHO_MSG} " than this value will be blocked (prevent DoS)"
- @${ECHO_MSG} " (Default: 1Gbytes)"
- @${ECHO_MSG} "QS_EOLCHECK Making this "yes" stops Qmail-Scanner from treating '\r' or '\0'"
- @${ECHO_MSG} " chars in the headers of MIME mail messages as being suspicious"
- @${ECHO_MSG} " enough to quarantine mail over."
- @${ECHO_MSG} " (Default: no, Options: yes|no)"
- @${ECHO_MSG} "QS_HEADERS This adds the now old-fashion X-Qmail-Scanner headers to the message."
- @${ECHO_MSG} " "all" adds the "rcpt to" headers too - this is a privacy hole."
- @${ECHO_MSG} " (Default: no, Options: yes|no|all)"
- @${ECHO_MSG} "QS_DEBUG Whether or not debugging is turned on. Can be also set to a number."
- @${ECHO_MSG} " NOTE: Numbers over 100 cause Q-S to not cleanup working files"
- @${ECHO_MSG} " (Default: yes, Options: yes|no|number)"
- @${ECHO_MSG} ""
- @${SED} -e 's,%%SPOOLDIR%%,${SPOOLDIR},g; s,%%QS_USER%%,${QS_USER},g; \
- s,%%QS_ID%%,${QS_ID},g; s,%%CWRAPPER%%,${CWRAPPER_FLG},g' \
- ${FILESDIR}/pkg-install.in > ${PKGINSTALL}
- @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
-
-do-build:
- @${REINPLACE_CMD} -E 's,^#!.*perl(.*)$$,#!${PERL}\1,' ${WRKSRC}/qmail-scanner-queue.pl
-.if defined(WITH_CWRAPPER)
- # remove the -T option in the perl script:
- @${REINPLACE_CMD} -E 's,^(#!${PERL}.*)-T(.*)$$,\1\2,' ${WRKSRC}/qmail-scanner-queue.pl
- # patch the correct paths into the c wrapper:
- @${REINPLACE_CMD} -E 's|^(#define REAL_PATH ")/var/qmail/bin/qmail-scanner-queue.pl(".*)$$|\1${PREFIX}/bin/qmail-scanner-queue.pl\2|' \
- ${WRKSRC}/contrib/qmail-scanner-queue.c
- # compile the c wrapper:
- @${MAKE} -C ${WRKSRC}/contrib
-.endif
-
-do-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}/contrib
- @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/contrib/,} ${DOCSDIR}/contrib
- @${INSTALL_SCRIPT} ${CONTRIB:S,^,${WRKSRC}/contrib/,} ${DOCSDIR}/contrib
-.endif
- @${MKDIR} ${SPOOLDIR}
- @${INSTALL_SCRIPT} ${WRKSRC}/qmail-scanner-queue.pl ${PREFIX}/bin
-.if defined(WITH_CWRAPPER)
- @${INSTALL_PROGRAM} ${WRKSRC}/contrib/qmail-scanner-queue ${PREFIX}/bin
-.endif
- @${INSTALL_DATA} ${WRKSRC}/quarantine-events.txt ${SPOOLDIR}/quarantine-events.txt.sample
- @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
- @${CAT} ${PKGMESSAGE}
-
-test:
- @${WRKSRC}/contrib/test_installation.sh -doit
-
-.include <bsd.port.post.mk>
diff --git a/mail/qmail-scanner/distinfo b/mail/qmail-scanner/distinfo
deleted file mode 100644
index 03b76fd21e46..000000000000
--- a/mail/qmail-scanner/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (qmail-scanner-2.10.tgz) = b6c430c81efd41bd28e56fb60e6e1ecbd98e44346c2faad69ff164960f042247
-SIZE (qmail-scanner-2.10.tgz) = 244402
-SHA256 (patch-configure-qms) = d2aa7cc5d665f988f07ca0e66900ccf55dbeeb5ad75f9be02ba022fae07d0e3c
-SIZE (patch-configure-qms) = 536757
diff --git a/mail/qmail-scanner/files/extra-patch-configure b/mail/qmail-scanner/files/extra-patch-configure
deleted file mode 100644
index 74c008ec5038..000000000000
--- a/mail/qmail-scanner/files/extra-patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.old 2012-05-25 16:16:34.000000000 -0300
-+++ configure 2012-05-25 16:16:51.000000000 -0300
-@@ -817,7 +817,7 @@
- UNZIP_OPTIONS=""
- fi
- #Now check we can get filesizes out
-- EE=`unzip -Ptest -lv contrib/test_password.zip 2>&1|egrep '80688.*test/ls'`
-+ EE=`unzip -lv contrib/test_password.zip 2>&1|egrep '80688.*test/ls'`
- if [ "$EE" = "" ]; then
- echo "**FATAL ERROR ***"
- echo ""
diff --git a/mail/qmail-scanner/files/pkg-deinstall.in b/mail/qmail-scanner/files/pkg-deinstall.in
deleted file mode 100644
index b5be2efd41d8..000000000000
--- a/mail/qmail-scanner/files/pkg-deinstall.in
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-if [ "$2" = "DEINSTALL" ]; then
- echo "If you're not updating this port, you can delete directory %%SPOOLDIR%%"
-fi
diff --git a/mail/qmail-scanner/files/pkg-install.in b/mail/qmail-scanner/files/pkg-install.in
deleted file mode 100644
index 6452fc0ffc5d..000000000000
--- a/mail/qmail-scanner/files/pkg-install.in
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-
-PW="/usr/sbin/pw"
-CHOWN="/usr/sbin/chown"
-CHMOD="/bin/chmod"
-MKDIR="/bin/mkdir -p"
-NOLOGIN="/usr/sbin/nologin"
-
-QS_USER=%%QS_USER%%
-QS_ID=%%QS_ID%%
-
-SPOOLDIR=%%SPOOLDIR%%
-CWRAPPER=%%CWRAPPER%%
-
-case "$2" in
-PRE-INSTALL)
- # User and group
- ${PW} groupshow -n ${QS_USER} >/dev/null 2>&1 \
- || ${PW} groupadd -n ${QS_USER} -g ${QS_ID}
- ${PW} usershow -n ${QS_USER} >/dev/null 2>&1 \
- || ${PW} useradd ${QS_USER} -g ${QS_USER} -u ${QS_ID} -s ${NOLOGIN} -d ${SPOOLDIR}
- ;;
-POST-INSTALL)
- # Directories
- for i in working archives; do
- for j in tmp cur new; do
- [ ! -d ${SPOOLDIR}/${i}/${j} ] && (${MKDIR} ${SPOOLDIR}/${i}/${j} || exit 1)
- done
- done
- for i in viruses policy spam; do
- for j in tmp cur new; do
- [ ! -d ${SPOOLDIR}/quarantine/${i}/${j} ] && (${MKDIR} ${SPOOLDIR}/quarantine/${i}/${j} || exit 1)
- done
- done
-
- # Mod and owner
- ${CHOWN} -R ${QS_USER}:${QS_USER} ${SPOOLDIR}
- ${CHOWN} ${QS_USER}:${QS_USER} ${PKG_PREFIX}/bin/qmail-scanner-queue.pl
- if [ ":${CWRAPPER}" = ":yes" ]; then
- ${CHOWN} ${QS_USER}:${QS_USER} ${PKG_PREFIX}/bin/qmail-scanner-queue
- ${CHMOD} 6755 ${PKG_PREFIX}/bin/qmail-scanner-queue
- ${CHMOD} 0755 ${PKG_PREFIX}/bin/qmail-scanner-queue.pl
- else
- ${CHMOD} 4755 ${PKG_PREFIX}/bin/qmail-scanner-queue.pl
- fi
- # Initialize
- ${PKG_PREFIX}/bin/qmail-scanner-queue.pl -z
- ${PKG_PREFIX}/bin/qmail-scanner-queue.pl -g
-
- # Mod and owner (final)
- ${CHOWN} -R ${QS_USER}:${QS_USER} ${SPOOLDIR}
- ;;
-esac
diff --git a/mail/qmail-scanner/files/pkg-message.in b/mail/qmail-scanner/files/pkg-message.in
deleted file mode 100644
index 862a23cb2207..000000000000
--- a/mail/qmail-scanner/files/pkg-message.in
+++ /dev/null
@@ -1,35 +0,0 @@
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-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="%%PREFIX%%/bin/%%QSQ_TARGET%%"
-
-Or create an new file in /service/smtpd/env:
-
-# echo '%%PREFIX%%/bin/%%QSQ_TARGET%%' > /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
-
-%%PREFIX%%/bin/%%QSQ_TARGET%% -g
diff --git a/mail/qmail-scanner/pkg-descr b/mail/qmail-scanner/pkg-descr
deleted file mode 100644
index d2635e69e0ea..000000000000
--- a/mail/qmail-scanner/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-Qmail-Scanner is an add-on that enables a Qmail email server to scan gatewayed
-email for certain characteristics (i.e. a content scanner). It is typically used
-for its anti-virus and anti-spam protection functions, in which case it is used
-in conjunction with external scanners.
-
-It also enables a site (at a server/site level) to create "Policy blocks":
-i.e. react to email that contains specific strings in particular headers, or
-particular attachment filenames or types (e.g. *.VBS attachments).
-
-WWW: http://qmail-scanner.sourceforge.net/
diff --git a/mail/qmail-scanner/pkg-plist b/mail/qmail-scanner/pkg-plist
deleted file mode 100644
index d9bb083cdb96..000000000000
--- a/mail/qmail-scanner/pkg-plist
+++ /dev/null
@@ -1,30 +0,0 @@
-bin/qmail-scanner-queue.pl
-%%CWRAPPER%%bin/qmail-scanner-queue
-%%PORTDOCS%%%%DOCSDIR%%/contrib/logging_first_80_chars.eml
-%%PORTDOCS%%%%DOCSDIR%%/contrib/patch_for_nod32_single_user.eml
-%%PORTDOCS%%%%DOCSDIR%%/contrib/reformime-test.eml
-%%PORTDOCS%%%%DOCSDIR%%/contrib/spamc-nasty.eml
-%%PORTDOCS%%%%DOCSDIR%%/contrib/spamc-nice.eml
-%%PORTDOCS%%%%DOCSDIR%%/contrib/vpopmail-issues.eml
-%%PORTDOCS%%%%DOCSDIR%%/contrib/check_AV_daemons
-%%PORTDOCS%%%%DOCSDIR%%/contrib/logrotate.qmail-scanner
-%%PORTDOCS%%%%DOCSDIR%%/contrib/mrtg-qmail-scanner.cfg
-%%PORTDOCS%%%%DOCSDIR%%/contrib/qmail-scanner-queue.c
-%%PORTDOCS%%%%DOCSDIR%%/contrib/qs2mrtg.pl
-%%PORTDOCS%%%%DOCSDIR%%/contrib/qs_config.sh
-%%PORTDOCS%%%%DOCSDIR%%/contrib/qscan-spam-to-users.pl
-%%PORTDOCS%%%%DOCSDIR%%/contrib/rbl_scanner.txt
-%%PORTDOCS%%%%DOCSDIR%%/contrib/sub-avpdaemon.pl
-%%PORTDOCS%%%%DOCSDIR%%/contrib/sub-sender-cache.pl
-%%PORTDOCS%%%%DOCSDIR%%/contrib/test-avgd.pl
-%%PORTDOCS%%%%DOCSDIR%%/contrib/test-clamd.pl
-%%PORTDOCS%%%%DOCSDIR%%/contrib/test-sophie.pl
-%%PORTDOCS%%%%DOCSDIR%%/contrib/test-trophie.pl
-%%PORTDOCS%%%%DOCSDIR%%/contrib/test_installation.sh
-%%PORTDOCS%%%%DOCSDIR%%/contrib/test_password.zip
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@unexec echo ""
-@unexec echo "If you are permanently removing qmail-scanner, you should also:" | /usr/bin/fmt
-@unexec echo "'rm -rf %%SPOOLDIR%%' and remove user/group 'qscand'." | /usr/bin/fmt
-@unexec echo ""