From: short <> Date: Thu, 20 Oct 2005 02:51:13 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.jankratochvil.net/?p=PerlMail.git;a=commitdiff_plain;h=1ae93f0848fc9f0876745b810209e6bd0883246d *** empty log message *** --- diff --git a/PerlMail/Config.pm b/PerlMail/Config.pm index 2c6c559..8be89b1 100644 --- a/PerlMail/Config.pm +++ b/PerlMail/Config.pm @@ -290,6 +290,12 @@ sub audit 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,''; + store "=spam" if headerhas $header,''; + store "=spam" if headerhas $header,''; + } { # weak detection: files with text/html w/o text/plain are usually a spam my @types_linear=map({ mime_type($_); } parts_linear()); @@ -331,6 +337,7 @@ sub audit www.rp-online.de www.spiegel.de www.taz.de + www.unserforum.com www.zdf.de )); my $found; @@ -383,7 +390,7 @@ sub audit ); - store "=gsm" if headeris "Sender" ,''; + store "=gsm" if headeris "X-BeenThere",''; store "=gsmpand" if headeris "List-Post",''; store "=9kc","log" if headeris "List-Post",''; store "=9kcd","log" if headeris "List-Post",''; @@ -431,7 +438,8 @@ sub audit store "=linux-input","log" if headeris "List-Post",''; store "=strom","bell" if headeris "List-Post",''; store "=netinfo","log" if headeris "Sender" ,''; - store "=saintmj","log" if headeris "From" ,''; + store "=saintmj","log" if headeris "From" ,''; + store "=saintmj","log" if headeris "From" ,''; store "=saintmj","log" if headeris "From" ,''; store "=4cerr","bell" if headeris "From" ,''; store "=4c","sms" if headeris "List-Post",'<4cinfo@atrey.karlin.mff.cuni.cz>'; @@ -469,7 +477,8 @@ sub audit store "=ntfsann","silent" if headeris "List-Id" ,''; store "=ntfsd","silent" if headeris "List-Id" ,''; store "=orbit","silent" if headeris "List-Id" ,''; - store "=kand","log" if headeris "List-Id" ,''; + store "=kannel","log" if headeris "List-Id" ,''; + store "=kanneld","log" if headeris "List-Id" ,''; store "=mailmand","silent" if headeris "List-Id" ,''; store "=asterisk-perl","log" if headeris "List-Post",''; store "=i4l","silent" if headeris "List-Id" ,''; @@ -492,14 +501,21 @@ sub audit store "=mms2log","log" if headeris "Return-Path",''; store "=hotelgatelog","log" if headeris "Return-Path",''; store "=imja","log" if headeris "List-Id" ,''; + store "=wince","log" if headeris "List-Post",''; + store "=mysqlperl","log" if headeris "List-Id" ,''; + store "=whiteann","log" if headeris "List-Id" ,''; + store "=white","log" if headeris "List-Id" ,''; + store "=centos","log" if headeris "List-Id" ,''; + store "=modperldoc","log" if headeris "List-Id" ,''; # Petr Koutecky does not mark his Stuff store "=koutecky","log" if headeris "Return-Path",''; store "=koutecky","log" if headeris "Return-Path",''; store "=koutecky","log" if headeris "Return-Path",''; + store "=koutecky","log" if headeris "Return-Path",''; if (($isFROM_MAILER && !did) || !did) { - lmtp_deliver $lmtp_admin,$lmtp_pwd,$lmtp_user_from,$lmtp_user_to; +# lmtp_deliver $lmtp_admin,$lmtp_pwd,$lmtp_user_from,$lmtp_user_to; } store "=errm","bell" if $isFROM_MAILER && !did();