diff options
author | rh <rh@pkgsrc.org> | 2000-06-19 14:36:51 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2000-06-19 14:36:51 +0000 |
commit | e0ea8bd0a222f2572a7091485ee3efe46f02cf69 (patch) | |
tree | e120a6d8132b27b1113463b6ea77576583c54883 /security/amavis/patches | |
parent | 55f81c4a3e83bd35a54c2f2801f4d9e07d70fd61 (diff) | |
download | pkgsrc-e0ea8bd0a222f2572a7091485ee3efe46f02cf69.tar.gz |
Add patch I forgot in last commit.
Diffstat (limited to 'security/amavis/patches')
-rw-r--r-- | security/amavis/patches/patch-ab | 27 |
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)! + ############################################################ + |