From 0d294887d80e43d597f696ba7a81f975439cb1ed Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Thu, 11 Mar 2004 11:13:11 +0000 Subject: [PATCH] - compare in hash table real sender, not (possibly) faked Changed files: amavisd-new-real_sender.patch -> 1.1 --- amavisd-new-real_sender.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 amavisd-new-real_sender.patch diff --git a/amavisd-new-real_sender.patch b/amavisd-new-real_sender.patch new file mode 100644 index 0000000..3654e7b --- /dev/null +++ b/amavisd-new-real_sender.patch @@ -0,0 +1,11 @@ +--- ./amavisd.org Thu Mar 11 12:09:45 2004 ++++ ./amavisd Thu Mar 11 12:10:33 2004 +@@ -5928,7 +5928,7 @@ + # my($notify_virus_admin_only_if_sender_is_local) = 0; + + # try to find a per-sender administrator +- my($admin) = lookup($msginfo->sender, \%virus_admin,$virus_admin,$mailto); ++ my($admin) = lookup($msginfo->sender_source, \%virus_admin,$virus_admin,$mailto); + if ($admin eq '') { + do_log(4, "Skip virus_admin notification for <".$msginfo->sender. + ">, no admin specified"); -- 2.44.0