From 0bb3fce39ce6c1f220de832e721f64c53449088c Mon Sep 17 00:00:00 2001 From: lace <> Date: Mon, 17 Jul 2006 15:55:31 +0000 Subject: [PATCH] =spam: Updates. =caperr: Avoid spamassassin(1). +=saintjk,=saintjk2 +=gccbug,=gccann,=gcc,=gccpat +=fedpkg +=qemud +=diamond +=soap +=nagiosd +=nagios +=grub +=gdb +=gdbpr +=gdbpat +=gdbann +=binutils +=binutilsbug --- PerlMail/Config.pm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/PerlMail/Config.pm b/PerlMail/Config.pm index 435a3f4..e48a813 100644 --- a/PerlMail/Config.pm +++ b/PerlMail/Config.pm @@ -290,6 +290,10 @@ sub audit store "=spam" if headeris "From",''; store "=spam" if headeris "From",''; store "=spam" if headeris "From",''; + store "=spam" if headeris "From",''; + store "=spam" if headeris "From",''; + store "=spam" if headeris "From",''; + store "=spam" if headeris "From",''; for my $header (qw(To Cc)) { store "=spam" if headerhas $header,''; store "=spam" if headerhas $header,''; @@ -307,6 +311,8 @@ sub audit # spam detection return if did sub { + # It is too expensive to scan the huge =caperr announcements by spamassassin(1). + return if headeris("From",qr/^captive-[a-z]*@/); # Do not local $store_file as it is our-imported $store_profile="log"; local $_; @@ -441,6 +447,9 @@ sub audit store "=saintmj","log" if headeris "From" ,''; store "=saintmj","log" if headeris "From" ,''; store "=saintmj","log" if headeris "From" ,''; + store "=saintjk","log" if headeris "From" ,''; + store "=saintjk2","log" if headeris("From" ,'') + && headeris("To" ,''); store "=4cerr","bell" if headeris "From" ,''; store "=4c","sms" if headeris "List-Post",'<4cinfo@atrey.karlin.mff.cuni.cz>'; store "=slashdot","bell" if headeris "From" ,''; @@ -454,6 +463,10 @@ sub audit store "=autoconf","log" if headeris "List-Id" ,''; store "=autoconfpat","log" if headeris "List-Id" ,''; store "=hurd","log" if headeris "List-Id" ,''; + store "=gccbug","silent" if headeris "List-Post",''; + store "=gccann","log" if headeris "List-Post",''; + store "=gcc","silent" if headeris "List-Post",''; + store "=gccpat","silent" if headeris "List-Post",''; my %mailman=( ''=>"=caperr", ''=>"=caperr", @@ -484,6 +497,7 @@ sub audit store "=i4l","silent" if headeris "List-Id" ,''; store "=glibc","silent" if headeris "List-Post",''; store "=fedann","bell" if headeris "List-Id" ,''; + store "=fedpkg","bell" if headeris "List-Id" ,''; store "=fedtools","log" if headeris "List-Id" ,''; store "=bashbug","log" if headeris "List-Id" ,''; store "=zaurus","silent" if headeris "List-Id" ,''; @@ -507,6 +521,18 @@ sub audit store "=white","log" if headeris "List-Id" ,''; store "=centos","log" if headeris "List-Id" ,''; store "=modperldoc","log" if headeris "List-Id" ,''; + store "=qemud","log" if headeris "List-Id" ,''; + store "=diamond","log" if headeris "X-Replicator-Inst",'"www.diamondcard.us"'; + store "=soap","log" if headeris "Sender" ,''; + store "=nagiosd","log" if headeris "List-Id" ,''; + store "=nagios","log" if headeris "List-Id" ,''; + store "=grub","log" if headeris "List-Id" ,''; + store "=gdb","log" if headeris "Mailing-List",'contact gdb-help@sourceware.org; run by ezmlm'; + store "=gdbpr","log" if headeris "Mailing-List",'contact gdb-prs-help@sourceware.org; run by ezmlm'; + store "=gdbpat","log" if headeris "Mailing-List",'contact gdb-patches-help@sourceware.org; run by ezmlm'; + store "=gdbann","log" if headeris "Mailing-List",'contact gdb-announce-help@sourceware.org; run by ezmlm'; + store "=binutils","log" if headeris "Mailing-List",'contact binutils-help@sourceware.org; run by ezmlm'; + store "=binutilsbug","log" if headeris "List-Id" ,''; # Petr Koutecky does not mark his Stuff store "=koutecky","log" if headeris "Return-Path",''; -- 1.8.3.1