From 268db76822cd2fa59ec03837b93bd791bd536eb8 Mon Sep 17 00:00:00 2001 From: Sergei Kolobov Date: Thu, 20 Nov 2003 22:10:36 +0000 Subject: - Update to 4.24-5 - Re-write/clean up most of port's Makefile - Remove the need for patch, use Perl to substitute strings PR: 58715 Submitted by: maintainer --- mail/mailscanner-devel/Makefile | 203 +- mail/mailscanner-devel/distinfo | 2 +- mail/mailscanner-devel/files/README.FreeBSD.port | 48 + mail/mailscanner-devel/files/mailscanner.sh | 55 + mail/mailscanner-devel/files/mta.sh | 117 + mail/mailscanner-devel/files/patch-Makefile | 153 - mail/mailscanner-devel/files/patch-bin:MailScanner | 17 - .../files/patch-bin:mailscanner.sh | 58 - mail/mailscanner-devel/files/patch-bin:mta.sh | 120 - .../files/patch-docs:README.FreeBSD.port | 51 - .../files/patch-docs:man:MailScanner.8 | 122 - .../files/patch-docs:man:MailScanner.conf.5 | 187 - .../files/patch-docs:man:MailScanner.conf.5.html | 3570 -------------------- .../files/patch-etc:MailScanner.conf | 76 - .../files/patch-etc:virus.scanners.conf | 43 - .../files/patch-lib:MailScanner:ConfigDefs.pl | 72 - .../files/patch-lib:MailScanner:SystemDefs.pm | 10 - mail/mailscanner-devel/pkg-message | 12 +- mail/mailscanner-devel/pkg-plist | 76 +- 19 files changed, 464 insertions(+), 4528 deletions(-) create mode 100644 mail/mailscanner-devel/files/README.FreeBSD.port create mode 100644 mail/mailscanner-devel/files/mailscanner.sh create mode 100644 mail/mailscanner-devel/files/mta.sh delete mode 100644 mail/mailscanner-devel/files/patch-Makefile delete mode 100644 mail/mailscanner-devel/files/patch-bin:MailScanner delete mode 100644 mail/mailscanner-devel/files/patch-bin:mailscanner.sh delete mode 100644 mail/mailscanner-devel/files/patch-bin:mta.sh delete mode 100644 mail/mailscanner-devel/files/patch-docs:README.FreeBSD.port delete mode 100644 mail/mailscanner-devel/files/patch-docs:man:MailScanner.8 delete mode 100644 mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5 delete mode 100644 mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5.html delete mode 100644 mail/mailscanner-devel/files/patch-etc:MailScanner.conf delete mode 100644 mail/mailscanner-devel/files/patch-etc:virus.scanners.conf delete mode 100644 mail/mailscanner-devel/files/patch-lib:MailScanner:ConfigDefs.pl delete mode 100644 mail/mailscanner-devel/files/patch-lib:MailScanner:SystemDefs.pm (limited to 'mail/mailscanner-devel') diff --git a/mail/mailscanner-devel/Makefile b/mail/mailscanner-devel/Makefile index 5819df92f627..1deb5655fcb7 100644 --- a/mail/mailscanner-devel/Makefile +++ b/mail/mailscanner-devel/Makefile @@ -1,79 +1,190 @@ -# New ports collection makefile for: MailScanner -# Date created: 17 March 2003 -# Whom: Jan-Peter Koopmann +# New ports collection makefile for: MailScanner +# Date created: 17 March 2003 +# Whom: Jan-Peter Koopmann # # $FreeBSD$ # PORTNAME= mailscanner -PORTVERSION= 4.22.5 -PORTREVISION= 0 +PORTVERSION= 4.24.5 CATEGORIES= mail MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/ -DISTNAME= MailScanner-4.22-5 +DISTNAME= MailScanner-4.24-5 MAINTAINER= j.koopmann@seceidos.de -COMMENT= A powerful virus/spam scanning framework for Sendmail and Exim - -BUILD_DEPENDS= ${SITE_PERL}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy \ - ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ - ${SITE_PERL}/Mail/Header.pm:${PORTSDIR}/mail/p5-Mail-Tools \ - ${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset \ - ${SITE_PERL}/${PERL_ARCH}/HTML/HeadParser.pm:${PORTSDIR}/www/p5-HTML-Parser \ - ${SITE_PERL}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools \ - ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \ - ${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF +COMMENT= Powerful virus/spam scanning framework for Sendmail/Exim + +BUILD_DEPENDS= \ + ${SITE_PERL}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy \ + ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ + ${SITE_PERL}/Mail/Header.pm:${PORTSDIR}/mail/p5-Mail-Tools \ + ${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset \ + ${SITE_PERL}/${PERL_ARCH}/HTML/HeadParser.pm:${PORTSDIR}/www/p5-HTML-Parser \ + ${SITE_PERL}/MIME/Parser.pm:${PORTSDIR}/mail/p5-MIME-Tools \ + ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \ + ${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_PERL5= yes + DATADIR= ${PREFIX}/share/MailScanner DOCSDIR= ${PREFIX}/share/doc/MailScanner +PKGMESSAGE= ${WRKDIR}/pkg-message MAN8= MailScanner.8 MAN5= MailScanner.conf.5 -MLINKS= MailScanner.8 mailscanner.8 MailScanner.conf.5 mailscanner.conf.5 +MLINKS= MailScanner.8 mailscanner.8 \ + MailScanner.conf.5 mailscanner.conf.5 .include .if ${PERL_LEVEL} < 500601 -BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec -RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec .endif -# PATCH_DIST_STRIP= -p1 - -USE_PERL5= yes - -pre-install: - # Delete WRKSRC/.install_* - ${RM} -rf ${WRKSRC}/.install_* +DOC_FILES= INSTALL INSTALL.FreeBSD INSTALL.OpenBSD README +ETC_FILES= MailScanner.conf filename.rules.conf \ + filetype.rules.conf spam.assassin.prefs.conf \ + spam.lists.conf virus.scanners.conf + +do-build: + ${PERL} -pi -e \ + 's,/opt/MailScanner/lib,'${PREFIX}'/lib/MailScanner,g; \ + s,/opt/MailScanner/etc,'${PREFIX}'/etc/MailScanner,g;' \ + ${WRKSRC}/bin/MailScanner + ${PERL} -pi -e \ + 's,/opt/MailScanner/var/MailScanner.pid,/var/run/MailScanner.pid,g; \ + s,/usr/lib/sendmail,/usr/sbin/sendmail,g; \ + s,/opt/MailScanner/bin,'${PREFIX}'bin,g; \ + s,/opt/MailScanner/etc/reports,'${DATADIR}'/reports,g; \ + s,/opt/MailScanner/etc,'${PREFIX}'/etc/MailScanner,g;' \ + ${WRKSRC}/etc/MailScanner.conf + ${PERL} -pi -e \ + 's,/opt/MailScanner/lib,'${PREFIX}'/libexec/MailScanner,g; \ + s,/bin/false,/usr/bin/false,;' ${WRKSRC}/etc/virus.scanners.conf + ${PERL} -pi -e \ + 's,/bin/bash,'${PREFIX}'/bash,g; \ + s,/opt/MailScanner/etc,'${PREFIX}'/etc/MailScanner,g;' \ + ${WRKSRC}/bin/update_virus_scanners + ${PERL} -pi -e \ + 's,/opt/MailScanner/var/MailScanner.pid,/var/run/MailScanner.pid,g; \ + s,/usr/lib/sendmail,/usr/sbin/sendmail,g; \ + s,/opt/MailScanner/bin,'${PREFIX}'/bin,g; \ + s,/opt/MailScanner/etc/reports,'${DATADIR}'/reports,g; \ + s,/opt/MailScanner/etc,'${PREFIX}'/etc/MailScanner,g;' \ + ${WRKSRC}/lib/MailScanner/ConfigDefs.pl + ${PERL} -pi \ + -e 's,/bin/sed,/usr/bin/sed,g;' ${WRKSRC}/lib/MailScanner/SystemDefs.pm do-install: - ( cd ${WRKSRC} ; ${MAKE} ${INSTALL_TARGET} BINOWN="${BINOWN}" BINGRP="${BINGRP}" BINMODE="${BINMODE}" SHAREOWN="${SHAREOWN}" SHAREGRP="{SHAREGRP}" SHAREMODE="${SHAREMODE}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" INSTALL_DATA="${INSTALL_DATA}" PREFIX="${PREFIX}" WRKSPACE="${WRKSPACE}" OVERWRITE_FILENAMERULES="${OVERWRITE_FILENAMERULES}" OVERWRITE_REPORTS="${OVERWRITE_REPORTS}" ) - -post-install: -.for file in ${MAN5} - ${INSTALL_MAN} ${WRKSRC}/docs/man/${file} ${PREFIX}/man/man5 + # + # Step 1: Install binaries + # + ${INSTALL_SCRIPT} ${WRKSRC}/bin/tnef.linux ${PREFIX}/bin/tnef + # + # Step 2: Install libexec files + # + ${MKDIR} ${PREFIX}/libexec/MailScanner + ${CHMOD} -R ${BINMODE} ${PREFIX}/libexec/MailScanner + ${INSTALL_SCRIPT} ${WRKSRC}/bin/MailScanner ${PREFIX}/libexec/MailScanner + cd ${WRKSRC}/lib && ${FIND} * -name "*-wrapper" -exec ${INSTALL_SCRIPT} \ + '{}' ${PREFIX}'/libexec/MailScanner/{}'.sample \; + cd ${WRKSRC}/lib && ${FIND} * -name "*-autoupdate" -exec \ + ${INSTALL_SCRIPT} '{}' ${PREFIX}'/libexec/MailScanner/{}'.sample \; + ${INSTALL_SCRIPT} ${WRKSRC}/bin/update_virus_scanners \ + ${PREFIX}/libexec/MailScanner/update_virus_scanners + # + # Step 3: Install etc files + # + ${MKDIR} ${PREFIX}/etc/MailScanner + ${CHMOD} ${BINMODE} ${PREFIX}/etc/MailScanner +.for FILE in ${ETC_FILES} + ${INSTALL_DATA} ${WRKSRC}/etc/${FILE} \ + ${PREFIX}/etc/MailScanner/${FILE}.sample .endfor - -.for file in ${MAN8} - ${INSTALL_MAN} ${WRKSRC}/docs/man/${file} ${PREFIX}/man/man8 -.endfor - + ${MKDIR} ${PREFIX}/etc/MailScanner/rules + cd ${WRKSRC}/etc/rules && \ + ${INSTALL_DATA} EXAMPLES README ${PREFIX}/etc/MailScanner/rules + ${INSTALL_DATA} ${WRKSRC}/etc/rules/spam.whitelist.rules \ + ${PREFIX}/etc/MailScanner/rules/spam.whitelist.rules.sample + + # + # Step 4: Install files in share + # + @${MKDIR} ${DATADIR} + cd ${WRKSRC}/etc && ${FIND} reports -type d -exec \ + mkdir ${DATADIR}'/{}' \; + cd ${WRKSRC}/etc && ${FIND} reports -type f ! -name "*.orig" -exec \ + ${INSTALL_DATA} '{}' ${DATADIR}'/{}'.sample \; + ${CHMOD} -R ${BINMODE} ${DATADIR}/reports + # + # Step 5: Install lib + # + ${MKDIR} ${PREFIX}/lib/MailScanner/MailScanner + ${INSTALL_SCRIPT} ${WRKSRC}/lib/MailScanner.pm \ + ${PREFIX}/lib/MailScanner/MailScanner.pm + cd ${WRKSRC}/lib/MailScanner && ${FIND} * -type f ! -name "*.orig" -exec \ + ${INSTALL_SCRIPT} '{}' ${PREFIX}'/lib/MailScanner/MailScanner/{}' \; + # + # Step 6: Install Start/Stop scripts + # + ${INSTALL_SCRIPT} ${FILESDIR}/mailscanner.sh \ + ${PREFIX}/etc/rc.d/mailscanner.sh.sample + ${INSTALL_SCRIPT} ${FILESDIR}/mta.sh ${PREFIX}/etc/rc.d/mta.sh.sample + # + # Step 7: Docs & Manpages + # +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${FILESDIR}/README.FreeBSD.port ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOC_FILES} ${DOCSDIR} + cd ${WRKSRC}/docs && \ + ${FIND} * -type d -exec mkdir ${DOCSDIR}'/{}' \; && \ + ${FIND} * -type f ! -name "*.orig" -exec \ + ${INSTALL_DATA} '{}' ${DOCSDIR}'/{}' \; + cd ${WRKSRC}/docs/man && \ + ${INSTALL_MAN} ${MAN5} ${MAN5PREFIX}/man/man5 && \ + ${INSTALL_MAN} ${MAN8} ${MAN8PREFIX}/man/man8 +.endif .if exists(${PREFIX}/etc/MailScanner/MailScanner.conf) # Upgrading MailScanner.conf file... Please wait - @${WRKSRC}/bin/upgrade_MailScanner_conf ${PREFIX}/etc/MailScanner/MailScanner.conf ${PREFIX}/etc/MailScanner/MailScanner.conf.sample > ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION} 2> /dev/null + @${WRKSRC}/bin/upgrade_MailScanner_conf \ + ${PREFIX}/etc/MailScanner/MailScanner.conf \ + ${PREFIX}/etc/MailScanner/MailScanner.conf.sample > \ + ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION} \ + 2> /dev/null # Diff the files. If the files do not differ, delete the new file - @if diff -b -B -q ${PREFIX}/etc/MailScanner/MailScanner.conf ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION} ; \ - then ${ECHO} "No changes in MailScanner.conf options found" ; ${RM} ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION} ; \ + @if diff -b -B -q ${PREFIX}/etc/MailScanner/MailScanner.conf \ + ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION} ; \ + then ${ECHO} "No changes in MailScanner.conf options found" ; \ + ${RM} ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION} ; \ else \ - ${ECHO} "Changes in MailScanner.conf found. Please look at ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION}" ; \ + ${ECHO} "Changes in MailScanner.conf found. Please look at \ + ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION}" ; \ fi - .endif - - @${SED} -e 's#PREFIX#${PREFIX}#' pkg-message - -initial-config: - ( cd ${WRKSRC} ; ${MAKE} initial-config BINOWN="${BINOWN}" BINGRP="${BINGRP}" BINMODE="${BINMODE}" SHAREOWN="${SHAREOWN}" SHAREGRP="{SHAREGRP}" SHAREMODE="${SHAREMODE}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" INSTALL_DATA="${INSTALL_DATA}" PREFIX="${PREFIX}" WRKSPACE="${WRKSPACE}" OVERWRITE_FILENAMERULES="${OVERWRITE_FILENAMERULES}" OVERWRITE_REPORTS="${OVERWRITE_REPORTS}" ) + @${SED} -e 's,%%PREFIX%%,${PREFIX},' pkg-message > ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} + +renew-wrapper: install + # Renew virus wrapper scripts + ${INSTALL_SCRIPT} ${WRKSRC}/lib/*-wrapper ${PREFIX}/libexec/MailScanner + +renew-autoupdate: install + # Renew autoupdate scripts + ${INSTALL_SCRIPT} ${WRKSRC}/lib/*-autoupdate ${PREFIX}/libexec/MailScanner + +renew-reports: install + # Renew reports + cd ${WRKSRC}/etc/reports/en && ${FIND} * -type f ! -name "*.orig" \ + -exec ${INSTALL_DATA} '{}' ${DATADIR}'/reports/en/{}' \; + +initial-config: renew-wrapper renew-autoupdate renew-reports + cd ${WRKSRC}/etc && ${INSTALL_DATA} ${ETC_FILES} \ + ${PREFIX}/etc/MailScanner + ${INSTALL_DATA} ${WRKSRC}/etc/rules/spam.whitelist.rules \ + ${PREFIX}/etc/MailScanner/rules/spam.whitelist.rules .include diff --git a/mail/mailscanner-devel/distinfo b/mail/mailscanner-devel/distinfo index e65b82ff759b..e781e2adb12f 100644 --- a/mail/mailscanner-devel/distinfo +++ b/mail/mailscanner-devel/distinfo @@ -1 +1 @@ -MD5 (MailScanner-4.22-5.tar.gz) = 1e1cae5094b81306b2a0aad83530506b +MD5 (MailScanner-4.24-5.tar.gz) = f43e0f6b1febf41aaf843400b1b4b3f5 diff --git a/mail/mailscanner-devel/files/README.FreeBSD.port b/mail/mailscanner-devel/files/README.FreeBSD.port new file mode 100644 index 000000000000..55b28caaf497 --- /dev/null +++ b/mail/mailscanner-devel/files/README.FreeBSD.port @@ -0,0 +1,48 @@ +The MailScanner port is using the original MailScanner tarball from +www.mailscanner.info. This tarball puts all the MailScanner files in +subdirectories + +bin MailScanner binary / MailScanner start script etc. +etc MailScanner config files / rules / report templates +lib Virus wrapper and autoupdate scripts / MailScanner Perl libraries +docs Documentation +var pid file + +In order to make this FreeBSD compliant the port installs those files +in the following directories: + +/usr/local/libexec/MailScanner MailScanner binary, virus wrapper/autoupdate +/usr/local/lib/MailScanner MailScanner Perl libraries +/usr/local/share/MailScanner MailScanner report templates +/usr/local/share/doc/MailScanner Documentation +/usr/local/etc/MailScanner MailScanner config files / rules +/usr/local/etc/rc.d start/stop scripts + +The port installs two start/stop scripts in /usr/local/etc/rc.d: + +mailscanner.sh.sample +mta.sh.sample + +My suggestion is to use these scripts instead of the usual FreeBSD MTA startup +process. This of course means that you will have to disable MTA startup +in rc.conf completely. Put this in your rc.conf: + +sendmail_enable="NO" + +Then adjust sendmail.sh or exim.sh to your configuration. Have a look at the +MailScanner manpage for MTA setup hints. + +When upgrading the port it will try to look for new options/variables in +MailScanner.conf using Julians upgrade_MailScanner_conf script. If it finds +changes it will create a newly merged MailScanner.conf and copy it to +/usr/local/etc/MailScanner/MailScanner.conf.new.PORTVERSION. + + +If you have suggestions for this port please let me know and drop me an e-mail at + +j.koopmann@seceidos.de + + +Thanks, + Jan-Peter Koopmann + diff --git a/mail/mailscanner-devel/files/mailscanner.sh b/mail/mailscanner-devel/files/mailscanner.sh new file mode 100644 index 000000000000..67b7bbcbe50e --- /dev/null +++ b/mail/mailscanner-devel/files/mailscanner.sh @@ -0,0 +1,55 @@ +#!/bin/sh + +msbindir=/usr/local/libexec/MailScanner +process=MailScanner +config=/usr/local/etc/MailScanner/MailScanner.conf +PIDFILE=/var/run/MailScanner.pid + +start_ms() +{ + pid=`ps -axww | + grep '[ ]'$msbindir/$process | + awk '{print $1}'` + + if [ "x$pid" = "x" ]; then + # Quietly try to raise the open_files limit + ulimit -n 2000 >/dev/null 2>&1 + # Restart it + PATH=${msbindir}:$PATH + echo Starting MailScanner... + cd $msbindir + $process $config + else + echo MailScanner running with pid $pid + fi +} + +stop_ms() +{ + echo Stopping MailScanner... + kill -TERM -- -`cat $PIDFILE` 2>/dev/null + sleep 5 +} + +_action=${1:-start} + +case ${_action} in +start) + start_ms + ;; + +stop) + stop_ms + ;; + +restart) + stop_ms + start_ms + ;; + +*) + echo "Usage: `basename $0` {start|stop|restart}" >&2 + exit 64 + ;; +esac +exit 0 diff --git a/mail/mailscanner-devel/files/mta.sh b/mail/mailscanner-devel/files/mta.sh new file mode 100644 index 000000000000..7bce65f9d8d8 --- /dev/null +++ b/mail/mailscanner-devel/files/mta.sh @@ -0,0 +1,117 @@ +#!/bin/sh + +outgoing_queue_time=15m +mta=exim + +case "$mta" in + exim) + program=/usr/local/sbin/exim + + if [ -f /usr/local/etc/exim/configure.in ]; then + incoming_config=/usr/local/etc/exim/configure.in + else + incoming_config=/usr/local/etc/exim/configure + fi + + outgoing_config=/usr/local/etc/exim/configure.out + + inpidfile=/var/run/exim_in.pid + outpidfile=/var/run/exim_out.pid + subpidfile= + + incoming_args="-C ${incoming_config} -oP ${inpidfile} -bd" + outgoing_args="-C ${outgoing_config} -oP ${outpidfile} -q${outgoing_queue_time}" + submitqueue_args= + ;; + + sendmail) + program=/usr/sbin/sendmail + + incoming_queue=/var/spool/mqueue.in + + submit_queue_time=${outgoing_queue_time} + + inpidfile=/var/run/sendmail_in.pid + outpidfile=/var/run/sendmail_out.pid + subpidfile=/var/spool/clientmqueue/sm-client.pid + + incoming_args="-L sm-mta-in -bd \ + -OPrivacyOptions=noetrn \ + -OQueueDirectory=${incoming_queue} \ + -ODeliveryMode=queueonly \ + -OPidFile=${inpidfile}" + outgoing_args="-L sm-mta-out -q${outgoing_queue_time} \ + -OPidFile=${outpidfile}" + submitqueue_args="-L sm-msp-queue -Ac -q${submit_queue_time} \ + -OPidFile=${subpidfile}" + ;; + + *) + echo "ERROR: I don't know the MTA '$mta'. Check your settings." >&2 + exit 2 + ;; +esac + +start_mta() +{ + echo -n " `basename ${program}`(incoming)" + ${program} ${incoming_args} + + echo -n " `basename ${program}`(outgoing)" + ${program} ${outgoing_args} +} + +start_mspq () +{ + if [ "${submitqueue_args}" ]; then + echo -n " `basename ${program}`(submitqueue)" + ${program} ${submitqueue_args} + fi +} + +stop_mta() +{ + echo "Stopping `basename ${program}` (incoming)" + kill -TERM `head -1 ${inpidfile}` 2>/dev/null + + echo "Stopping `basename ${program}` (outgoing)" + kill -TERM `head -1 ${outpidfile}` 2>/dev/null +} + +stop_mspq () +{ + if [ "${submitqueue_args}" ]; then + echo "Stopping `basename ${program}` (submitqueue)" + kill -TERM `head -1 ${subpidfile}` 2>/dev/null + fi +} + + +_action=${1:-start} + +case ${_action} in +start) + start_mta + start_mspq + ;; + +stop) + stop_mta + stop_mspq + ;; + +restart) + stop_mta + stop_mspq + sleep 5 + start_mta + start_mspq + ;; + +*) + echo "Usage: `basename $0` {start|stop|restart}" >&2 + exit 64 + ;; +esac +exit 0 + diff --git a/mail/mailscanner-devel/files/patch-Makefile b/mail/mailscanner-devel/files/patch-Makefile deleted file mode 100644 index 786176c9b8b7..000000000000 --- a/mail/mailscanner-devel/files/patch-Makefile +++ /dev/null @@ -1,153 +0,0 @@ ---- ../MailScanner-4.22-5.old/Makefile Thu Jan 1 01:00:00 1970 -+++ Makefile Mon Aug 11 12:36:06 2003 -@@ -0,0 +1,150 @@ -+BINOWN= root -+BINGRP= wheel -+BINMODE= 555 -+SHAREOWN= root -+SHAREGRP= wheel -+SHAREMODE= 444 -+ -+ -+INSTALL_SCRIPT= install -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} -+INSTALL_DATA= install -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} -+PREFIX= /usr/local -+ -+OVERWRITE_FILENAMERULES=no -+OVERWRITE_REPORTS=no -+ -+all: -+ -+build: -+ -+install: install_libexec install_etc install_share install_lib install_startstop install_bin -+ -+install_bin: -+.if !exists(.install_bin_DONE) -+ ${INSTALL_SCRIPT} bin/tnef.linux ${PREFIX}/bin/tnef -+ touch .install_bin_DONE -+.endif -+ -+install_libexec: -+.if !exists(.install_libexec_DONE) -+ @-mkdir ${PREFIX}/libexec/MailScanner 2>/dev/null -+ @-chmod -R ${BINMODE} ${PREFIX}/libexec/MailScanner 2>/dev/null -+ ${INSTALL_SCRIPT} bin/MailScanner ${PREFIX}/libexec/MailScanner -+ -+ # copy wrapper scripts -+ ( cd lib ; find * -name "*-wrapper" -exec ${INSTALL_SCRIPT} '{}' ${PREFIX}'/libexec/MailScanner/{}'.sample \; ) -+ -+ # copy autoupdate scripts -+ ( cd lib ; find * -name "*-autoupdate" -exec ${INSTALL_SCRIPT} '{}' ${PREFIX}'/libexec/MailScanner/{}'.sample \; ) -+ -+ touch .install_libexec_DONE -+.endif -+ -+ -+install_etc: -+.if !exists(.install_etc_DONE) -+ @-mkdir ${PREFIX}/etc/MailScanner 2>/dev/null -+ @-chmod -R ${BINMODE} ${PREFIX}/etc/MailScanner 2>/dev/null -+ ${INSTALL_DATA} etc/MailScanner.conf ${PREFIX}/etc/MailScanner/MailScanner.conf.sample -+ -+ # depending on the setting OVERWRITE_FILENAMERULES we will copy them or append a .sample (default) -+.if (${OVERWRITE_FILENAMERULES} == "yes") -+ ${INSTALL_DATA} etc/filename.rules.conf ${PREFIX}/etc/MailScanner/filename.rules.conf -+.else -+ ${INSTALL_DATA} etc/filename.rules.conf ${PREFIX}/etc/MailScanner/filename.rules.conf.sample -+.endif -+ -+ ${INSTALL_DATA} etc/spam.assassin.prefs.conf ${PREFIX}/etc/MailScanner/spam.assassin.prefs.conf.sample -+ ${INSTALL_DATA} etc/spam.lists.conf ${PREFIX}/etc/MailScanner/spam.lists.conf.sample -+ ${INSTALL_DATA} etc/virus.scanners.conf ${PREFIX}/etc/MailScanner/virus.scanners.conf -+ -+ # rules subdir -+ @-mkdir ${PREFIX}/etc/MailScanner/rules 2>/dev/null -+ @-chmod -R ${BINMODE} ${PREFIX}/etc/MailScanner/rules 2>/dev/null -+ ${INSTALL_DATA} etc/rules/EXAMPLES ${PREFIX}/etc/MailScanner/rules/EXAMPLES -+ ${INSTALL_DATA} etc/rules/README ${PREFIX}/etc/MailScanner/rules/README -+ ${INSTALL_DATA} etc/rules/spam.whitelist.rules ${PREFIX}/etc/MailScanner/rules/spam.whitelist.rules.sample -+ -+ touch .install_etc_DONE -+.endif -+ -+install_share: -+.if !exists(.install_share_DONE) -+ @-mkdir ${PREFIX}/share/doc 2>/dev/null -+ -+ @-mkdir ${PREFIX}/share/MailScanner -+ @-chmod -R ${BINMODE} ${PREFIX}/share/MailScanner 2>/dev/null -+ -+ @-mkdir ${PREFIX}/share/doc/MailScanner 2>/dev/null -+ @-chmod -R ${BINMODE} ${PREFIX}/share/doc/MailScanner 2>/dev/null -+ -+ # First we create subdirectories if there are any -+ ( cd docs ; find * -type d -exec mkdir ${PREFIX}'/share/doc/MailScanner/{}' \; ) -+ ( cd docs ; find * -type f ! -name "*.orig" -exec ${INSTALL_DATA} '{}' ${PREFIX}'/share/doc/MailScanner/{}' \; ) -+ -+ ${INSTALL_DATA} INSTALL ${PREFIX}/share/doc/MailScanner/INSTALL -+ ${INSTALL_DATA} INSTALL.FreeBSD ${PREFIX}/share/doc/MailScanner/INSTALL.FreeBSD -+ ${INSTALL_DATA} INSTALL.OpenBSD ${PREFIX}/share/doc/MailScanner/INSTALL.OpenBSD -+ ${INSTALL_DATA} README ${PREFIX}/share/doc/MailScanner/README -+ -+ # reports subdir -+ # Create report subdirectories and set modes -+ ( cd etc ; find reports -type d -exec mkdir ${PREFIX}'/share/MailScanner/{}' \; ) 2>/dev/null -+ @-chmod -R ${BINMODE} ${PREFIX}/share/MailScanner/reports -+ -+ # Copy the individual reports -+ # depending on the setting OVERWRITE_REPORTS we will copy them or append a .sample (default) -+.if (${OVERWRITE_REPORTS} == "yes") -+ ( cd etc ; find reports -type f ! -name "*.orig" -exec ${INSTALL_DATA} '{}' ${PREFIX}'/share/MailScanner/{}' \; ) -+.else -+ ( cd etc ; find reports -type f ! -name "*.orig" -exec ${INSTALL_DATA} '{}' ${PREFIX}'/share/MailScanner/{}'.sample \; ) -+.endif -+ -+ touch .install_share_DONE -+.endif -+ -+install_lib: -+.if !exists(.install_lib_DONE) -+ @-mkdir ${PREFIX}/lib/MailScanner 2>/dev/null -+ @-mkdir ${PREFIX}/lib/MailScanner/MailScanner 2>/dev/null -+ @-chmod -R ${BINMODE} ${PREFIX}/lib/MailScanner 2>/dev/null -+ @-chmod -R ${BINMODE} ${PREFIX}/lib/MailScanner/MailScanner 2>/dev/null -+ -+ ${INSTALL_SCRIPT} lib/MailScanner.pm ${PREFIX}/lib/MailScanner/MailScanner.pm -+ -+ (cd lib/MailScanner ; find * -type f ! -name "*.orig" -exec ${INSTALL_SCRIPT} '{}' ${PREFIX}'/lib/MailScanner/MailScanner/{}' \; ) -+ -+ touch .install_lib_DONE -+.endif -+ -+install_startstop: -+.if !exists(.install_startstop_DONE) -+ -+ ${INSTALL_SCRIPT} bin/mailscanner.sh ${PREFIX}/etc/rc.d/mailscanner.sh.sample -+ ${INSTALL_SCRIPT} bin/mta.sh ${PREFIX}/etc/rc.d/mta.sh.sample -+ -+ touch .install_startstop_DONE -+.endif -+ -+initial-config: install -+ # copy all files needed for standard config -+ -+ # copy wrapper scripts -+ ( cd lib ; find * -name "*-wrapper" -exec ${INSTALL_SCRIPT} '{}' ${PREFIX}'/libexec/MailScanner/{}' \; ) -+ -+ # copy autoupdate scripts -+ ( cd lib ; find * -name "*-autoupdate" -exec ${INSTALL_SCRIPT} '{}' ${PREFIX}'/libexec/MailScanner/{}' \; ) -+ -+ ${INSTALL_DATA} etc/MailScanner.conf ${PREFIX}/etc/MailScanner/MailScanner.conf -+ ${INSTALL_DATA} etc/filename.rules.conf ${PREFIX}/etc/MailScanner/filename.rules.conf -+ -+ -+ ${INSTALL_DATA} etc/spam.assassin.prefs.conf ${PREFIX}/etc/MailScanner/spam.assassin.prefs.conf -+ ${INSTALL_DATA} etc/spam.lists.conf ${PREFIX}/etc/MailScanner/spam.lists.conf -+ ${INSTALL_DATA} etc/virus.scanners.conf ${PREFIX}/etc/MailScanner/virus.scanners -+ -+ ${INSTALL_DATA} etc/rules/spam.whitelist.rules ${PREFIX}/etc/MailScanner/rules/spam.whitelist.rules -+ -+ ( cd etc/reports/en ; find * -type f ! -name "*.orig" -exec ${INSTALL_DATA} '{}' ${PREFIX}'/share/MailScanner/reports/en/{}' \; ); -+ -+ diff --git a/mail/mailscanner-devel/files/patch-bin:MailScanner b/mail/mailscanner-devel/files/patch-bin:MailScanner deleted file mode 100644 index 5b890139399c..000000000000 --- a/mail/mailscanner-devel/files/patch-bin:MailScanner +++ /dev/null @@ -1,17 +0,0 @@ ---- ../MailScanner-4.22-5.old/bin/MailScanner Mon Aug 11 12:15:30 2003 -+++ bin/MailScanner Mon Aug 11 12:36:06 2003 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -I/opt/MailScanner/lib -+#!/usr/bin/perl -I/usr/local/lib/MailScanner - # - # MailScanner - SMTP E-Mail Virus Scanner - # Copyright (C) 2002 Julian Field -@@ -125,7 +125,7 @@ - - # Find the mailscanner.conf file, with a default just in case. - my $ConfFile = $ARGV[0]; --$ConfFile = '/opt/MailScanner/etc/MailScanner.conf' unless $ConfFile; -+$ConfFile = '/usr/local/etc/MailScanner/MailScanner.conf' unless $ConfFile; - - # Load the MTA modules we need - my($MTAmod, $MTADSmod); diff --git a/mail/mailscanner-devel/files/patch-bin:mailscanner.sh b/mail/mailscanner-devel/files/patch-bin:mailscanner.sh deleted file mode 100644 index 76a2fbb9cd23..000000000000 --- a/mail/mailscanner-devel/files/patch-bin:mailscanner.sh +++ /dev/null @@ -1,58 +0,0 @@ ---- ../MailScanner-4.22-5.old/bin/mailscanner.sh Thu Jan 1 01:00:00 1970 -+++ bin/mailscanner.sh Mon Aug 11 12:36:06 2003 -@@ -0,0 +1,55 @@ -+#!/bin/sh -+ -+msbindir=/usr/local/libexec/MailScanner -+process=MailScanner -+config=/usr/local/etc/MailScanner/MailScanner.conf -+PIDFILE=/var/run/MailScanner.pid -+ -+start_ms() -+{ -+ pid=`ps -axww | -+ grep '[ ]'$msbindir/$process | -+ awk '{print $1}'` -+ -+ if [ "x$pid" = "x" ]; then -+ # Quietly try to raise the open_files limit -+ ulimit -n 2000 >/dev/null 2>&1 -+ # Restart it -+ PATH=${msbindir}:$PATH -+ echo Starting MailScanner... -+ cd $msbindir -+ $process $config -+ else -+ echo MailScanner running with pid $pid -+ fi -+} -+ -+stop_ms() -+{ -+ echo Stopping MailScanner... -+ kill -TERM -- -`cat $PIDFILE` 2>/dev/null -+ sleep 5 -+} -+ -+_action=${1:-start} -+ -+case ${_action} in -+start) -+ start_ms -+ ;; -+ -+stop) -+ stop_ms -+ ;; -+ -+restart) -+ stop_ms -+ start_ms -+ ;; -+ -+*) -+ echo "Usage: `basename $0` {start|stop|restart}" >&2 -+ exit 64 -+ ;; -+esac -+exit 0 diff --git a/mail/mailscanner-devel/files/patch-bin:mta.sh b/mail/mailscanner-devel/files/patch-bin:mta.sh deleted file mode 100644 index 94acdaf0af75..000000000000 --- a/mail/mailscanner-devel/files/patch-bin:mta.sh +++ /dev/null @@ -1,120 +0,0 @@ ---- ../MailScanner-4.22-5.old/bin/mta.sh Thu Jan 1 01:00:00 1970 -+++ bin/mta.sh Mon Aug 11 12:36:06 2003 -@@ -0,0 +1,117 @@ -+#!/bin/sh -+ -+outgoing_queue_time=15m -+mta=exim -+ -+case "$mta" in -+ exim) -+ program=/usr/local/sbin/exim -+ -+ if [ -f /usr/local/etc/exim/configure.in ]; then -+ incoming_config=/usr/local/etc/exim/configure.in -+ else -+ incoming_config=/usr/local/etc/exim/configure -+ fi -+ -+ outgoing_config=/usr/local/etc/exim/configure.out -+ -+ inpidfile=/var/run/exim_in.pid -+ outpidfile=/var/run/exim_out.pid -+ subpidfile= -+ -+ incoming_args="-C ${incoming_config} -oP ${inpidfile} -bd" -+ outgoing_args="-C ${outgoing_config} -oP ${outpidfile} -q${outgoing_queue_time}" -+ submitqueue_args= -+ ;; -+ -+ sendmail) -+ program=/usr/sbin/sendmail -+ -+ incoming_queue=/var/spool/mqueue.in -+ -+ submit_queue_time=${outgoing_queue_time} -+ -+ inpidfile=/var/run/sendmail_in.pid -+ outpidfile=/var/run/sendmail_out.pid -+ subpidfile=/var/spool/clientmqueue/sm-client.pid -+ -+ incoming_args="-L sm-mta-in -bd \ -+ -OPrivacyOptions=noetrn \ -+ -OQueueDirectory=${incoming_queue} \ -+ -ODeliveryMode=queueonly \ -+ -OPidFile=${inpidfile}" -+ outgoing_args="-L sm-mta-out -q${outgoing_queue_time} \ -+ -OPidFile=${outpidfile}" -+ submitqueue_args="-L sm-msp-queue -Ac -q${submit_queue_time} \ -+ -OPidFile=${subpidfile}" -+ ;; -+ -+ *) -+ echo "ERROR: I don't know the MTA '$mta'. Check your settings." >&2 -+ exit 2 -+ ;; -+esac -+ -+start_mta() -+{ -+ echo -n " `basename ${program}`(incoming)" -+ ${program} ${incoming_args} -+ -+ echo -n " `basename ${program}`(outgoing)" -+ ${program} ${outgoing_args} -+} -+ -+start_mspq () -+{ -+ if [ "${submitqueue_args}" ]; then -+ echo -n " `basename ${program}`(submitqueue)" -+ ${program} ${submitqueue_args} -+ fi -+} -+ -+stop_mta() -+{ -+ echo "Stopping `basename ${program}` (incoming)" -+ kill -TERM `head -1 ${inpidfile}` 2>/dev/null -+ -+ echo "Stopping `basename ${program}` (outgoing)" -+ kill -TERM `head -1 ${outpidfile}` 2>/dev/null -+} -+ -+stop_mspq () -+{ -+ if [ "${submitqueue_args}" ]; then -+ echo "Stopping `basename ${program}` (submitqueue)" -+ kill -TERM `head -1 ${subpidfile}` 2>/dev/null -+ fi -+} -+ -+ -+_action=${1:-start} -+ -+case ${_action} in -+start) -+ start_mta -+ start_mspq -+ ;; -+ -+stop) -+ stop_mta -+ stop_mspq -+ ;; -+ -+restart) -+ stop_mta -+ stop_mspq -+ sleep 5 -+ start_mta -+ start_mspq -+ ;; -+ -+*) -+ echo "Usage: `basename $0` {start|stop|restart}" >&2 -+ exit 64 -+ ;; -+esac -+exit 0 -+ diff --git a/mail/mailscanner-devel/files/patch-docs:README.FreeBSD.port b/mail/mailscanner-devel/files/patch-docs:README.FreeBSD.port deleted file mode 100644 index 5e4af08e3aa0..000000000000 --- a/mail/mailscanner-devel/files/patch-docs:README.FreeBSD.port +++ /dev/null @@ -1,51 +0,0 @@ ---- ../MailScanner-4.22-5.old/docs/README.FreeBSD.port Thu Jan 1 01:00:00 1970 -+++ docs/README.FreeBSD.port Mon Aug 11 12:36:06 2003 -@@ -0,0 +1,48 @@ -+The MailScanner port is using the original MailScanner tarball from -+www.mailscanner.info. This tarball puts all the MailScanner files in -+subdirectories -+ -+bin MailScanner binary / MailScanner start script etc. -+etc MailScanner config files / rules / report templates -+lib Virus wrapper and autoupdate scripts / MailScanner Perl libraries -+docs Documentation -+var pid file -+ -+In order to make this FreeBSD compliant the port installs those files -+in the following directories: -+ -+/usr/local/libexec/MailScanner MailScanner binary, virus wrapper/autoupdate -+/usr/local/lib/MailScanner MailScanner Perl libraries -+/usr/local/share/MailScanner MailScanner report templates -+/usr/local/share/doc/MailScanner Documentation -+/usr/local/etc/MailScanner MailScanner config files / rules -+/usr/local/etc/rc.d start/stop scripts -+ -+The port installs two start/stop scripts in /usr/local/etc/rc.d: -+ -+mailscanner.sh.sample -+mta.sh.sample -+ -+My suggestion is to use these scripts instead of the usual FreeBSD MTA startup -+process. This of course means that you will have to disable MTA startup -+in rc.conf completely. Put this in your rc.conf: -+ -+sendmail_enable="NO" -+ -+Then adjust sendmail.sh or exim.sh to your configuration. Have a look at the -+MailScanner manpage for MTA setup hints. -+ -+When upgrading the port it will try to look for new options/variables in -+MailScanner.conf using Julians upgrade_MailScanner_conf script. If it finds -+changes it will create a newly merged MailScanner.conf and copy it to -+/usr/local/etc/MailScanner/MailScanner.conf.new.PORTVERSION. -+ -+ -+If you have suggestions for this port please let me know and drop me an e-mail at -+ -+j.koopmann@seceidos.de -+ -+ -+Thanks, -+ Jan-Peter Koopmann -+ diff --git a/mail/mailscanner-devel/files/patch-docs:man:MailScanner.8 b/mail/mailscanner-devel/files/patch-docs:man:MailScanner.8 deleted file mode 100644 index 095a71c43a24..000000000000 --- a/mail/mailscanner-devel/files/patch-docs:man:MailScanner.8 +++ /dev/null @@ -1,122 +0,0 @@ ---- ../MailScanner-4.22-5.old/docs/man/MailScanner.8 Mon Aug 11 12:15:30 2003 -+++ docs/man/MailScanner.8 Mon Aug 11 12:36:06 2003 -@@ -1,102 +1,17 @@ --.TH "MailScanner" "8" "4.22-4" "Julian Field" "Mail" --.SH "NAME" --.LP --MailScanner \- Virus/Spam Scanner for Sendmail and Exim --.SH "SYNOPSIS" --.LP --\fBMailScanner\fR [\fIconfigfile\fR] -- --.SH "DESCRIPTION" --.LP --\fBMailScanner\fR starts the main MailScanner process. [\fIconfigfile\fR] should point to a valid MailScanner configuration file (see MailScanner.conf(3) for details). The default location for this file depends on the operating system. --.br -- --.br --Linux: /etc/MailScanner/MailScanner.conf --.br -- --.br --FreeBSD: /usr/local/etc/MailScanner/MailScanner.conf --.br -- --.br --Other: /opt/MailScanner/etc/MailScanner.conf -- --.LP --The main process then spawns \fIn\fR number of child processes. \fIn\fR is configured in [\fIconfigfile\fR] with the option "Max Children". Each process waits for messages to appear in the "Incoming Queue Dir", processes these messages and then puts them in the "Outgoing Queue Dir". You may need to adjust the configuration of your MTA (or the startup of your MTA) to make it work with MailScanner. -- --.SH "MTA SETUP" --.LP --It is important that your MTA only queues incoming mail and does not deliver it automatically. You need two mail queues (incoming and outgoing). Moreover you should setup two instances of your MTA. One that accepts incoming mail and puts it to an incoming queue and one that sends out mail that resides in the outgoing queue. -- --.LP --A common setup for Sendmail could look like this: --.br -- --.br --1. Verify that you already have one queue (e.g. in /var/spool/mqueue). --.br -- --.br --2. Create a second queue (e.g. /var/spool/mqueue.in) and apply the same owner/group/mode. --.br -- --.br --3. Change your sendmail startup from --.br -- --.br -- sendmail \-bd \-q15m (or similar) --.br -- --.br -- to --.br -- --.br -- sendmail \-bd \-OPrivacyOptions=noetrn \-ODeliveryMode=queueonly \-OQueueDirectory=/var/spool/mqueue.in --.br -- sendmail \-q15m -- --.LP --A similar setup for Exim could look like this: --.br -- --.br --1. Create two queues (e.g. /var/spool/exim.in and /var/spool/exim.out) with appropriate owner/group/mode (e.g. owner=mailnull, group=mail, mode=750). --.br -- --.br --2. Create two exim configurations (e.g. /usr/local/etc/exim/configure.in, /usr/local/etc/exim/configure.out). --.br -- --.br --3. Make sure that the incoming exim configuration only queues mails and never delivers mail itself. This can be achieved by using the Exim config option "queue_only = true" and/or a special router definition (Exim 4 syntax): --.br -- --.br -- defer_router: --.br -- driver = manualroute --.br -- self = defer --.br -- transport = remote_smtp --.br -- route_list = * 127.0.0.1 byname --.br -- verify = false --.br -- --.br --4. Start two exim instances: --.br -- --.br -- exim \-C /usr/local/etc/exim/configure.in --.br -- exim \-C /usr/local/etc/exim/configure.out -- --.SH "SEE ALSO" --.LP --MailScanner.conf(3) -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+
-+
-+ -+ diff --git a/mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5 b/mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5 deleted file mode 100644 index cee3e58ca2d5..000000000000 --- a/mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5 +++ /dev/null @@ -1,187 +0,0 @@ ---- ../MailScanner-4.22-5.old/docs/man/MailScanner.conf.5 Mon Aug 11 12:15:30 2003 -+++ docs/man/MailScanner.conf.5 Mon Aug 11 12:36:06 2003 -@@ -1,4 +1,4 @@ --.TH "MailScanner.conf" "5" "4.22-4" "Julian Field" "Mail" -+.TH "MailScanner.conf" "5" "4.23" "Julian Field" "Mail" - .SH "NAME" - .LP - MailScanner.conf \- Main configuration for MailScanner -@@ -279,9 +279,15 @@ - .br - - .br --Anything on the next line that appears in brackets at the end of a line of output from Sophos will cause the error/infection to be ignored. Use of this option is dangerous, and should only be used if you are having trouble with lots of corrupt PDF files, for example. Example: -+Anything on the next line that appears in brackets at the end of a line of output from Sophos will cause the error/infection to be ignored. Use of this option is dangerous, and should only be used if you are having trouble with lots of corrupt PDF files, for example. This option allows for multiple strings as well. In this case, the strings should be put in double quotes (") and each string separated with commas. Examples: - .br - Allowed Sophos Error Messages = corrupt format not supported -+.br -+Allowed Sophos Error Messages = "corrupt", "format not supported" -+.br -+ -+.br -+The first version will match "corrupt format not supported" only. The second version will match "corrupt" and "format not supported". - - .TP - \fBSophos IDE Dir\fR -@@ -358,11 +364,13 @@ - .br - - .br --Messages whose virus reports contain any of the words listed here will be treated as "silent" viruses. No messages will be sent back to the senders of these viruses, and the delivery to the recipient of the message can be controlled by the next option "Still Deliver Silent Viruses". This is primarily designed for viruses such as "Klez" and "Bugbear" which put fake addresses on messages they send, so there is no point informing the sender of the message, as it won't actually be them who sent it anyway. Other words that can be put in this list are the 2 special keywords -+Messages whose virus reports contain any of the words listed here will be treated as "silent" viruses. No messages will be sent back to the senders of these viruses, and the delivery to the recipient of the message can be controlled by the next option "Still Deliver Silent Viruses". This is primarily designed for viruses such as "Klez" and "Bugbear" which put fake addresses on messages they send, so there is no point informing the sender of the message, as it won't actually be them who sent it anyway. Other words that can be put in this list are the 3 special keywords - .br - HTML\-IFrame: inserting this will stop senders being warned about HTML Iframe tags, when they are not allowed. - .br - HTML\-Codebase: inserting this will stop senders being warned about HTML Object Codebase tags, when they are not allowed. -+.br -+All\-Viruses: inserting this will stop senders being warned about any virus, while still allowing you to warn senders about HTML\-based attacks. - - - .TP -@@ -539,7 +547,31 @@ - .br - - .br --When an attachment is deleted from a message (and the attachment has been stored in the quarantine) because the filename failed the filename rules in force for the message, it is replaced by the contents of this file. A few variable substitutions can be made in this file, an example of each of which is contained in the supplied sample file. -+When an attachment is deleted and stored from a message (and the attachment has been stored in the quarantine) because the filename failed the filename rules in force for the message, it is replaced by the contents of this file. A few variable substitutions can be made in this file, an example of each of which is contained in the supplied sample file. -+ -+.TP -+\fBDeleted Bad Content Message Report\fR -+Default: /opt/MailScanner/etc/reports/en/deleted.content.message.txt -+.br -+Default Linux: /etc/MailScanner/reports/en/deleted.content.message.txt -+.br -+Default FreeBSD: /usr/local/share/MailScanner/reports/en/deleted.content.message.txt -+.br -+ -+.br -+This report is sent when a message is deleted because it contained bad or dangerous content. A few variable substitutions can be made in this file, an example of each of which is contained in the supplied sample file. -+ -+.TP -+\fBStored Bad Content Message Report\fR -+Default: /opt/MailScanner/etc/reports/en/stored.content.message.txt -+.br -+Default Linux: /etc/MailScanner/reports/en/stored.content.message.txt -+.br -+Default FreeBSD: /usr/local/share/MailScanner/reports/en/stored.content.message.txt -+.br -+ -+.br -+This report is sent when a message is stored because it contained bad or dangerous content. A few variable substitutions can be made in this file, an example of each of which is contained in the supplied sample file. - - .TP - \fBDisinfected Report\fR -@@ -600,7 +632,8 @@ - - .br - When an attachment is trapped by the filename rules, this message is sent back to the sender. --: -+ -+ - .TP - \fBSender Virus Report\fR - Default: /opt/MailScanner/etc/reports/en/sender.virus.report.txt -@@ -613,6 +646,7 @@ - .br - When an attachment is removed because of a virus, this message is sent back to the sender. - -+ - .TP - \fBHide Incoming Work Dir\fR - Default: yes -@@ -623,11 +657,13 @@ - - .TP - \fBInclude Scanner Name in Reports\fR --Default: no -+Default: yes - .br - - .br --Include the name of the virus scanner in each of the scanner reports. Very useful if you use several virus scanners, but a bad idea if you don't want to let your customers know which scanners you use. -+Include the name of the virus scanner in each of the scanner reports. This also includes the translation of "MailScanner" in each of the report lines resulting from one of MailScanner's own checks such as filename, filetype or dangerous HTML content. To change the name "MailScanner", look in reports/...../languages.conf. -+.br -+Very useful if you use several virus scanners, but a bad idea if you don't want to let your customers know which scanners you use. - .SH "Changes to message headers" - .TP - \fBMail Header\fR -@@ -839,17 +875,34 @@ - .br - - .br --If this is set, then the "Subject:" line of a message that had an attachment with a dangerous filename will have the "Virus Subject Text" text inserted at the start. -+If this is set, then the "Subject:" line of a message that had an attachment with a dangerous filename will have the "Filename Subject Text" text inserted at the start. - - .TP - \fBFilename Subject Text\fR --Default: yes -+Default: {Virus?} - .br - - .br - This is the text inserted at the start of the "Subject:" line if the "Filename Modify Subject" option is set. - - .TP -+\fBContent Modify Subject\fR -+Default: yes -+.br -+ -+.br -+If this is set, then the "Subject:" line of a message that triggered a content check without anything else wrong in the message will have the "Content Subject Text" text inserted at the start. -+ -+.TP -+\fBContent Subject Text\fR -+Default: {Filename?} -+.br -+ -+.br -+This is the text inserted at the start of the "Subject:" line if the "Content Modify Subject" option is set. -+ -+ -+.TP - \fBSpam Modify Subject\fR - Default: yes - .br -@@ -1081,6 +1134,14 @@ - .br - This option would normally be a ruleset. Any messages for which the ruleset result is "yes" will always be marked as spam. This is used to create a spam "blacklist" of addresses of known spammers. - -+.TP -+\fBDefinite Spam Is High Scoring\fR -+Default: no -+.br -+ -+.br -+Setting this to yes means that spam found in the blacklist is treated as "High Scoring Spam" in the "Spam Actions" section below. Setting it to no means that it will be treated as "normal" spam. This can also be the filename of a ruleset. -+ - .SH "SpamAssassin" - .TP - \fBUse SpamAssassin\fR -@@ -1411,6 +1472,27 @@ - - .br - Are you using Exim with split spool directories? If you don't understand this, the answer is probably "no". Refer to the Exim documentation for more information about split spool directories. -+ -+.TP -+\fBUse Default Rules With Multiple Recipients\fR -+Default: no -+.br -+ -+.br -+When trying to work out the value of configuration parameters which are using a ruleset, this controls the behaviour when a rule is checking the "To:" addresses. If this option is set to "yes", then the following happens when checking the ruleset: -+.br -+ -+.br -+a) 1 recipient. Same behaviour as normal. -+.br -+b) Several recipients, but all in the same domain (domain.com for example). The rules are checked for one that matches the string "*@domain.com". -+.br -+c) Several recipients, not all in the same domain. The rules are checked for one that matches the string "*@*". -+.br -+ -+.br -+If this option is set to "no", then some rules will use the result they get from the first matching rule for any of the recipients of a message, so the exact value cannot be predicted for messages with more than 1 recipient. This value *cannot* be the filename of a ruleset. -+ - .SH "RULESETS" - .LP - Ruleset files should all be put in /opt/MailScanner/etc/rules (FreeBSD: /usr/local/etc/MailScanner/rules) and their filename should end in ".rules" wherever possible. diff --git a/mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5.html b/mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5.html deleted file mode 100644 index 2bd02e51127f..000000000000 --- a/mail/mailscanner-devel/files/patch-docs:man:MailScanner.conf.5.html +++ /dev/null @@ -1,3570 +0,0 @@ ---- ../MailScanner-4.22-5.old/docs/man/MailScanner.conf.5.html Mon Aug 11 12:15:30 2003 -+++ docs/man/MailScanner.conf.5.html Mon Aug 11 12:36:06 2003 -@@ -1,8 +1,11 @@ -- -- -+ -+ -+ - - - -+ - - MailScanner.conf - -@@ -42,7 +45,7 @@ - - -- -+ -
-

MailScanner.conf − Main configuration for - MailScanner

-@@ -54,7 +57,7 @@ - - -- -+ - -@@ -65,7 +68,7 @@ -
-

none

-
- -- -+ -
-

MailScanner is configured using the file - MailScanner.conf. The location of this file varies from -@@ -76,24 +79,24 @@ - - -- -+ - -- -- -+ -- -
- -

Linux:

-
-+ - -

/etc/MailScanner

-
-+ -
- - - -- -+ -
-

FreeBSD: /usr/local/etc/MailScanner
- Other: /opt/MailScanner/etc

-@@ -128,7 +131,7 @@ - - -- -+ - -
-

Max Children

-@@ -136,8 +139,8 @@ - - -- -- -+
-+ -

Default: 5

- -

MailScanner uses your server efficiently by running -@@ -153,7 +156,7 @@ - - -- -+ - -
-

Run as User

-@@ -161,8 +164,8 @@ - - -- -- -+
-+ -

Default: not to change user

- -

Provided for Exim users (and anyone not running sendmail -@@ -174,7 +177,7 @@ - - -- -+ - -
-

Run as Group

-@@ -182,8 +185,8 @@ - - -- -- -+
-+ -

Default: not to change group

- -

Provided for Exim users (and anyone not running sendmail -@@ -195,7 +198,7 @@ - - -- -+ - -
-

Queue Scan Interval

-@@ -203,8 +206,8 @@ - - -- -- -+
-+ -

Default: 5

- -

How often (in seconds) should each process check the -@@ -219,7 +222,7 @@ - - -- -+ - -
-

Incoming Queue Dir

-@@ -227,8 +230,8 @@ - - -- -- -+
-+ -

Default: /var/spool/mqueue.in

- -

Directory in which MailScanner should find e−mail -@@ -248,7 +251,7 @@ - - -- -+ - -
-

Outgoing Queue Dir

-@@ -256,8 +259,8 @@ - - -- -- -+
-+ -

Default: /var/spool/mqueue

- -

Directory in which MailScanner should place scanned -@@ -269,7 +272,7 @@ - - -- -+ - -
-

Incoming work dir

-@@ -277,8 +280,8 @@ - - -- -- -+
-+ -

Default: /opt/MailScanner/var/incoming
- Default FreeBSD: /var/spool/MailScanner/incoming

- -@@ -290,7 +293,7 @@ - - -- -+ - -
-

Quarantine Dir

-@@ -298,8 +301,8 @@ - - -- -- -+
-+ -

Default: /opt/MailScanner/var/quarantine
- Default FreeBSD: /var/spool/MailScanner/quarantine

- -@@ -312,7 +315,7 @@ - - -- -+ - -
-

PID file

-@@ -320,8 +323,8 @@ - - -- -- -+
-+ -

Default: /opt/MailScanner/var/MailScanner.pid
- Default FreeBSD: /var/run/MailScanner.pid

- -@@ -335,7 +338,7 @@ - - -- -+ - -
-

Restart Every

-@@ -343,8 +346,8 @@ - - -- -- -+ -- -- -+ -- -
-+ -

Default: 14400

- -

To avoid resource leaks the MailScanner parent process -@@ -362,20 +365,20 @@ - -

MTA

-
-+ - -

Default: sendmail

-
-+ -
- - - -- -- -+
-+ -

MailScanner works with sendmail and exim. Since the queue - handling differs a bit, you have to tell MailScanner which - MTA you are using. Valid options are sendmail and exim.

-@@ -385,7 +388,7 @@ - - -- -+ - -
-

Sendmail

-@@ -393,8 +396,8 @@ - - -- -- -+
-+ -

Default: /usr/lib/sendmail
- Default FreeBSD: /usr/sbin/sendmail

- -@@ -408,7 +411,7 @@ - - -- -+ - -
-

Sendmail2

-@@ -416,8 +419,8 @@ - - -- -- -+
-+ -

Default: same value as the Sendmail setting

- -

Sendmail2 is provided for exim users. It is the command -@@ -433,7 +436,7 @@ - - -- -+ - -
-

Max Unscanned Bytes Per Scan

-@@ -441,8 +444,8 @@ - - -- -- -+
-+ -

Default: 100000000

- -

MailScanner handles messages in batches for efficiency. -@@ -460,7 +463,7 @@ - - -- -+ - -
-

Max Unsafe Bytes per Scan

-@@ -468,8 +471,8 @@ - - -- -- -+
-+ -

Default: 50000000

- -

This setting limits the total size of messages per batch -@@ -480,7 +483,7 @@ - - -- -+ - -
-

Max Unscanned Messages Per Scan

-@@ -488,8 +491,8 @@ - - -- -- -+
-+ -

Default: 100

- -

This setting limits the total number of messages per -@@ -501,7 +504,7 @@ - - -- -+ - -
-

Max Unsafe Messages per Scan

-@@ -509,8 +512,8 @@ - - -- -- -+
-+ -

Default: 100

- -

This setting limits the total number of messages per -@@ -522,7 +525,7 @@ - - -- -+ - -
-

Expand TNEF

-@@ -530,8 +533,8 @@ - - -- -- -+
-+ -

Default: yes

- -

TNEF is primarily used by Microsoft programs such as -@@ -551,7 +554,7 @@ - - -- -+ - -
-

Deliver Unparsable TNEF

-@@ -559,8 +562,8 @@ - - -- -- -+
-+ -

Default: no

- -

Rich Text format attachments produced by some versions of -@@ -578,7 +581,7 @@ - - -- -+ - -
-

TNEF Expander

-@@ -586,8 +589,8 @@ - - -- -- -+
-+ -

Default: /opt/MailScanner/bin/tnef
- Default FreeBSD: /usr/local/bin/tnef

- -@@ -601,7 +604,7 @@ - - -- -+ - -
-

TNEF Timeout

-@@ -609,8 +612,8 @@ - - -- -- -+
-+ -

Default: 120

- -

The maximum length of time (in seconds) the TNEF Expander -@@ -621,7 +624,7 @@ - - -- -+ - -
-

File Command

-@@ -629,8 +632,8 @@ - - -- -- -+
-+ -

Default: /usr/bin/file

- -

Where the "file" command is installed. This is -@@ -643,7 +646,7 @@ - - -- -+ - -
-

File Timeout

-@@ -651,8 +654,8 @@ - - -- -- -+
-+ -

Default: 20

- -

The maximum length of time the "file" command -@@ -664,7 +667,7 @@ - - -- -+ - -
-

Block Encrypted Messages

-@@ -672,8 +675,8 @@ - - -- -- -+
-+ -

Default: no

- -

This is inteded for use with a ruleset to ensure that -@@ -687,7 +690,7 @@ - - -- -+ - -
-

Block Unencrypted Messages

-@@ -695,8 +698,8 @@ - - -- -- -+
-+ -

Default: no

- -

This is intended for use with a ruleset to ensure that -@@ -709,7 +712,7 @@ - - -- -+ - -
-

Maximum Message Size

-@@ -717,8 +720,8 @@ - - -- -- -+
-+ -

Default: 0

- -

The maximum size of any message including the headers. If -@@ -735,7 +738,7 @@ - - -- -+ - -
-

Allowed Sophos Error Messages

-@@ -743,24 +746,34 @@ - - -- -- -+ -
-+ -

Default:

- -

Anything on the next line that appears in brackets at the - end of a line of output from Sophos will cause the - error/infection to be ignored. Use of this option is - dangerous, and should only be used if you are having trouble --with lots of corrupt PDF files, for example. Example:
-+with lots of corrupt PDF files, for example. This option -+allows for multiple strings as well. In this case, the -+strings should be put in double quotes (") and each -+string separated with commas. Examples:
- Allowed Sophos Error Messages = corrupt format not --supported

-+supported
-+Allowed Sophos Error Messages = "corrupt", -+"format not supported"

-+ -+

The first version will match "corrupt format not -+supported" only. The second version will match -+"corrupt" and "format not -+supported".

-
- - - -- -+ - -
-

Sophos IDE Dir

-@@ -768,8 +781,8 @@ - - -- -- -+
-+ -

Default: /usr/local/Sophos/ide

- -

The directory (or a link to it) containing all the Sophos -@@ -781,7 +794,7 @@ - - -- -+ - -
-

Sophos Lib Dir

-@@ -789,8 +802,8 @@ - - -- -- -+
-+ -

Default: /usr/local/Sophos/lib

- -

The directory (or a link to it) containing all the Sophos -@@ -803,7 +816,7 @@ - - -- -+ - -
-

Monitors For Sophos Updates

-@@ -811,8 +824,8 @@ - - -- -- -+
-+ -

Default: /usr/local/Sophos/ide/*ides.zip

- -

SophosSAVI only: monitor each of these files for changes -@@ -828,7 +841,7 @@ - - -- -+ - -
-

Virus Scanning

-@@ -836,8 +849,8 @@ - - -- -- -+
-+ -

Default: yes

- -

Do you want to scan email for viruses? A few people -@@ -856,7 +869,7 @@ - - -- -+ - -
-

Virus Scanners

-@@ -864,8 +877,8 @@ - - -- -- -+
-+ -

Default: none

- -

Which Virus Scanning package to use. Possible choices are -@@ -888,7 +901,7 @@ - - -- -+ - -
-

Virus Scanner Timeout

-@@ -896,8 +909,8 @@ - - -- -- -+
-+ -

Default: 300

- -

The maximum time (in seconds) that the cirus scanner is -@@ -908,7 +921,7 @@ - - -- -+ - -
-

Deliver Disinfected Files

-@@ -916,8 +929,8 @@ - - -- -- -+
-+ -

Default: yes

- -

Should infected attached documents be automatically -@@ -928,7 +941,7 @@ - - -- -+ - -
-

Silent Viruses

-@@ -936,8 +949,8 @@ - - -- -- -+ -
-+ -

Default: Klez Yaha−E Bugbear Braid−A - WinEvar

- -@@ -951,20 +964,23 @@ - fake addresses on messages they send, so there is no point - informing the sender of the message, as it won’t - actually be them who sent it anyway. Other words that can be --put in this list are the 2 special keywords
-+put in this list are the 3 special keywords
- HTML−IFrame: inserting this will stop senders being - warned about HTML Iframe tags, when they are not - allowed.
- HTML−Codebase: inserting this will stop senders being - warned about HTML Object Codebase tags, when they are not --allowed.

-+allowed.
-+All−Viruses: inserting this will stop senders being -+warned about any virus, while still allowing you to warn -+senders about HTML−based attacks.

-
- - - -- -+ - -
-

Still Deliver Silent Viruses

-@@ -972,8 +988,8 @@ - - -- -- -+
-+ -

Default: yes

- -

If this is set to yes then disinfected messsages that -@@ -993,7 +1009,7 @@ - - -- -+ - -
-

Allow Partial Messages

-@@ -1001,8 +1017,8 @@ - - -- -- -+
-+ -

Default: no

- -

Do you want to allow partial messages, which only contain -@@ -1020,7 +1036,7 @@ - - -- -+ - -
-

Allow External Message Bodies

-@@ -1028,8 +1044,8 @@ - - -- -- -+
-+ -

Default: no

- -

There is a mechanism, very rarely used, in which the body -@@ -1049,7 +1065,7 @@ - - -- -+ - -
-

Allow IFrame Tags

-@@ -1057,8 +1073,8 @@ - - -- -- -+
-+ -

Default: no

- -

Do you want to allow HTML <IFrame> tags in email -@@ -1073,7 +1089,7 @@ - - -- -+ - -
-

Log IFrame Tags

-@@ -1081,8 +1097,8 @@ - - -- -- -+
-+ -

Default: no

- -

You may receive complaints from your users that HTML -@@ -1100,7 +1116,7 @@ - - -- -+ - -
-

Allow Object Codebase Tags

-@@ -1108,8 +1124,8 @@ - - -- -- -+
-+ -

Default: no

- -

Do you want to allow HTML <Object Codebase=...> -@@ -1123,7 +1139,7 @@ - - -- -+ - -
-

Convert Dangerous HTML To Text

-@@ -1131,8 +1147,8 @@ - - -- -- -+
-+ -

Default: no

- -

When <IFrame> or <Object Codebase=...> HTML -@@ -1149,7 +1165,7 @@ - - -- -+ - -
-

Convert HTML To Text

-@@ -1157,8 +1173,8 @@ - - -- -- -+
-+ -

Default: no

- -

If you have users who are children, or who are offended -@@ -1175,7 +1191,7 @@ - - -- -+ - -
-

Allow Form Tags

-@@ -1183,8 +1199,8 @@ - - -- -- -+
-+ -

Default: no

- -

Do you want to allow <Form> tags in email messages? -@@ -1200,7 +1216,7 @@ - - -- -+ - -
-

Filename Rules

-@@ -1208,8 +1224,8 @@ - - -- -- -+
-+ -

Default: /opt/MailScanner/etc/filename.rules.conf
- Default Linux: /etc/MailScanner/filename.rules.conf
- Default FreeBSD: -@@ -1226,7 +1242,7 @@ - - -- -+ - -
-

Filetype Rules

-@@ -1234,8 +1250,8 @@ - - -- -- -+
-+ -

Default: /opt/MailScanner/etc/filetype.rules.conf
- Default Linux: /etc/MailScanner/filetype.rules.conf
- Default FreeBSD: -@@ -1257,7 +1273,7 @@ - - -- -+ - -
-

Quarantine Infections

-@@ -1265,8 +1281,8 @@ - - -- -- -+
-+ -

Default: yes

- -

Set this to store infected / dangerous attachments in -@@ -1280,7 +1296,7 @@ - - -- -+ - -
-

Quarantine Whole Message

-@@ -1288,8 +1304,8 @@ - - -- -- -+
-+ -

Default: no

- -

When an infected message is stored in the quarantine, a -@@ -1301,7 +1317,7 @@ - - -- -+ - -
-

Quarantine Whole Messages As Queue Files

-@@ -1309,8 +1325,8 @@ - - -- -- -+
-+ -

Default: no

- -

When an entire message is saved in the quarantine for any -@@ -1329,7 +1345,7 @@ - - -- -+ - -
-

Language Strings

-@@ -1337,8 +1353,8 @@ - - -- -- -+
-+ -

Default: - /opt/MailScanner/etc/reports/en/languages.conf
- Default Linux: -@@ -1356,7 +1372,7 @@ - - -- -+ - -
-

Deleted Bad Filename Message Report

-@@ -1364,8 +1380,8 @@ - - -- -- -+
-+ -

Default: - /opt/MailScanner/etc/reports/en/deleted.filename.message.txt
- Default Linux: -@@ -1384,7 +1400,7 @@ - - -- -+ - -
-

Deleted Virus Message Report

-@@ -1392,8 +1408,8 @@ - - -- -- -+
-+ -

Default: - /opt/MailScanner/etc/reports/en/deleted.virus.message.txt
- Default Linux: -@@ -1412,7 +1428,7 @@ - - -- -+ - -
-

Stored Bad Filename Message Report

-@@ -1420,8 +1436,8 @@ - - -- -- -+ -+
-+ -

Default: - /opt/MailScanner/etc/reports/en/stored.filename.message.txt
- Default Linux: -@@ -1429,10 +1445,65 @@ - Default FreeBSD: - /usr/local/share/MailScanner/reports/en/stored.filename.message.txt

- --

When an attachment is deleted from a message (and the --attachment has been stored in the quarantine) because the --filename failed the filename rules in force for the message, --it is replaced by the contents of this file. A few variable -+

When an attachment is deleted and stored from a message -+(and the attachment has been stored in the quarantine) -+because the filename failed the filename rules in force for -+the message, it is replaced by the contents of this file. A -+few variable substitutions can be made in this file, an -+example of each of which is contained in the supplied sample -+file.

-+
-+ -+ -+ -+ -+ -+
-+

Deleted Bad Content Message Report

-+ -+ -+ -+ -+ -+
-+

Default: -+/opt/MailScanner/etc/reports/en/deleted.content.message.txt
-+Default Linux: -+/etc/MailScanner/reports/en/deleted.content.message.txt
-+Default FreeBSD: -+/usr/local/share/MailScanner/reports/en/deleted.content.message.txt

-+ -+

This report is sent when a message is deleted because it -+contained bad or dangerous content. A few variable -+substitutions can be made in this file, an example of each -+of which is contained in the supplied sample file.

-+
-+ -+ -+ -+ -+ -+
-+

Stored Bad Content Message Report

-+ -+ -+ -+ -+ -@@ -1441,7 +1512,7 @@ -
-+

Default: -+/opt/MailScanner/etc/reports/en/stored.content.message.txt
-+Default Linux: -+/etc/MailScanner/reports/en/stored.content.message.txt
-+Default FreeBSD: -+/usr/local/share/MailScanner/reports/en/stored.content.message.txt

-+ -+

This report is sent when a message is stored because it -+contained bad or dangerous content. A few variable - substitutions can be made in this file, an example of each - of which is contained in the supplied sample file.

-
- -- -+ - -
-

Disinfected Report

-@@ -1449,8 +1520,8 @@ - - -- -- -+
-+ -

Default: - /opt/MailScanner/etc/reports/en/disinfected.report.txt
- Default Linux: -@@ -1470,7 +1541,7 @@ - - -- -+ - -
-

Inline HTML Signature

-@@ -1478,8 +1549,8 @@ - - -- -- -+
-+ -

Default: - /opt/MailScanner/etc/reports/en/inline.sig.html
- Default Linux: -@@ -1501,7 +1572,7 @@ - - -- -+ - -
-

Inline Text Signature

-@@ -1509,8 +1580,8 @@ - - -- -- -+
-+ -

Default: - /opt/MailScanner/etc/reports/en/inline.sig.txt
- Default Linux: -@@ -1532,7 +1603,7 @@ - - -- -+ - -
-

Sender Error Report

-@@ -1540,8 +1611,8 @@ - - -- -- -+
-+ -

Default: - /opt/MailScanner/etc/reports/en/sender.error.report.txt
- Default Linux: -@@ -1561,7 +1632,7 @@ - - -- -+ - -
-

Sender Bad Filename Report

-@@ -1569,8 +1640,8 @@ - - -- -- -+ -
-+ -

Default: - /opt/MailScanner/etc/reports/en/sender.filename.report.txt
- Default Linux: -@@ -1579,14 +1650,14 @@ - /usr/local/share/MailScanner/reports/en/sender.filename.report.txt

- -

When an attachment is trapped by the filename rules, this --message is sent back to the sender. :

-+message is sent back to the sender.

-
- - - -- -+ - -
-

Sender Virus Report

-@@ -1594,8 +1665,8 @@ - - -- -- -+
-+ -

Default: - /opt/MailScanner/etc/reports/en/sender.virus.report.txt
- Default Linux: -@@ -1611,7 +1682,7 @@ - - -- -+ - -
-

Hide Incoming Work Dir

-@@ -1619,8 +1690,8 @@ - - -- -- -+
-+ -

Default: yes

- -

When this option is set, the full directory in which the -@@ -1633,7 +1704,7 @@ - - -- -+ - -
-

Include Scanner Name in Reports

-@@ -1641,14 +1712,20 @@ - - -- -- -+ -
--

Default: no

-+
-+

Default: yes

- -

Include the name of the virus scanner in each of the --scanner reports. Very useful if you use several virus --scanners, but a bad idea if you don’t want to let your --customers know which scanners you use.

-+scanner reports. This also includes the translation of -+"MailScanner" in each of the report lines -+resulting from one of MailScanner’s own checks such as -+filename, filetype or dangerous HTML content. To change the -+name "MailScanner", look in -+reports/...../languages.conf.
-+Very useful if you use several virus scanners, but a bad -+idea if you don’t want to let your customers know -+which scanners you use.

-
- -@@ -1657,7 +1734,7 @@ - - -- -+ - -
-

Mail Header

-@@ -1665,8 +1742,8 @@ - - -- -- -+
-+ -

Default: X−MailScanner:

- -

Extra header that should be added to all scanned messages -@@ -1679,7 +1756,7 @@ - - -- -+ - -
-

Spam Header

-@@ -1687,8 +1764,8 @@ - - -- -- -+
-+ -

Default: X−MailScanner−SpamCheck:

- -

Name of the header to add to mail detected as spam. The -@@ -1700,7 +1777,7 @@ - - -- -+ - -
-

Spam Score Header

-@@ -1708,8 +1785,8 @@ - - -- -- -+
-+ -

Default: X−MailScanner−SpamScore:

- -

If the option "Spam Score" is set, this is the -@@ -1721,7 +1798,7 @@ - - -- -+ - -
-

Information Header

-@@ -1729,8 +1806,8 @@ - - -- -- -+
-+ -

Default: X−MailScanner−Information:

- -

Name of the header to add to all messages, to be used for -@@ -1743,7 +1820,7 @@ - - -- -+ - -
-

Detailed Spam Report

-@@ -1751,8 +1828,8 @@ - - -- -- -+
-+ -

Default: yes

- -

If this is set to yes then you get the normal fully -@@ -1766,7 +1843,7 @@ - - -- -+ - -
-

Include Scores In SpamAssassin Report

-@@ -1774,8 +1851,8 @@ - - -- -- -+
-+ -

Default: yes

- -

Do you want to include the numerical scores in the -@@ -1787,7 +1864,7 @@ - - -- -+ - -
-

Spam Score Character

-@@ -1795,8 +1872,8 @@ - - -- -- -+
-+ -

Default: s

- -

If the option "Spam Score" is set, this is the -@@ -1809,7 +1886,7 @@ - - -- -+ - -
-

Clean header Value

-@@ -1817,8 +1894,8 @@ - - -- -- -+
-+ -

Default: Found to be clean

- -

This is the text that is added to the "Mail -@@ -1830,7 +1907,7 @@ - - -- -+ - -
-

Infected Header Value

-@@ -1838,8 +1915,8 @@ - - -- -- -+
-+ -

Default: Found to be infected

- -

This is the text that is added to the "Mail -@@ -1851,7 +1928,7 @@ - - -- -+ - -
-

Disinfected Header Value

-@@ -1859,8 +1936,8 @@ - - -- -- -+
-+ -

Default: Disinfected

- -

This is the text that is added to the "Mail -@@ -1874,7 +1951,7 @@ - - -- -+ - -
-

Information Header Value

-@@ -1882,8 +1959,8 @@ - - -- -- -+
-+ -

Default: Please contact the ISP for more information

- -

This is the text that is added to the "Information -@@ -1899,7 +1976,7 @@ - - -- -+ - -
-

Multiple Headers

-@@ -1907,8 +1984,8 @@ - - -- -- -+
-+ -

Default: append

- -

When a message passes through more than one MailScanner -@@ -1924,7 +2001,7 @@ - - -- -+ - -
-

Hostname

-@@ -1932,8 +2009,8 @@ - - -- -- -+
-+ -

Default: the MailScanner

- -

This is the name of the MailScanner server that is put in -@@ -1946,7 +2023,7 @@ - - -- -+ - -
-

Sign Messages Already Processed

-@@ -1954,8 +2031,8 @@ - - -- -- -+
-+ -

Default: no

- -

If a message has already been processed by another -@@ -1970,7 +2047,7 @@ - - -- -+ - -
-

Sign Clean Messages

-@@ -1978,8 +2055,8 @@ - - -- -- -+
-+ -

Default: no

- -

If this option is set, then the "Inline HTML/Text -@@ -1996,7 +2073,7 @@ - - -- -+ - -
-

Mark Infected Messages

-@@ -2004,8 +2081,8 @@ - - -- -- -+
-+ -

Default: yes

- -

If this option is set, then the "Inline HTML/Text -@@ -2020,7 +2097,7 @@ - - -- -+ - -
-

Mark Unscanned Messages

-@@ -2028,8 +2105,8 @@ - - -- -- -+
-+ -

Default: yes

- -

If this option is set, then any message which is not -@@ -2044,7 +2121,7 @@ - - -- -+ - -
-

Unscanned Header Value

-@@ -2052,8 +2129,8 @@ - - -- -- -+
-+ -

Default: Not scanned: please contact your Internet - E−Mail Service Provider for details

- -@@ -2068,7 +2145,7 @@ - - -- -+ - -
-

Deliver Cleaned Messages

-@@ -2076,8 +2153,8 @@ - - -- -- -+
-+ -

Default: yes

- -

Once a message has had all viruses and dangerous content -@@ -2094,7 +2171,7 @@ - - -- -+ - -
-

Notify Senders

-@@ -2102,8 +2179,8 @@ - - -- -- -+
-+ -

Default: yes

- -

If this option is set, a message will be sent back to the -@@ -2116,7 +2193,7 @@ - - -- -+ - -
-

Never Notify Senders Of Precedence

-@@ -2124,8 +2201,8 @@ - - -- -- -+
-+ -

Default: list bulk

- -

This contains a space−separated list of message -@@ -2142,7 +2219,7 @@ - - -- -+ - -
-

Scanned Modify Subject

-@@ -2150,8 +2227,8 @@ - - -- -- -+
-+ -

Default: no # end

- -

If this is set to "start" or "end" -@@ -2165,7 +2242,7 @@ - - -- -+ - -
-

Scanned Subject Text

-@@ -2173,8 +2250,8 @@ - - -- -- -+
-+ -

Default: {Scanned}

- -

This is the text inserted at the start or the end of the -@@ -2186,7 +2263,7 @@ - - -- -+ - -
-

Virus Modify Subject

-@@ -2194,8 +2271,8 @@ - - -- -- -+
-+ -

Default: yes

- -

If this is set, then the "Subject:" line of a -@@ -2208,7 +2285,7 @@ - - -- -+ - -
-

Virus Subject Text

-@@ -2216,8 +2293,8 @@ - - -- -- -+
-+ -

Default: {Virus?}

- -

This is the text inserted at the start of the -@@ -2229,7 +2306,7 @@ - - -- -+ - -
-

Filename Modify Subject

-@@ -2237,21 +2314,21 @@ - - -- -- -+ -
-+ -

Default: yes

- -

If this is set, then the "Subject:" line of a - message that had an attachment with a dangerous filename --will have the "Virus Subject Text" text inserted --at the start.

-+will have the "Filename Subject Text" text -+inserted at the start.

-
- - - -- -+ - -
-

Filename Subject Text

-@@ -2259,9 +2336,9 @@ - - -- -- -+
--

Default: yes

-+
-+

Default: {Virus?}

- -

This is the text inserted at the start of the - "Subject:" line if the "Filename Modify -@@ -2272,7 +2349,50 @@ - - -- -+ -+ -+
-+

Content Modify Subject

-+ -+ -+ -+ -+ -+
-+

Default: yes

-+ -+

If this is set, then the "Subject:" line of a -+message that triggered a content check without anything else -+wrong in the message will have the "Content Subject -+Text" text inserted at the start.

-+
-+ -+ -+ -+ -+ -+
-+

Content Subject Text

-+ -+ -+ -+ -+ -+
-+

Default: {Filename?}

-+ -+

This is the text inserted at the start of the -+"Subject:" line if the "Content Modify -+Subject" option is set.

-+
-+ -+ -+ -+ - -
-

Spam Modify Subject

-@@ -2280,8 +2400,8 @@ - - -- -- -+
-+ -

Default: yes

- -

If this is set, then the "Subject:" line of a -@@ -2294,7 +2414,7 @@ - - -- -+ - -
-

Spam Subject Text

-@@ -2302,8 +2422,8 @@ - - -- -- -+
-+ -

Default: {Spam?}

- -

This is the text inserted at the start of the -@@ -2315,7 +2435,7 @@ - - -- -+ - -
-

High Scroing Spam Modify Subject

-@@ -2323,8 +2443,8 @@ - - -- -- -+
-+ -

Default: yes

- -

If this is set, then the "Subject:" line of a -@@ -2338,7 +2458,7 @@ - - -- -+ - -
-

High Scoring Spam Subject Text

-@@ -2346,8 +2466,8 @@ - - -- -- -+
-+ -

Default: {Spam?}

- -

This is the text inserted at the start of the -@@ -2361,7 +2481,7 @@ - - -- -+ - -
-

Warning Is Attachment

-@@ -2369,8 +2489,8 @@ - - -- -- -+
-+ -

Default: yes

- -

When an infected or dangerous attachment is replaced with -@@ -2383,7 +2503,7 @@ - - -- -+ - -
-

Attachment Warning Filename

-@@ -2391,8 +2511,8 @@ - - -- -- -+
-+ -

Default: VirusWarning.txt

- -

What an infected or dangerous attachment is replaced with -@@ -2404,7 +2524,7 @@ - - -- -+ - -
-

Attachment Encoding Charset

-@@ -2412,8 +2532,8 @@ - - -- -- -+
-+ -

Default: us−ascii

- -

This is the name of the encoding character set used for -@@ -2429,7 +2549,7 @@ - - -- -+ - -
-

Archive Mail

-@@ -2437,8 +2557,8 @@ - - -- -- -+ -@@ -2448,20 +2568,20 @@ - cols="2" cellspacing="0" cellpadding="0"> - - -- - - -- - - -- -@@ -2470,8 +2590,8 @@ -
-+ -

Default:

- -

Space−separated list of any combination of

-+ - -

1. email addresses to which mail should be - forwarded,

-
-+ - -

2. directory names where you want mail to be stored,

-
-+ - -

3. file names to which mail will be appended.

-
- -- -- -+
-+ -

The files (option 3) are using the "mbox" - format suitable for most Unix mail systems. These files must - already exist since MailScanner will not create them!

-@@ -2489,7 +2609,7 @@ - - -- -+ - -
-

Send Notices

-@@ -2497,8 +2617,8 @@ - - -- -- -+
-+ -

Default: yes

- -

Should system administrators listed in the "Notices -@@ -2509,7 +2629,7 @@ - - -- -+ - -
-

Notives Include Full Headers

-@@ -2517,8 +2637,8 @@ - - -- -- -+
-+ -

Default: no

- -

If this option is set, then the system administrator -@@ -2531,7 +2651,7 @@ - - -- -+ - -
-

Hide Incoming Work Dir in Notices

-@@ -2539,8 +2659,8 @@ - - -- -- -+
-+ -

Default: no

- -

When this option is set, the full directory in which the -@@ -2554,7 +2674,7 @@ - - -- -+ - -
-

Notice Signature

-@@ -2562,8 +2682,8 @@ - - -- -- -+
-+ -

Default: −− \nMailScanner\nEmail Virus - Scanner\nwww.mailscanner.info

- -@@ -2578,7 +2698,7 @@ - - -- -+ - -
-

Notices From

-@@ -2586,8 +2706,8 @@ - - -- -- -+
-+ -

Default: MailScanner

- -

The visible part of the email address used in the -@@ -2600,7 +2720,7 @@ - - -- -+ - -
-

Notices To

-@@ -2608,8 +2728,8 @@ - - -- -- -+
-+ -

Default: postmaster

- -

This option provides a list of the addresses to which -@@ -2622,7 +2742,7 @@ - - -- -+ - -
-

Local Postmaster

-@@ -2630,8 +2750,8 @@ - - -- -- -+
-+ -

Default: postmaster

- -

When virus warnings are sent to any users, this is the -@@ -2645,7 +2765,7 @@ - - -- -+ - -
-

Spam List Definitions

-@@ -2653,8 +2773,8 @@ - - -- -- -+
-+ -

Default: /opt/MailScanner/etc/spam.lists.conf
- Defualt Linux: /etc/MailScanner/spam.lists.conf
- Default FreeBSD: -@@ -2672,7 +2792,7 @@ - - -- -+ - -
-

Virus Scanner Definitions

-@@ -2680,8 +2800,8 @@ - - -- -- -+
-+ -

Default: /opt/MailScanner/etc/virus.scanners.conf
- Default Linux: /etc/MailScanner/virus.scanners.conf
- Default FreeBSD: -@@ -2699,7 +2819,7 @@ - - -- -+ - -
-

Spam Checks

-@@ -2707,8 +2827,8 @@ - - -- -- -+
-+ -

Default: yes

- -

If this option is set, messages will be checked to see if -@@ -2719,7 +2839,7 @@ - - -- -+ - -
-

Spam List

-@@ -2727,8 +2847,8 @@ - - -- -- -+
-+ -

Default: ORDB−RBL Infinite−Monkeys

- -

This provides a space−separated list of "Spam -@@ -2744,7 +2864,7 @@ - - -- -+ - -
-

Spam Domain List

-@@ -2752,8 +2872,8 @@ - - -- -- -+
-+ -

Default:

- -

This provides a space−separated list of "Spam -@@ -2768,7 +2888,7 @@ - - -- -+ - -
-

Spam Lists To Reach High Score

-@@ -2776,8 +2896,8 @@ - - -- -- -+
-+ -

Default: 5

- -

If a message appears in at least this number of -@@ -2794,7 +2914,7 @@ - - -- -+ - -
-

Spam List Timeout

-@@ -2802,8 +2922,8 @@ - - -- -- -+
-+ -

Default: 10

- -

This is the number of seconds to wait for each "Spam -@@ -2815,7 +2935,7 @@ - - -- -+ - -
-

Max Spam List Timeouts

-@@ -2823,8 +2943,8 @@ - - -- -- -+
-+ -

Default: 7

- -

If a "Spam List" lookup times out for this many -@@ -2840,7 +2960,7 @@ - - -- -+ - -
-

Is Definitely Not Spam

-@@ -2848,8 +2968,8 @@ - - -- -- -+
-+ -

Default: - /opt/MailScanner/etc/rules/spam.whitelist.rules
- Default Linux: -@@ -2869,7 +2989,7 @@ - - -- -+ - -
-

Is Definitely Spam

-@@ -2877,8 +2997,8 @@ - - -- -- -+ -
-+ -

Default: no

- -

This option would normally be a ruleset. Any messages for -@@ -2887,13 +3007,36 @@ - "blacklist" of addresses of known spammers.

-
-+ -+ -+ -+ -+ -+
-+

Definite Spam Is High Scoring

-+ -+ -+ -+ -+ -+
-+

Default: no

-+ -+

Setting this to yes means that spam found in the -+blacklist is treated as "High Scoring Spam" in the -+"Spam Actions" section below. Setting it to no -+means that it will be treated as "normal" spam. -+This can also be the filename of a ruleset.

-+
- -

SpamAssassin

- - - -- -+ - -
-

Use SpamAssassin

-@@ -2901,8 +3044,8 @@ - - -- -- -+
-+ -

Default: no

- -

Do you want to detect spam using the very good -@@ -2919,7 +3062,7 @@ - - -- -+ - -
-

Max SpamAssassin Size

-@@ -2927,8 +3070,8 @@ - - -- -- -+
-+ -

Default: 90000

- -

SpamAssassin is quite slow when processing very large -@@ -2942,7 +3085,7 @@ - - -- -+ - -
-

Required Spam Assassin Score

-@@ -2950,8 +3093,8 @@ - - -- -- -+
-+ -

Default: 5

- -

This gives the minimum SpamAssassin score value above -@@ -2965,7 +3108,7 @@ - - -- -+ - -
-

High SpamAssassin Score

-@@ -2973,8 +3116,8 @@ - - -- -- -+
-+ -

Default: 20

- -

Messages with a SpamAssassin score greater than this -@@ -2987,7 +3130,7 @@ - - -- -+ - -
-

SpamAssassin Auto Whitelist

-@@ -2995,8 +3138,8 @@ - - -- -- -+
-+ -

Default: no

- -

SpamAssassin has a feature which measures the ratio of -@@ -3012,7 +3155,7 @@ - - -- -+ - -
-

SpamAssassin Prefs File

-@@ -3020,8 +3163,8 @@ - - -- -- -+
-+ -

Default: - /opt/MailScanner/etc/spam.assassin.prefs.conf
- Default Linux: /etc/MailScanner/spam.assassin.prefs.conf
-@@ -3041,7 +3184,7 @@ - - -- -+ - -
-

SpamAssassin Timeout

-@@ -3049,8 +3192,8 @@ - - -- -- -+
-+ -

Default: 30

- -

This option sets the maximum number of seconds to wait -@@ -3063,7 +3206,7 @@ - - -- -+ - -
-

Max SpamAssasin Timeouts

-@@ -3071,8 +3214,8 @@ - - -- -- -+
-+ -

Default: 20

- -

If several consecutive calls to SpamAssassin time out, -@@ -3086,7 +3229,7 @@ - - -- -+ - -
-

Check SpamAssassin If On Spam List

-@@ -3094,8 +3237,8 @@ - - -- -- -+
-+ -

Default: yes

- -

If a message has already triggered any of the "Spam -@@ -3109,7 +3252,7 @@ - - -- -+ - -
-

Always Include SpamAssasin Report

-@@ -3117,8 +3260,8 @@ - - -- -- -+
-+ -

Default: no

- -

If this option is set, then the "Spam Header" -@@ -3131,7 +3274,7 @@ - - -- -+ - -
-

Spam Score

-@@ -3139,8 +3282,8 @@ - - -- -- -+
-+ -

Default: yes

- -

If a message is spam, and this option is set, then a -@@ -3157,7 +3300,7 @@ - - -- -+ - -
-

Spam Actions

-@@ -3165,8 +3308,8 @@ - - -- -- -+
-+ -

Default: deliver

- -

This can be any combination of 1 or more of the following -@@ -3205,7 +3348,7 @@ - - -- -+ - -
-

High Scoring Spam Actions

-@@ -3213,8 +3356,8 @@ - - -- -- -+
-+ -

Default: deliver

- -

This is the same as the "Spam Actions" option -@@ -3227,7 +3370,7 @@ - - -- -+ - -
-

Non Spam Actions

-@@ -3235,8 +3378,8 @@ - - -- -- -+
-+ -

Default: deliver

- -

This is the same as the "Spam Actions" option -@@ -3249,7 +3392,7 @@ - - -- -+ - -
-

Sender Spam Report

-@@ -3257,8 +3400,8 @@ - - -- -- -+
-+ -

Default: - /opt/MailScanner/etc/reports/en/sender.spam.report.txt
- Default Linux: -@@ -3276,7 +3419,7 @@ - - -- -+ - -
-

Sender Spam List Report

-@@ -3284,8 +3427,8 @@ - - -- -- -+
-+ -

Default: - /opt/MailScanner/etc/reports/en/sender.spam.rbl.report.txt
- Default Linux: -@@ -3302,7 +3445,7 @@ - - -- -+ - -
-

Sender SpamAssassin Report

-@@ -3310,8 +3453,8 @@ - - -- -- -+
-+ -

Default: - /opt/MailScanner/etc/reports/en/sender.spam.sa.report.txt
- Default Linux: -@@ -3328,7 +3471,7 @@ - - -- -+ - -
-

Inline Spam Warning

-@@ -3336,8 +3479,8 @@ - - -- -- -+
-+ -

Default: - /opt/MailScanner/etc/reports/en/inline.spam.warning.txt
- Default Linux: -@@ -3356,7 +3499,7 @@ - - -- -+ - -
-

Syslog Facility

-@@ -3364,8 +3507,8 @@ - - -- -- -+
-+ -

Default: mail

- -

This is the name of the "facility" used by -@@ -3378,7 +3521,7 @@ - - -- -+ - -
-

Log Spam

-@@ -3386,8 +3529,8 @@ - - -- -- -+
-+ -

Default: no

- -

If this option is set, then every spam message will be -@@ -3402,7 +3545,7 @@ - - -- -+ - -
-

Log Permitted Filenames

-@@ -3410,8 +3553,8 @@ - - -- -- -+
-+ -

Default: no

- -

If this option is set, then every attachment filename -@@ -3425,7 +3568,7 @@ - - -- -+ - -
-

Log Permitted Filetypes

-@@ -3433,8 +3576,8 @@ - - -- -- -+
-+ -

Default: no

- -

Log all the filenames that are allowed by the Filetype -@@ -3448,7 +3591,7 @@ - - -- -+ -
-

If you are using Postfix you may well need to use some of - the settings below, as the home directory for the -@@ -3462,7 +3605,7 @@ - - -- -+ - -
-

SpamAssassin User State Dir

-@@ -3470,8 +3613,8 @@ - - -- -- -+ - -- - - --
-+ -

Default:

- -

The per−user files (bayes, auto−whitelist, -@@ -3486,13 +3629,13 @@ - cols="2" cellspacing="0" cellpadding="0"> -

-+ - -

mkdir /var/spool/MailScanner/spamassassin

-
-+ - -

chown postfix.postfix - /var/spool/MailScanner/spamassassin

-@@ -3502,7 +3645,7 @@ - - -- -+ - -
-

SpamAssassin Install Prefix

-@@ -3510,8 +3653,8 @@ - - -- -- -+
-+ -

Default:

- -

This setting is useful if SpamAssassin is installed in an -@@ -3526,7 +3669,7 @@ - - -- -+ - -
-

SpamAssassin Local Rules Dir

-@@ -3534,8 +3677,8 @@ - - -- -- -+
-+ -

Default:

- -

The site−local rules are searched for here, and in -@@ -3550,7 +3693,7 @@ - - -- -+ - -
-

SpamAssassin Default Rules Dir

-@@ -3558,8 +3701,8 @@ - - -- -- -+ -- -+ - -- -
-+ -

Default:

- -

The default rules are searched for here, and in -@@ -3580,20 +3723,20 @@ - -

Debug

-
- -

Default: no

-
-+ -
- - - -- -- -+
-+ -

Not for use by normal users. Setting this option to - "yes" will put MailScanner into debugging mode, in - which it creates slightly more output and will not become a -@@ -3604,7 +3747,7 @@ - - -- -+ - -
-

Debug SpamAssassin

-@@ -3612,8 +3755,8 @@ - - -- -- -+
-+ -

Default: no

- -

Do you want to debug SpamAssassin from within -@@ -3624,7 +3767,7 @@ - - -- -+ - -
-

Always Looked Up Last

-@@ -3632,8 +3775,8 @@ - - -- -- -+
-+ -

Default: no

- -

The value of the option is actually never used, but it is -@@ -3649,7 +3792,7 @@ - - -- -+ - -
-

Deliver in Background

-@@ -3657,8 +3800,8 @@ - - -- -- -+
-+ -

Default: yes

- -

When attempting delivery of any messages (when the -@@ -3673,7 +3816,7 @@ - - -- -+ - -
-

Lockfile Dir

-@@ -3681,8 +3824,8 @@ - - -- -- -+
-+ -

Default: /tmp

- -

This is the directory in which lock files are placed to -@@ -3697,7 +3840,7 @@ - - -- -+ - -
-

Lock Type

-@@ -3705,8 +3848,8 @@ - - -- -- -+
-+ -

Do not set this option to anything unless you know - exactly what you are doing. For sendmail and Exim, - MailScanner will choose the correct value by default. This -@@ -3720,7 +3863,7 @@ - - -- -+ - -
-

Minimum Code Status

-@@ -3728,8 +3871,8 @@ - - -- -- -+
-+ -

Default: supported

- -

Some of the virus scanners are not supported by the -@@ -3747,7 +3890,7 @@ - - -- -+ - -
-

Split Exim Spool

-@@ -3755,8 +3898,8 @@ - - -- -- -+ -
-+ -

Default: yes

- -

Are you using Exim with split spool directories? If you -@@ -3765,13 +3908,51 @@ - information about split spool directories.

-
-+ -+ -+ -+ -+ -+
-+

Use Default Rules With Multiple -+Recipients

-+ -+ -+ -+ -+ -+
-+

Default: no

-+ -+

When trying to work out the value of configuration -+parameters which are using a ruleset, this controls the -+behaviour when a rule is checking the "To:" -+addresses. If this option is set to "yes", then -+the following happens when checking the ruleset:

-+ -+

a) 1 recipient. Same behaviour as normal.
-+b) Several recipients, but all in the same domain -+(domain.com for example). The rules are checked for one that -+matches the string "*@domain.com".
-+c) Several recipients, not all in the same domain. The rules -+are checked for one that matches the string -+"*@*".

-+ -+

If this option is set to "no", then some rules -+will use the result they get from the first matching rule -+for any of the recipients of a message, so the exact value -+cannot be predicted for messages with more than 1 recipient. -+This value *cannot* be the filename of a ruleset.

-+
- -

RULESETS

- - - -- -+ -
-

Ruleset files should all be put in - /opt/MailScanner/etc/rules (FreeBSD: -@@ -3795,35 +3976,39 @@ -

- - -+ cols="5" cellspacing="0" cellpadding="0"> - - - -- -- -+ -+ - - - -- -- -+ -+ -
- -

From:

-
-+ - -

Matches when the message is from a matching address

-
-+
- -

To:

-
-+ - -

Matches when the message is to a matching address

-
-+
- - - -- -+ - -
-

FromOrTo:

-@@ -3831,8 +4016,8 @@ - - -- -- -+ -@@ -3841,7 +4026,7 @@ -
-+ -

Matches when the message is from or to a matching - address

-
- -- -+ - -
-

FromAndTo:

-@@ -3849,8 +4034,8 @@ - - -- -- -+ -@@ -3859,7 +4044,7 @@ -
-+ -

Matches when the message is from and to a matching - address

-
- -- -+ - -+
-

The syntax of these is very loosely defined. Any word - containing "from", any word containing -@@ -3867,12 +4052,25 @@ - "to" (in either order), and any word containing - "and" will work just fine. You can put them in - upper or lower case, it doesn’t matter. And any --additional punctuation will be ignored.

-+additional punctuation will be ignored.

- -+ -+ -+ -+ -+
-

This specifies the whether the rule should be matched - against the sender’s address (or IP address), or the - recipient’s address.

-+
- -+ -+ -+ -+
-

2. The pattern describes what messages should match this - rule. Some examples are:

- -@@ -3911,7 +4109,7 @@ - - -- -+ -
-

This is held in the filename pointed to by the - configuration option Filename rules. It contains a set of -@@ -3951,7 +4149,7 @@ - - -- -+ - -
-

allow / deny

-@@ -3959,8 +4157,8 @@ - - -- -- -+ -@@ -3969,7 +4167,7 @@ -
-+ -

Accept or reject the attachment if its filename matches - the regular expression

-
- -- -+ - -
-

regular expression

-@@ -3977,8 +4175,8 @@ - - -- -- -+
-+ -

The rule is executed if the attachment matches this - expression. It may optionally be surrounded in - ’/’ characters.

-@@ -3988,7 +4186,7 @@ - - -- -+ - -
-

log text

-@@ -3996,8 +4194,8 @@ - - -- -- -+ -@@ -4006,7 +4204,7 @@ -
-+ -

If the rule matches, this text is placed in the syslog. - If the text is "−", no string is logged.

-
- -- -+ - -
-

user text

-@@ -4014,8 +4212,8 @@ - - -- -- -+
-+ -

If the rule matches, this text is placed in the text - message sent to the user. If the text is - "−", no text is used.

-@@ -4025,7 +4223,7 @@ - - -- -+ -
-

Please have a look at the filename.rules.conf or - filename.rules.conf.sample file provided with this -@@ -4038,7 +4236,7 @@ - - -- -+ - diff --git a/mail/mailscanner-devel/files/patch-etc:MailScanner.conf b/mail/mailscanner-devel/files/patch-etc:MailScanner.conf deleted file mode 100644 index 3ba6297b7128..000000000000 --- a/mail/mailscanner-devel/files/patch-etc:MailScanner.conf +++ /dev/null @@ -1,76 +0,0 @@ ---- ../MailScanner-4.22-5.old/etc/MailScanner.conf Mon Aug 11 12:15:32 2003 -+++ etc/MailScanner.conf Mon Aug 11 12:36:06 2003 -@@ -31,13 +31,13 @@ - # - - # Set the directory containing all the reports in all the languages --%report-dir% = /opt/MailScanner/etc/reports/en -+%report-dir% = /usr/local/share/MailScanner/reports/en - - # Configuration directory containing this file --%etc-dir% = /opt/MailScanner/etc -+%etc-dir% = /usr/local/etc/MailScanner - - # Rulesets directory containing your ".rules" files --%rules-dir% = /opt/MailScanner/etc/rules -+%rules-dir% = /usr/local/etc/MailScanner/rules - - # - # System settings -@@ -82,7 +82,7 @@ - # Example: /var/spool/mqueue.in/* - # 3. The name of a file containing a list of directory names, - # which can in turn contain wildcards. --# Example: /opt/MailScanner/etc/mqueue.in.list.conf -+# Example: /usr/local/etc/MailScanner/mqueue.in.list.conf - # - Incoming Queue Dir = /var/spool/mqueue.in - -@@ -98,7 +98,7 @@ - Quarantine Dir = /var/spool/MailScanner/quarantine - - # Set where to store the process id number so you can stop MailScanner --PID file = /opt/MailScanner/var/MailScanner.pid -+PID file = /var/run/MailScanner.pid - - # To avoid resource leaks, re-start periodically - Restart Every = 14400 -@@ -111,7 +111,7 @@ - # Set how to invoke MTA when sending messages MailScanner has created - # (e.g. to sender/recipient saying "found a virus in your message") - # This can also be the filename of a ruleset. --Sendmail = /usr/lib/sendmail -+Sendmail = /usr/sbin/sendmail - - # Sendmail2 is provided for Exim users. - # It is the command used to attempt delivery of outgoing cleaned/disinfected -@@ -119,9 +119,9 @@ - # This is not usually required for sendmail. - # This can also be the filename of a ruleset. - #For Exim users: Sendmail2 = /usr/sbin/exim -C /etc/exim/exim_send.conf --#For sendmail users: Sendmail2 = /usr/lib/sendmail -+#For sendmail users: Sendmail2 = /usr/sbin/sendmail - #Sendmail2 = /usr/sbin/sendmail -C /etc/exim/exim_send.conf --Sendmail2 = /usr/lib/sendmail -+Sendmail2 = /usr/sbin/sendmail - - # - # Processing Incoming Mail -@@ -165,7 +165,7 @@ - # may be. It helps protect against Denial Of Service attacks in TNEF files. - #TNEF Expander = internal - # This can also be the filename of a ruleset. --TNEF Expander = /opt/MailScanner/bin/tnef --maxsize=100000000 -+TNEF Expander = /usr/local/bin/tnef --maxsize=100000000 - - # The maximum length of time the TNEF Expander is allowed to run for 1 message. - # (in seconds) -@@ -1028,7 +1028,7 @@ - # /etc/mail/spamassassin, and maybe others. - # If this is set then it adds to the list of places that are searched; - # otherwise it has no effect. --#SpamAssassin Local Rules Dir = /opt/MailScanner/etc/mail/spamassassin -+#SpamAssassin Local Rules Dir = /usr/local/etc/MailScanner/mail/spamassassin - SpamAssassin Local Rules Dir = - - # The default rules are searched for here, and in prefix/share/spamassassin, diff --git a/mail/mailscanner-devel/files/patch-etc:virus.scanners.conf b/mail/mailscanner-devel/files/patch-etc:virus.scanners.conf deleted file mode 100644 index 466c19156241..000000000000 --- a/mail/mailscanner-devel/files/patch-etc:virus.scanners.conf +++ /dev/null @@ -1,43 +0,0 @@ ---- ../MailScanner-4.22-5.old/etc/virus.scanners.conf Mon Aug 11 12:15:32 2003 -+++ etc/virus.scanners.conf Mon Aug 11 12:36:06 2003 -@@ -1,21 +1,21 @@ - # This is a list of the names of the virus scanning engines, along with the - # filename of the command or script to run to invoke each one. --sophos /opt/MailScanner/lib/sophos-wrapper --f-prot /opt/MailScanner/lib/f-prot-wrapper --mcafee /opt/MailScanner/lib/mcafee-wrapper --rav /opt/MailScanner/lib/rav-wrapper --kaspersky /opt/MailScanner/lib/kaspersky-wrapper --kavdaemonclient /opt/MailScanner/lib/kavdaemonclient-wrapper --panda /opt/MailScanner/lib/panda-wrapper --f-secure /opt/MailScanner/lib/f-secure-wrapper --clamav /opt/MailScanner/lib/clamav-wrapper --trend /opt/MailScanner/lib/trend-wrapper --antivir /opt/MailScanner/lib/antivir-wrapper --inoculate /opt/MailScanner/lib/inoculate-wrapper --inoculan /opt/MailScanner/lib/inoculan-wrapper --command /opt/MailScanner/lib/command-wrapper --nod32 /opt/MailScanner/lib/nod32-wrapper --nod32-1.99 /opt/MailScanner/lib/nod32-wrapper --bitdefender /opt/MailScanner/lib/bitdefender-wrapper --sophossavi /bin/false --none /bin/false -+sophos /usr/local/libexec/MailScanner/sophos-wrapper -+f-prot /usr/local/libexec/MailScanner/f-prot-wrapper -+mcafee /usr/local/libexec/MailScanner/mcafee-wrapper -+rav /usr/local/libexec/MailScanner/rav-wrapper -+kaspersky /usr/local/libexec/MailScanner/kaspersky-wrapper -+kavdaemonclient /usr/local/libexec/MailScanner/kavdaemonclient-wrapper -+panda /usr/local/libexec/MailScanner/panda-wrapper -+f-secure /usr/local/libexec/MailScanner/f-secure-wrapper -+clamav /usr/local/libexec/MailScanner/clamav-wrapper -+trend /usr/local/libexec/MailScanner/trend-wrapper -+antivir /usr/local/libexec/MailScanner/antivir-wrapper -+inoculate /usr/local/libexec/MailScanner/inoculate-wrapper -+inoculan /usr/local/libexec/MailScanner/inoculan-wrapper -+command /usr/local/libexec/MailScanner/command-wrapper -+nod32 /usr/local/libexec/MailScanner/nod32-wrapper -+nod32-1.99 /usr/local/libexec/MailScanner/nod32-wrapper -+bitdefender /usr/local/libexec/MailScanner/bitdefender-wrapper -+sophossavi /usr/bin/false -+none /usr/bin/false diff --git a/mail/mailscanner-devel/files/patch-lib:MailScanner:ConfigDefs.pl b/mail/mailscanner-devel/files/patch-lib:MailScanner:ConfigDefs.pl deleted file mode 100644 index ac786259a90e..000000000000 --- a/mail/mailscanner-devel/files/patch-lib:MailScanner:ConfigDefs.pl +++ /dev/null @@ -1,72 +0,0 @@ ---- ../MailScanner-4.22-5.old/lib/MailScanner/ConfigDefs.pl Mon Aug 11 12:15:30 2003 -+++ lib/MailScanner/ConfigDefs.pl Mon Aug 11 12:36:06 2003 -@@ -154,9 +154,9 @@ - # Check the first word of these for file existence - [Simple,File] - pidfile /var/run/MailScanner.pid --spamassassinprefsfile /opt/MailScanner/etc/spam.assassin.prefs.conf --SpamListDefinitions /opt/MailScanner/etc/spam.lists.conf --VirusScannerDefinitions /opt/MailScanner/etc/virus.scanners.conf -+spamassassinprefsfile /usr/local/etc/MailScanner/spam.assassin.prefs.conf -+SpamListDefinitions /usr/local/etc/MailScanner/spam.lists.conf -+VirusScannerDefinitions /usr/local/etc/MailScanner/virus.scanners.conf - - # Check these to ensure they are just numbers - [Simple,Number] -@@ -197,7 +197,7 @@ - SpamAssassinDefaultRulesDir - SpamAssassinInstallPrefix - SpamStarsCharacter s --TNEFExpander /opt/MailScanner/bin/tnef --maxsize=100000000 -+TNEFExpander /usr/local/bin/tnef --maxsize=100000000 - VirusScanners none # Space-separated list - - # -@@ -246,23 +246,23 @@ - WarnSenders 1 no 0 yes 1 - - [First,File] --DeletedFilenameMessage /opt/MailScanner/etc/reports/en/deleted.filename.message.txt --DeletedVirusMessage /opt/MailScanner/etc/reports/en/deleted.virus.message.txt --DisinfectedReportText /opt/MailScanner/etc/reports/en/disinfected.report.txt --inlinehtmlsig /opt/MailScanner/etc/reports/en/inline.sig.html --inlinehtmlwarning /opt/MailScanner/etc/reports/en/inline.warning.html -+DeletedFilenameMessage /usr/local/share/MailScanner/reports/en/deleted.filename.message.txt -+DeletedVirusMessage /usr/local/share/MailScanner/reports/en/deleted.virus.message.txt -+DisinfectedReportText /usr/local/share/MailScanner/reports/en/disinfected.report.txt -+inlinehtmlsig /usr/local/share/MailScanner/reports/en/inline.sig.html -+inlinehtmlwarning /usr/local/share/MailScanner/reports/en/inline.warning.html - inlinespamwarning /etc/MailScanner/reports/en/inline.spam.warning.txt --inlinetextsig /opt/MailScanner/etc/reports/en/inline.sig.txt --inlinetextwarning /opt/MailScanner/etc/reports/en/inline.warning.txt -+inlinetextsig /usr/local/share/MailScanner/reports/en/inline.sig.txt -+inlinetextwarning /usr/local/share/MailScanner/reports/en/inline.warning.txt - languagestrings --sendererrorreport /opt/MailScanner/etc/reports/en/sender.error.report.txt --senderfilenamereport /opt/MailScanner/etc/reports/en/sender.filename.report.txt --SenderRBLSpamReport /opt/MailScanner/etc/reports/en/sender.spam.rbl.report.txt --SenderSASpamReport /opt/MailScanner/etc/reports/en/sender.spam.sa.report.txt --SenderBothSpamReport /opt/MailScanner/etc/reports/en/sender.spam.report.txt --sendervirusreport /opt/MailScanner/etc/reports/en/sender.virus.report.txt --StoredFilenameMessage /opt/MailScanner/etc/reports/en/stored.filename.message.txt --StoredVirusMessage /opt/MailScanner/etc/reports/en/stored.virus.message.txt -+sendererrorreport /usr/local/share/MailScanner/reports/en/sender.error.report.txt -+senderfilenamereport /usr/local/share/MailScanner/reports/en/sender.filename.report.txt -+SenderRBLSpamReport /usr/local/share/MailScanner/reports/en/sender.spam.rbl.report.txt -+SenderSASpamReport /usr/local/share/MailScanner/reports/en/sender.spam.sa.report.txt -+SenderBothSpamReport /usr/local/share/MailScanner/reports/en/sender.spam.report.txt -+sendervirusreport /usr/local/share/MailScanner/reports/en/sender.virus.report.txt -+StoredFilenameMessage /usr/local/share/MailScanner/reports/en/stored.filename.message.txt -+StoredVirusMessage /usr/local/share/MailScanner/reports/en/stored.virus.message.txt - - [First,Command] - Sendmail /usr/sbin/sendmail -@@ -317,7 +317,7 @@ - UseSpamAssassin 0 no 0 yes 1 - - [All,File] --#FilenameRules /opt/MailScanner/etc/filename.rules.conf -+#FilenameRules /usr/local/etc/MailScanner/filename.rules.conf - FilenameRules - FiletypeRules - diff --git a/mail/mailscanner-devel/files/patch-lib:MailScanner:SystemDefs.pm b/mail/mailscanner-devel/files/patch-lib:MailScanner:SystemDefs.pm deleted file mode 100644 index f336bbb70b49..000000000000 --- a/mail/mailscanner-devel/files/patch-lib:MailScanner:SystemDefs.pm +++ /dev/null @@ -1,10 +0,0 @@ ---- ../MailScanner-4.22-5.old/lib/MailScanner/SystemDefs.pm Mon Aug 11 12:15:30 2003 -+++ lib/MailScanner/SystemDefs.pm Mon Aug 11 12:36:06 2003 -@@ -36,6 +36,6 @@ - $global::rm = '/bin/rm'; - $global::cp = '/bin/cp'; - $global::cat = '/bin/cat'; --$global::sed = '/bin/sed'; -+$global::sed = '/usr/bin/sed'; - - 1; diff --git a/mail/mailscanner-devel/pkg-message b/mail/mailscanner-devel/pkg-message index 68ff718962f8..7c4e356d71a7 100644 --- a/mail/mailscanner-devel/pkg-message +++ b/mail/mailscanner-devel/pkg-message @@ -5,7 +5,7 @@ / ___ \| | | | | |___| |\ | | | | | |_| | |\ | /_/ \_\_| |_| |_____|_| \_| |_| |___\___/|_| \_| - See PREFIX/share/doc/MailScanner/README.FreeBSD.port, + See %%PREFIX%%/share/doc/MailScanner/README.FreeBSD.port, http://www.mailscanner.info, the man pages MailScanner and MailScanner.conf for further instructions. @@ -21,4 +21,14 @@ .sample files instead of real .conf files and report templates. + If you are upgrading your port you might consider + running + + make renew-wrapper + make renew-autoupdate + make renew-reports + + to update your virus-wrappers, autoupdates, reports and + languages.conf + ************************************************************************* diff --git a/mail/mailscanner-devel/pkg-plist b/mail/mailscanner-devel/pkg-plist index 3d4bc1a4f625..4be0e0236bea 100644 --- a/mail/mailscanner-devel/pkg-plist +++ b/mail/mailscanner-devel/pkg-plist @@ -1,12 +1,14 @@ +@comment $FreeBSD$ bin/tnef etc/MailScanner/MailScanner.conf.sample etc/MailScanner/filename.rules.conf.sample +etc/MailScanner/filetype.rules.conf.sample etc/MailScanner/rules/EXAMPLES etc/MailScanner/rules/README etc/MailScanner/rules/spam.whitelist.rules.sample etc/MailScanner/spam.assassin.prefs.conf.sample etc/MailScanner/spam.lists.conf.sample -etc/MailScanner/virus.scanners.conf +etc/MailScanner/virus.scanners.conf.sample etc/rc.d/mailscanner.sh.sample etc/rc.d/mta.sh.sample lib/MailScanner/MailScanner.pm @@ -17,6 +19,8 @@ lib/MailScanner/MailScanner/Exim.pm lib/MailScanner/MailScanner/EximDiskStore.pm lib/MailScanner/MailScanner/Lock.pm lib/MailScanner/MailScanner/Log.pm +lib/MailScanner/MailScanner/MCP.pm +lib/MailScanner/MailScanner/MCPMessage.pm lib/MailScanner/MailScanner/Mail.pm lib/MailScanner/MailScanner/Message.pm lib/MailScanner/MailScanner/MessageBatch.pm @@ -45,8 +49,11 @@ libexec/MailScanner/bitdefender-wrapper.sample libexec/MailScanner/clamav-autoupdate.sample libexec/MailScanner/clamav-wrapper.sample libexec/MailScanner/command-wrapper.sample +libexec/MailScanner/etrust-autoupdate.sample +libexec/MailScanner/etrust-wrapper.sample libexec/MailScanner/f-prot-autoupdate.sample libexec/MailScanner/f-prot-wrapper.sample +libexec/MailScanner/f-secure-autoupdate.sample libexec/MailScanner/f-secure-wrapper.sample libexec/MailScanner/inoculan-wrapper.sample libexec/MailScanner/inoculate-wrapper.sample @@ -62,7 +69,10 @@ libexec/MailScanner/rav-autoupdate.sample libexec/MailScanner/rav-wrapper.sample libexec/MailScanner/sophos-autoupdate.sample libexec/MailScanner/sophos-wrapper.sample +libexec/MailScanner/trend-autoupdate.sample libexec/MailScanner/trend-wrapper.sample +libexec/MailScanner/update_virus_scanners +%%DATADIR%%/reports/cy+en/deleted.content.message.txt.sample %%DATADIR%%/reports/cy+en/deleted.filename.message.txt.sample %%DATADIR%%/reports/cy+en/deleted.virus.message.txt.sample %%DATADIR%%/reports/cy+en/disinfected.report.txt.sample @@ -72,14 +82,18 @@ libexec/MailScanner/trend-wrapper.sample %%DATADIR%%/reports/cy+en/inline.warning.html.sample %%DATADIR%%/reports/cy+en/inline.warning.txt.sample %%DATADIR%%/reports/cy+en/languages.conf.sample +%%DATADIR%%/reports/cy+en/sender.content.report.txt.sample %%DATADIR%%/reports/cy+en/sender.error.report.txt.sample %%DATADIR%%/reports/cy+en/sender.filename.report.txt.sample +%%DATADIR%%/reports/cy+en/sender.mcp.report.txt.sample %%DATADIR%%/reports/cy+en/sender.spam.rbl.report.txt.sample %%DATADIR%%/reports/cy+en/sender.spam.report.txt.sample %%DATADIR%%/reports/cy+en/sender.spam.sa.report.txt.sample %%DATADIR%%/reports/cy+en/sender.virus.report.txt.sample +%%DATADIR%%/reports/cy+en/stored.content.message.txt.sample %%DATADIR%%/reports/cy+en/stored.filename.message.txt.sample %%DATADIR%%/reports/cy+en/stored.virus.message.txt.sample +%%DATADIR%%/reports/cz/deleted.content.message.txt.sample %%DATADIR%%/reports/cz/deleted.filename.message.txt.sample %%DATADIR%%/reports/cz/deleted.virus.message.txt.sample %%DATADIR%%/reports/cz/disinfected.report.txt.sample @@ -89,15 +103,19 @@ libexec/MailScanner/trend-wrapper.sample %%DATADIR%%/reports/cz/inline.warning.html.sample %%DATADIR%%/reports/cz/inline.warning.txt.sample %%DATADIR%%/reports/cz/languages.conf.sample +%%DATADIR%%/reports/cz/sender.content.report.txt.sample %%DATADIR%%/reports/cz/sender.error.report.txt.sample %%DATADIR%%/reports/cz/sender.filename.report.txt.sample +%%DATADIR%%/reports/cz/sender.mcp.report.txt.sample %%DATADIR%%/reports/cz/sender.spam.rbl.report.txt.sample %%DATADIR%%/reports/cz/sender.spam.report.txt.sample %%DATADIR%%/reports/cz/sender.spam.sa.report.txt.sample %%DATADIR%%/reports/cz/sender.virus.report.txt.sample +%%DATADIR%%/reports/cz/stored.content.message.txt.sample %%DATADIR%%/reports/cz/stored.filename.message.txt.sample %%DATADIR%%/reports/cz/stored.virus.message.txt.sample %%DATADIR%%/reports/de/README.1ST.sample +%%DATADIR%%/reports/de/deleted.content.message.txt.sample %%DATADIR%%/reports/de/deleted.filename.message.txt.sample %%DATADIR%%/reports/de/deleted.virus.message.txt.sample %%DATADIR%%/reports/de/disinfected.report.txt.sample @@ -107,14 +125,18 @@ libexec/MailScanner/trend-wrapper.sample %%DATADIR%%/reports/de/inline.warning.html.sample %%DATADIR%%/reports/de/inline.warning.txt.sample %%DATADIR%%/reports/de/languages.conf.sample +%%DATADIR%%/reports/de/sender.content.report.txt.sample %%DATADIR%%/reports/de/sender.error.report.txt.sample %%DATADIR%%/reports/de/sender.filename.report.txt.sample +%%DATADIR%%/reports/de/sender.mcp.report.txt.sample %%DATADIR%%/reports/de/sender.spam.rbl.report.txt.sample %%DATADIR%%/reports/de/sender.spam.report.txt.sample %%DATADIR%%/reports/de/sender.spam.sa.report.txt.sample %%DATADIR%%/reports/de/sender.virus.report.txt.sample +%%DATADIR%%/reports/de/stored.content.message.txt.sample %%DATADIR%%/reports/de/stored.filename.message.txt.sample %%DATADIR%%/reports/de/stored.virus.message.txt.sample +%%DATADIR%%/reports/dk/deleted.content.message.txt.sample %%DATADIR%%/reports/dk/deleted.filename.message.txt.sample %%DATADIR%%/reports/dk/deleted.virus.message.txt.sample %%DATADIR%%/reports/dk/disinfected.report.txt.sample @@ -124,14 +146,18 @@ libexec/MailScanner/trend-wrapper.sample %%DATADIR%%/reports/dk/inline.warning.html.sample %%DATADIR%%/reports/dk/inline.warning.txt.sample %%DATADIR%%/reports/dk/languages.conf.sample +%%DATADIR%%/reports/dk/sender.content.report.txt.sample %%DATADIR%%/reports/dk/sender.error.report.txt.sample %%DATADIR%%/reports/dk/sender.filename.report.txt.sample +%%DATADIR%%/reports/dk/sender.mcp.report.txt.sample %%DATADIR%%/reports/dk/sender.spam.rbl.report.txt.sample %%DATADIR%%/reports/dk/sender.spam.report.txt.sample %%DATADIR%%/reports/dk/sender.spam.sa.report.txt.sample %%DATADIR%%/reports/dk/sender.virus.report.txt.sample +%%DATADIR%%/reports/dk/stored.content.message.txt.sample %%DATADIR%%/reports/dk/stored.filename.message.txt.sample %%DATADIR%%/reports/dk/stored.virus.message.txt.sample +%%DATADIR%%/reports/en/deleted.content.message.txt.sample %%DATADIR%%/reports/en/deleted.filename.message.txt.sample %%DATADIR%%/reports/en/deleted.virus.message.txt.sample %%DATADIR%%/reports/en/disinfected.report.txt.sample @@ -141,14 +167,18 @@ libexec/MailScanner/trend-wrapper.sample %%DATADIR%%/reports/en/inline.warning.html.sample %%DATADIR%%/reports/en/inline.warning.txt.sample %%DATADIR%%/reports/en/languages.conf.sample +%%DATADIR%%/reports/en/sender.content.report.txt.sample %%DATADIR%%/reports/en/sender.error.report.txt.sample %%DATADIR%%/reports/en/sender.filename.report.txt.sample +%%DATADIR%%/reports/en/sender.mcp.report.txt.sample %%DATADIR%%/reports/en/sender.spam.rbl.report.txt.sample %%DATADIR%%/reports/en/sender.spam.report.txt.sample %%DATADIR%%/reports/en/sender.spam.sa.report.txt.sample %%DATADIR%%/reports/en/sender.virus.report.txt.sample +%%DATADIR%%/reports/en/stored.content.message.txt.sample %%DATADIR%%/reports/en/stored.filename.message.txt.sample %%DATADIR%%/reports/en/stored.virus.message.txt.sample +%%DATADIR%%/reports/es/deleted.content.message.txt.sample %%DATADIR%%/reports/es/deleted.filename.message.txt.sample %%DATADIR%%/reports/es/deleted.virus.message.txt.sample %%DATADIR%%/reports/es/disinfected.report.txt.sample @@ -158,14 +188,18 @@ libexec/MailScanner/trend-wrapper.sample %%DATADIR%%/reports/es/inline.warning.html.sample %%DATADIR%%/reports/es/inline.warning.txt.sample %%DATADIR%%/reports/es/languages.conf.sample +%%DATADIR%%/reports/es/sender.content.report.txt.sample %%DATADIR%%/reports/es/sender.error.report.txt.sample %%DATADIR%%/reports/es/sender.filename.report.txt.sample +%%DATADIR%%/reports/es/sender.mcp.report.txt.sample %%DATADIR%%/reports/es/sender.spam.rbl.report.txt.sample %%DATADIR%%/reports/es/sender.spam.report.txt.sample %%DATADIR%%/reports/es/sender.spam.sa.report.txt.sample %%DATADIR%%/reports/es/sender.virus.report.txt.sample +%%DATADIR%%/reports/es/stored.content.message.txt.sample %%DATADIR%%/reports/es/stored.filename.message.txt.sample %%DATADIR%%/reports/es/stored.virus.message.txt.sample +%%DATADIR%%/reports/fr/deleted.content.message.txt.sample %%DATADIR%%/reports/fr/deleted.filename.message.txt.sample %%DATADIR%%/reports/fr/deleted.virus.message.txt.sample %%DATADIR%%/reports/fr/disinfected.report.txt.sample @@ -175,14 +209,18 @@ libexec/MailScanner/trend-wrapper.sample %%DATADIR%%/reports/fr/inline.warning.html.sample %%DATADIR%%/reports/fr/inline.warning.txt.sample %%DATADIR%%/reports/fr/languages.conf.sample +%%DATADIR%%/reports/fr/sender.content.report.txt.sample %%DATADIR%%/reports/fr/sender.error.report.txt.sample %%DATADIR%%/reports/fr/sender.filename.report.txt.sample +%%DATADIR%%/reports/fr/sender.mcp.report.txt.sample %%DATADIR%%/reports/fr/sender.spam.rbl.report.txt.sample %%DATADIR%%/reports/fr/sender.spam.report.txt.sample %%DATADIR%%/reports/fr/sender.spam.sa.report.txt.sample %%DATADIR%%/reports/fr/sender.virus.report.txt.sample +%%DATADIR%%/reports/fr/stored.content.message.txt.sample %%DATADIR%%/reports/fr/stored.filename.message.txt.sample %%DATADIR%%/reports/fr/stored.virus.message.txt.sample +%%DATADIR%%/reports/hu/deleted.content.message.txt.sample %%DATADIR%%/reports/hu/deleted.filename.message.txt.sample %%DATADIR%%/reports/hu/deleted.virus.message.txt.sample %%DATADIR%%/reports/hu/disinfected.report.txt.sample @@ -192,14 +230,18 @@ libexec/MailScanner/trend-wrapper.sample %%DATADIR%%/reports/hu/inline.warning.html.sample %%DATADIR%%/reports/hu/inline.warning.txt.sample %%DATADIR%%/reports/hu/languages.conf.sample +%%DATADIR%%/reports/hu/sender.content.report.txt.sample %%DATADIR%%/reports/hu/sender.error.report.txt.sample %%DATADIR%%/reports/hu/sender.filename.report.txt.sample +%%DATADIR%%/reports/hu/sender.mcp.report.txt.sample %%DATADIR%%/reports/hu/sender.spam.rbl.report.txt.sample %%DATADIR%%/reports/hu/sender.spam.report.txt.sample %%DATADIR%%/reports/hu/sender.spam.sa.report.txt.sample %%DATADIR%%/reports/hu/sender.virus.report.txt.sample +%%DATADIR%%/reports/hu/stored.content.message.txt.sample %%DATADIR%%/reports/hu/stored.filename.message.txt.sample %%DATADIR%%/reports/hu/stored.virus.message.txt.sample +%%DATADIR%%/reports/it/deleted.content.message.txt.sample %%DATADIR%%/reports/it/deleted.filename.message.txt.sample %%DATADIR%%/reports/it/deleted.virus.message.txt.sample %%DATADIR%%/reports/it/disinfected.report.txt.sample @@ -209,14 +251,18 @@ libexec/MailScanner/trend-wrapper.sample %%DATADIR%%/reports/it/inline.warning.html.sample %%DATADIR%%/reports/it/inline.warning.txt.sample %%DATADIR%%/reports/it/languages.conf.sample +%%DATADIR%%/reports/it/sender.content.report.txt.sample %%DATADIR%%/reports/it/sender.error.report.txt.sample %%DATADIR%%/reports/it/sender.filename.report.txt.sample +%%DATADIR%%/reports/it/sender.mcp.report.txt.sample %%DATADIR%%/reports/it/sender.spam.rbl.report.txt.sample %%DATADIR%%/reports/it/sender.spam.report.txt.sample %%DATADIR%%/reports/it/sender.spam.sa.report.txt.sample %%DATADIR%%/reports/it/sender.virus.report.txt.sample +%%DATADIR%%/reports/it/stored.content.message.txt.sample %%DATADIR%%/reports/it/stored.filename.message.txt.sample %%DATADIR%%/reports/it/stored.virus.message.txt.sample +%%DATADIR%%/reports/nl/deleted.content.message.txt.sample %%DATADIR%%/reports/nl/deleted.filename.message.txt.sample %%DATADIR%%/reports/nl/deleted.virus.message.txt.sample %%DATADIR%%/reports/nl/disinfected.report.txt.sample @@ -226,14 +272,18 @@ libexec/MailScanner/trend-wrapper.sample %%DATADIR%%/reports/nl/inline.warning.html.sample %%DATADIR%%/reports/nl/inline.warning.txt.sample %%DATADIR%%/reports/nl/languages.conf.sample +%%DATADIR%%/reports/nl/sender.content.report.txt.sample %%DATADIR%%/reports/nl/sender.error.report.txt.sample %%DATADIR%%/reports/nl/sender.filename.report.txt.sample +%%DATADIR%%/reports/nl/sender.mcp.report.txt.sample %%DATADIR%%/reports/nl/sender.spam.rbl.report.txt.sample %%DATADIR%%/reports/nl/sender.spam.report.txt.sample %%DATADIR%%/reports/nl/sender.spam.sa.report.txt.sample %%DATADIR%%/reports/nl/sender.virus.report.txt.sample +%%DATADIR%%/reports/nl/stored.content.message.txt.sample %%DATADIR%%/reports/nl/stored.filename.message.txt.sample %%DATADIR%%/reports/nl/stored.virus.message.txt.sample +%%DATADIR%%/reports/pt_br/deleted.content.message.txt.sample %%DATADIR%%/reports/pt_br/deleted.filename.message.txt.sample %%DATADIR%%/reports/pt_br/deleted.virus.message.txt.sample %%DATADIR%%/reports/pt_br/disinfected.report.txt.sample @@ -243,14 +293,18 @@ libexec/MailScanner/trend-wrapper.sample %%DATADIR%%/reports/pt_br/inline.warning.html.sample %%DATADIR%%/reports/pt_br/inline.warning.txt.sample %%DATADIR%%/reports/pt_br/languages.conf.sample +%%DATADIR%%/reports/pt_br/sender.content.report.txt.sample %%DATADIR%%/reports/pt_br/sender.error.report.txt.sample %%DATADIR%%/reports/pt_br/sender.filename.report.txt.sample +%%DATADIR%%/reports/pt_br/sender.mcp.report.txt.sample %%DATADIR%%/reports/pt_br/sender.spam.rbl.report.txt.sample %%DATADIR%%/reports/pt_br/sender.spam.report.txt.sample %%DATADIR%%/reports/pt_br/sender.spam.sa.report.txt.sample %%DATADIR%%/reports/pt_br/sender.virus.report.txt.sample +%%DATADIR%%/reports/pt_br/stored.content.message.txt.sample %%DATADIR%%/reports/pt_br/stored.filename.message.txt.sample %%DATADIR%%/reports/pt_br/stored.virus.message.txt.sample +%%DATADIR%%/reports/ro/deleted.content.message.txt.sample %%DATADIR%%/reports/ro/deleted.filename.message.txt.sample %%DATADIR%%/reports/ro/deleted.virus.message.txt.sample %%DATADIR%%/reports/ro/disinfected.report.txt.sample @@ -260,15 +314,19 @@ libexec/MailScanner/trend-wrapper.sample %%DATADIR%%/reports/ro/inline.warning.html.sample %%DATADIR%%/reports/ro/inline.warning.txt.sample %%DATADIR%%/reports/ro/languages.conf.sample +%%DATADIR%%/reports/ro/sender.content.report.txt.sample %%DATADIR%%/reports/ro/sender.error.report.txt.sample %%DATADIR%%/reports/ro/sender.filename.report.txt.sample +%%DATADIR%%/reports/ro/sender.mcp.report.txt.sample %%DATADIR%%/reports/ro/sender.spam.rbl.report.txt.sample %%DATADIR%%/reports/ro/sender.spam.report.txt.sample %%DATADIR%%/reports/ro/sender.spam.sa.report.txt.sample %%DATADIR%%/reports/ro/sender.virus.report.txt.sample +%%DATADIR%%/reports/ro/stored.content.message.txt.sample %%DATADIR%%/reports/ro/stored.filename.message.txt.sample %%DATADIR%%/reports/ro/stored.virus.message.txt.sample %%DATADIR%%/reports/se/README.sample +%%DATADIR%%/reports/se/deleted.content.message.txt.sample %%DATADIR%%/reports/se/deleted.filename.message.txt.sample %%DATADIR%%/reports/se/deleted.virus.message.txt.sample %%DATADIR%%/reports/se/disinfected.report.txt.sample @@ -278,14 +336,18 @@ libexec/MailScanner/trend-wrapper.sample %%DATADIR%%/reports/se/inline.warning.html.sample %%DATADIR%%/reports/se/inline.warning.txt.sample %%DATADIR%%/reports/se/languages.conf.sample +%%DATADIR%%/reports/se/sender.content.report.txt.sample %%DATADIR%%/reports/se/sender.error.report.txt.sample %%DATADIR%%/reports/se/sender.filename.report.txt.sample +%%DATADIR%%/reports/se/sender.mcp.report.txt.sample %%DATADIR%%/reports/se/sender.spam.rbl.report.txt.sample %%DATADIR%%/reports/se/sender.spam.report.txt.sample %%DATADIR%%/reports/se/sender.spam.sa.report.txt.sample %%DATADIR%%/reports/se/sender.virus.report.txt.sample +%%DATADIR%%/reports/se/stored.content.message.txt.sample %%DATADIR%%/reports/se/stored.filename.message.txt.sample %%DATADIR%%/reports/se/stored.virus.message.txt.sample +%%DATADIR%%/reports/sk/deleted.content.message.txt.sample %%DATADIR%%/reports/sk/deleted.filename.message.txt.sample %%DATADIR%%/reports/sk/deleted.virus.message.txt.sample %%DATADIR%%/reports/sk/disinfected.report.txt.sample @@ -295,12 +357,15 @@ libexec/MailScanner/trend-wrapper.sample %%DATADIR%%/reports/sk/inline.warning.html.sample %%DATADIR%%/reports/sk/inline.warning.txt.sample %%DATADIR%%/reports/sk/languages.conf.sample +%%DATADIR%%/reports/sk/sender.content.report.txt.sample %%DATADIR%%/reports/sk/sender.error.report.txt.sample %%DATADIR%%/reports/sk/sender.filename.report.txt.sample +%%DATADIR%%/reports/sk/sender.mcp.report.txt.sample %%DATADIR%%/reports/sk/sender.spam.rbl.report.txt.sample %%DATADIR%%/reports/sk/sender.spam.report.txt.sample %%DATADIR%%/reports/sk/sender.spam.sa.report.txt.sample %%DATADIR%%/reports/sk/sender.virus.report.txt.sample +%%DATADIR%%/reports/sk/stored.content.message.txt.sample %%DATADIR%%/reports/sk/stored.filename.message.txt.sample %%DATADIR%%/reports/sk/stored.virus.message.txt.sample %%DOCSDIR%%/COPYING @@ -339,6 +404,11 @@ libexec/MailScanner/trend-wrapper.sample %%DOCSDIR%%/install/linux.shtml %%DOCSDIR%%/install/mailscanner.shtml %%DOCSDIR%%/install/mcafee.shtml +%%DOCSDIR%%/install/mcp/Conf.pm.patch.2.55 +%%DOCSDIR%%/install/mcp/Conf.pm.patch.2.60 +%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.2.55 +%%DOCSDIR%%/install/mcp/PerMsgStatus.pm.patch.2.60 +%%DOCSDIR%%/install/mcp/index.html %%DOCSDIR%%/install/mime-tools-patch.txt %%DOCSDIR%%/install/mime-tools-patch2.txt %%DOCSDIR%%/install/mime-tools-patch3.txt @@ -353,6 +423,7 @@ libexec/MailScanner/trend-wrapper.sample %%DOCSDIR%%/install/tnef.shtml %%DOCSDIR%%/install/zmailer.shtml %%DOCSDIR%%/introduction.shtml +%%DOCSDIR%%/jobs %%DOCSDIR%%/mailscanner_trans.gif %%DOCSDIR%%/man/MailScanner.8 %%DOCSDIR%%/man/MailScanner.8.html @@ -367,15 +438,18 @@ libexec/MailScanner/trend-wrapper.sample %%DOCSDIR%%/poetry.shtml %%DOCSDIR%%/poweredby.google.gif %%DOCSDIR%%/poweredby.transtec.gif +%%DOCSDIR%%/presentations.html %%DOCSDIR%%/press.html %%DOCSDIR%%/readme.shtml %%DOCSDIR%%/reject.html +%%DOCSDIR%%/sobig.html %%DOCSDIR%%/support.html %%DOCSDIR%%/transtec.logo.gif %%DOCSDIR%%/users.shtml @dirrm share/nls/en_US.US-ASCII @dirrm share/nls/POSIX @dirrm %%DOCSDIR%%/man +@dirrm %%DOCSDIR%%/install/mcp @dirrm %%DOCSDIR%%/install @dirrm %%DOCSDIR%%/images @dirrm %%DOCSDIR%% -- cgit v1.2.3
-

MailScanner(1)

-