summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorrh <rh>2000-06-19 14:36:51 +0000
committerrh <rh>2000-06-19 14:36:51 +0000
commit4a0b3d41cabcb66caf5883b67d3b951b982db029 (patch)
treee120a6d8132b27b1113463b6ea77576583c54883 /security
parent8dc47044298f37deae5816e4eec421d4b9350490 (diff)
downloadpkgsrc-4a0b3d41cabcb66caf5883b67d3b951b982db029.tar.gz
Add patch I forgot in last commit.
Diffstat (limited to 'security')
-rw-r--r--security/amavis/patches/patch-ab27
1 files changed, 27 insertions, 0 deletions
diff --git a/security/amavis/patches/patch-ab b/security/amavis/patches/patch-ab
new file mode 100644
index 00000000000..4b45d110b16
--- /dev/null
+++ b/security/amavis/patches/patch-ab
@@ -0,0 +1,27 @@
+$NetBSD: patch-ab,v 1.1 2000/06/19 14:36:51 rh Exp $
+
+--- src/scanmails/scanmails.in.orig Tue Jul 20 19:28:52 1999
++++ src/scanmails/scanmails.in Mon Jun 19 15:54:23 2000
+@@ -187,7 +187,7 @@
+ fi
+ else
+ SENDER="$2"
+- RECEIPIENT="$7"
++ RECEIPIENT="$4"
+ fi
+
+
+@@ -242,11 +242,11 @@
+ receiver=`echo ${RECEIPIENT} | ${sed} -e "s/[\\\`\\\\\$\(\)]//g"`
+ sender=`echo ${SENDER} | ${sed} -e "s/[\\\`\\\\\$\(\)]//g"`
+
+-if [ "$sender" != "$2" -o "$receiver" != "$7" ] ; then
++if [ "$sender" != "$2" -o "$receiver" != "$4" ] ; then
+ cat <<EOF | ${mail} -s "AMaViS Intrusion???" ${mailto}
+
+ ############################################################
+- $7 or $2 is not a valid Email address
++ $4 or $2 is not a valid Email address
+ (changed to $receiver and $sender)!
+ ############################################################
+