summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-06-19 14:36:22 +0000
committerrh <rh@pkgsrc.org>2000-06-19 14:36:22 +0000
commit55f81c4a3e83bd35a54c2f2801f4d9e07d70fd61 (patch)
tree9039600491688cbef243b2dea3712c999746a1c1 /security
parent94ee738d1ae3b318694babd4f7269910272fc626 (diff)
downloadpkgsrc-55f81c4a3e83bd35a54c2f2801f4d9e07d70fd61.tar.gz
Fix handling of 'from' and 'to' addresses for contaminated emails
Add MESSAGE file to inform about necessary changes to sendmail.cf
Diffstat (limited to 'security')
-rw-r--r--security/amavis/Makefile6
-rw-r--r--security/amavis/files/patch-sum3
-rw-r--r--security/amavis/pkg/MESSAGE19
3 files changed, 26 insertions, 2 deletions
diff --git a/security/amavis/Makefile b/security/amavis/Makefile
index da6a12c1f8b..f5624a8073f 100644
--- a/security/amavis/Makefile
+++ b/security/amavis/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/06/05 14:37:58 rh Exp $
+# $NetBSD: Makefile,v 1.2 2000/06/19 14:36:22 rh Exp $
#
DISTNAME= amavis-0.2.0-pre6
@@ -27,9 +27,13 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--with-virusdir=${VIRUSDIR}
CONFIGURE_ARGS+=--with-mailto=${VIRUSMAILTO}
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/zipsecure/zipsecure ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/securetar/securetar ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/src/scanmails/scanmails ${PREFIX}/sbin
+ ${SED} -e 's#@PREFIX@#${PREFIX}#g' < ${PKGDIR}/MESSAGE \
+ >${WRKDIR}/MESSAGE
.include "../../mk/bsd.pkg.mk"
diff --git a/security/amavis/files/patch-sum b/security/amavis/files/patch-sum
index d5854f39f2e..ae7e789308b 100644
--- a/security/amavis/files/patch-sum
+++ b/security/amavis/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.1.1.1 2000/06/05 14:37:58 rh Exp $
+$NetBSD: patch-sum,v 1.2 2000/06/19 14:36:22 rh Exp $
MD5 (patch-aa) = 0aec1efe32468e1593bba6ec9d9a4275
+MD5 (patch-ab) = fdbcfc863f389e3f99d659dc474b3683
diff --git a/security/amavis/pkg/MESSAGE b/security/amavis/pkg/MESSAGE
new file mode 100644
index 00000000000..e4fb94de94f
--- /dev/null
+++ b/security/amavis/pkg/MESSAGE
@@ -0,0 +1,19 @@
+$NetBSD: MESSAGE,v 1.1 2000/06/19 14:36:22 rh Exp $
+
+==========================================================================
+ AMaViS has now been installed on your system. In order to integrate
+ the virus scanner with sendmail, change
+
+
+Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qrmn9, S=10/30, R=20/40,
+ T=DNS/RFC822/X-Unix,
+ A=mail -d $u
+
+
+ in your "sendmail.cf" to
+
+
+Mlocal, P=@PREFIX@/sbin/scanmails, F=lsDFMAw5:/|@qrmn9, S=10/30, R=20/40,
+ T=DNS/RFC822/X-Unix,
+ A=scanmails -f $f -d $u
+==========================================================================