diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/Makefile /server-root/ports/mail/mailscanner/Makefile --- /server-root/ports/mail/mailscanner.orig/Makefile Wed Dec 22 12:42:09 2004 +++ /server-root/ports/mail/mailscanner/Makefile Mon Jan 17 16:42:47 2005 @@ -6,8 +6,7 @@ # PORTNAME= MailScanner -PORTVERSION= 4.36.4 -PORTREVISION= 1 +PORTVERSION= 4.37.7 CATEGORIES= mail MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/ DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL} @@ -210,6 +209,8 @@ ${ECHO} "Changes in MailScanner.conf found. Please look at \ ${PREFIX}/etc/MailScanner/MailScanner.conf.new.${PORTVERSION}" ; \ fi +.endif + # Languages.conf update @for LANG_DIR in ${DATADIR}/reports/*; do \ if [ -f $${LANG_DIR}/languages.conf ]; then \ ${ECHO} -n Upgrading $${LANG_DIR}/languages.conf... Please wait...; \ @@ -220,14 +221,13 @@ 2> /dev/null ; \ if diff -b -B -q $${LANG_DIR}/languages.conf \ $${LANG_DIR}/languages.conf.new.${PORTVERSION} ; \ - then ${ECHO} " no changes"; \ + then ${ECHO} " no changes"; \ ${RM} $${LANG_DIR}/languages.conf.new.${PORTVERSION} ; \ - else ${ECHO} " done"; \ + else ${ECHO} " done"; \ ${CP} $${LANG_DIR}/languages.conf.new.${PORTVERSION} $${LANG_DIR}/languages.conf ; \ fi; \ fi; \ done -.endif @${SED} -e 's,%%PREFIX%%,${PREFIX},' pkg-message > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} @@ -249,5 +249,12 @@ ${PREFIX}/etc/MailScanner ${INSTALL_DATA} ${WRKSRC}/etc/rules/spam.whitelist.rules \ ${PREFIX}/etc/MailScanner/rules/spam.whitelist.rules + @${ECHO} "******************************************************************************" + @${ECHO} "The provided default configuration requires several directories to be created:" + @${ECHO} "/var/spool/MailScanner/incoming" + @${ECHO} "/var/spool/MailScanner/quarantine" + @${ECHO} "/var/spool/mqueue" + @${ECHO} "Either create those directories or change the configuration." + @${ECHO} "******************************************************************************" .include diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/distinfo /server-root/ports/mail/mailscanner/distinfo --- /server-root/ports/mail/mailscanner.orig/distinfo Fri Dec 17 08:32:44 2004 +++ /server-root/ports/mail/mailscanner/distinfo Mon Jan 17 12:57:33 2005 @@ -1,2 +1,2 @@ -MD5 (MailScanner-install-4.36.4-1.tar.gz) = 322f1b5d8f7e5f0f0bbf53046f1d2a20 -SIZE (MailScanner-install-4.36.4-1.tar.gz) = 5622620 +MD5 (MailScanner-install-4.37.7-1.tar.gz) = 07a12541361ec9a38e58e090dc6fb184 +SIZE (MailScanner-install-4.37.7-1.tar.gz) = 5616070 diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.8 /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.8 --- /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.8 Fri Dec 17 08:32:45 2004 +++ /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.8 Mon Jan 17 13:01:07 2005 @@ -1,8 +1,8 @@ ---- ../MailScanner-install-4.36.4.orig/docs/man/MailScanner.8 Wed Dec 15 20:31:43 2004 -+++ docs/man/MailScanner.8 Wed Dec 15 20:32:20 2004 +--- ../MailScanner-install-4.37.7.orig/docs/man/MailScanner.8 Mon Jan 17 12:58:50 2005 ++++ docs/man/MailScanner.8 Mon Jan 17 13:00:43 2005 @@ -1,4 +1,4 @@ -.TH "MailScanner" "8" "4.34.8" "Julian Field" "Mail" -+.TH "MailScanner" "8" "4.36.4" "Julian Field" "Mail" ++.TH "MailScanner" "8" "4.37.7" "Julian Field" "Mail" .SH "NAME" .LP MailScanner \- Virus/Spam Scanner for Sendmail, Exim and Postfix diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.8.html /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.8.html --- /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.8.html Fri Dec 17 08:32:45 2004 +++ /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.8.html Mon Jan 17 13:01:07 2005 @@ -1,9 +1,9 @@ ---- ../MailScanner-install-4.36.4.orig/docs/man/MailScanner.8.html Wed Dec 15 20:31:43 2004 -+++ docs/man/MailScanner.8.html Wed Dec 15 20:32:06 2004 +--- ../MailScanner-install-4.37.7.orig/docs/man/MailScanner.8.html Mon Jan 17 12:58:50 2005 ++++ docs/man/MailScanner.8.html Mon Jan 17 13:00:45 2005 @@ -1,5 +1,5 @@ - -+ ++ diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.conf.5 /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5 --- /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.conf.5 Fri Dec 17 08:32:45 2004 +++ /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5 Mon Jan 17 13:19:41 2005 @@ -1,8 +1,8 @@ ---- ../MailScanner-install-4.36.4.orig/docs/man/MailScanner.conf.5 Wed Dec 15 20:31:43 2004 -+++ docs/man/MailScanner.conf.5 Wed Dec 15 20:32:29 2004 +--- ../MailScanner-install-4.37.7.orig/docs/man/MailScanner.conf.5 Mon Jan 17 13:18:55 2005 ++++ docs/man/MailScanner.conf.5 Mon Jan 17 13:19:08 2005 @@ -1,4 +1,4 @@ -.TH "MailScanner.conf" "5" "4.34.8" "Julian Field" "Mail" -+.TH "MailScanner.conf" "5" "4.36.4" "Julian Field" "Mail" ++.TH "MailScanner.conf" "5" "4.37.7" "Julian Field" "Mail" .SH "NAME" .LP MailScanner.conf \- Main configuration for MailScanner @@ -15,7 +15,23 @@ .br .br -@@ -1266,12 +1266,11 @@ +@@ -781,6 +781,15 @@ + When an entire message is saved in the quarantine for any reason, do you want to save it as the raw data files out of the mail queue (which can be processed with the df2mbox script, and which is easier to send to its original recipients), or do you want a conventional message file consisting of the header followed by the body of the message. If the previous option is switched off, then this will only affect archived mail and quarantined spam. If the previous option is on, then this also affects quarantined infections. + + .TP ++\fBKeep Spam And MCP Archive Clean\fR ++Default: no ++.br ++ ++.br ++Do you want to stop any virus\-infected spam getting into the spam or MCP archives? If you have a system where users can release messages from the spam or MCP archives, then you probably want to stop them being able to release any infected messages, so set this to yes. It is set to no by default as it causes a small hit in performance, and many people don't allow users to access the spam quarantine, so don't need it. This can also be the filename of a ruleset. ++ ++ ++.TP + \fBLanguage Strings\fR + Default: %reports\-dir%/languages.conf + .br +@@ -1266,12 +1275,11 @@ .TP \fBAttachment Encoding Charset\fR @@ -30,7 +46,40 @@ .SH "Mail archiving and monitoring" .TP \fBArchive Mail\fR -@@ -1725,8 +1724,16 @@ +@@ -1595,22 +1603,24 @@ + .br + .RS 7 + .IP \(bu 4 +-"deliver" \- the message is delivered to the recipient as normal ++deliver \- the message is delivered to the recipient as normal + .IP \(bu 4 +-"delete" \- the message is deleted ++delete \- the message is deleted + .IP \(bu 4 +-"store" \- the message is stored in the quarantine ++store \- the message is stored in the quarantine + + .IP \(bu 4 +-"forward" \- an email address is supplied, to which the message is forwarded ++forward \- an email address is supplied, to which the message is forwarded + .IP \(bu 4 +-"notify" \- Send the recipients a short notification that spam addressed to them was not delivered. They can then take action to request retrieval of the orginal message if they think it was not spam. ++notify \- Send the recipients a short notification that spam addressed to them was not delivered. They can then take action to request retrieval of the orginal message if they think it was not spam. + .IP \(bu 4 +-"striphtml" \- convert all in\-line HTML content in the message to be stripped to plain text, which removes all images and scripts and so can be used to protect your users from offensive spam. Note that using this action on its own does not imply that the message will be delivered, you will need to specify "deliver" or "forward" to actually deliver the message. ++striphtml \- convert all in\-line HTML content in the message to be stripped to plain text, which removes all images and scripts and so can be used to protect your users from offensive spam. Note that using this action on its own does not imply that the message will be delivered, you will need to specify "deliver" or "forward" to actually deliver the message. + .IP \(bu 4 +-"attachment" \- Convert the original message into an attachment of the message. This means the user has to take an extra step to open the spam, and stops "web bugs" very effectively. ++attachment \- Convert the original message into an attachment of the message. This means the user has to take an extra step to open the spam, and stops "web bugs" very effectively. + .IP \(bu 4 +-"bounce" \- bounce the spam message. This option should not be used and must be enabled with the "Enable Spam Bounce" option first. ++bounce \- bounce the spam message. This option should not be used and must be enabled with the "Enable Spam Bounce" option first. ++.IP \(bu 4 ++header "name: value" \- Add the header "name: value" to the message. name must not contain any spaces. + .RE + + .TP +@@ -1725,8 +1735,16 @@ .br Log all the filenames that are allowed by the Filetype Rules, or just the filetypes that are denied? This can also be the filename of a ruleset. @@ -48,7 +97,7 @@ .TP \fBSpamAssassin User State Dir\fR -@@ -1734,7 +1741,7 @@ +@@ -1734,7 +1752,7 @@ .br .br diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.conf.5.html /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html --- /server-root/ports/mail/mailscanner.orig/files/patch-docs:man:MailScanner.conf.5.html Fri Dec 17 08:32:45 2004 +++ /server-root/ports/mail/mailscanner/files/patch-docs:man:MailScanner.conf.5.html Mon Jan 17 13:19:42 2005 @@ -1,13 +1,13 @@ ---- ../MailScanner-install-4.36.4.orig/docs/man/MailScanner.conf.5.html Wed Dec 15 20:31:43 2004 -+++ docs/man/MailScanner.conf.5.html Wed Dec 15 20:32:12 2004 +--- ../MailScanner-install-4.37.7.orig/docs/man/MailScanner.conf.5.html Mon Jan 17 13:18:55 2005 ++++ docs/man/MailScanner.conf.5.html Mon Jan 17 13:19:11 2005 @@ -1,5 +1,5 @@ - -+ ++ -@@ -397,4 +397,5740 @@ +@@ -397,4 +397,5780 @@ @@ -1953,6 +1953,33 @@ + + + ++

Keep Spam And MCP Archive Clean

++ ++ ++ ++ ++ ++ ++
++

Default: no

++ ++

Do you want to stop any virus−infected spam getting ++into the spam or MCP archives? If you have a system where ++users can release messages from the spam or MCP archives, ++then you probably want to stop them being able to release ++any infected messages, so set this to yes. It is set to no ++by default as it causes a small hit in performance, and many ++people don’t allow users to access the spam ++quarantine, so don’t need it. This can also be the ++filename of a ruleset.

++
++ ++ ++ ++ ++ +
+

Language Strings

+ @@ -4226,8 +4253,8 @@ + + + -+

"deliver" − the message is delivered to -+the recipient as normal

++

deliver − the message is delivered to the ++recipient as normal

+ + + @@ -4238,7 +4265,7 @@ + + + -+

"delete" − the message is deleted

++

delete − the message is deleted

+ + + @@ -4249,7 +4276,7 @@ + + + -+

"store" − the message is stored in the ++

store − the message is stored in the +quarantine

+ + @@ -4261,8 +4288,8 @@ + + + -+

"forward" − an email address is -+supplied, to which the message is forwarded

++

forward − an email address is supplied, to which ++the message is forwarded

+ + + @@ -4273,10 +4300,10 @@ + + + -+

"notify" − Send the recipients a short -+notification that spam addressed to them was not delivered. -+They can then take action to request retrieval of the -+orginal message if they think it was not spam.

++

notify − Send the recipients a short notification ++that spam addressed to them was not delivered. They can then ++take action to request retrieval of the orginal message if ++they think it was not spam.

+ + + @@ -4287,12 +4314,12 @@ + + + -+

"striphtml" − convert all in−line -+HTML content in the message to be stripped to plain text, -+which removes all images and scripts and so can be used to -+protect your users from offensive spam. Note that using this -+action on its own does not imply that the message will be -+delivered, you will need to specify "deliver" or ++

striphtml − convert all in−line HTML content ++in the message to be stripped to plain text, which removes ++all images and scripts and so can be used to protect your ++users from offensive spam. Note that using this action on ++its own does not imply that the message will be delivered, ++you will need to specify "deliver" or +"forward" to actually deliver the message.

+ + @@ -4304,10 +4331,23 @@ + + + -+

"attachment" − Convert the original -+message into an attachment of the message. This means the -+user has to take an extra step to open the spam, and stops -+"web bugs" very effectively.

++

attachment − Convert the original message into an ++attachment of the message. This means the user has to take ++an extra step to open the spam, and stops "web ++bugs" very effectively.

++ ++ ++ ++ ++ ++

++ ++ ++ ++ ++

bounce − bounce the spam message. This option ++should not be used and must be enabled with the "Enable ++Spam Bounce" option first.

+ + + @@ -4318,9 +4358,9 @@ + + + -+

"bounce" − bounce the spam message. This -+option should not be used and must be enabled with the -+"Enable Spam Bounce" option first.

++

header "name: value" − Add the header ++"name: value" to the message. name must not ++contain any spaces.

+ + + diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/pkg-plist /server-root/ports/mail/mailscanner/pkg-plist --- /server-root/ports/mail/mailscanner.orig/pkg-plist Fri Dec 17 08:32:45 2004 +++ /server-root/ports/mail/mailscanner/pkg-plist Mon Jan 17 13:03:31 2005 @@ -452,6 +452,7 @@ %%PORTDOCS%%%%DOCSDIR%%/Sophos.install.freebsd %%PORTDOCS%%%%DOCSDIR%%/book.cover.gif %%PORTDOCS%%%%DOCSDIR%%/building.txt +%%PORTDOCS%%%%DOCSDIR%%/docs.html %%PORTDOCS%%%%DOCSDIR%%/donations.shtml %%PORTDOCS%%%%DOCSDIR%%/downloadgraphs.shtml %%PORTDOCS%%%%DOCSDIR%%/downloads.shtml