diff --git a/Changes b/Changes index 9c19bb2..ce52275 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,8 @@ +2002/09/22 + Make klez filter run for mails bigger than 220KB; they are sometimes + bigger than that. + + 2002/09/20 Avoid "use of uninitialized variable" warning when the "MAIL" or the "RCPT" command is executed without a parameter. diff --git a/plugins/klez_filter b/plugins/klez_filter index d3ad2be..c169807 100644 --- a/plugins/klez_filter +++ b/plugins/klez_filter @@ -6,10 +6,11 @@ sub register { sub check_klez { my ($self, $transaction) = @_; - # klez files are always around 140K + # klez files are always sorta big .. how big? Dunno. return (DECLINED) - if $transaction->body_size < 60_000 - or $transaction->body_size > 220_000; + if $transaction->body_size < 60_000; + # 220k was too little, so let's just disable the "big size check" + # or $transaction->body_size > 1_000_000; # maybe it would be worthwhile to add a check for # Content-Type: multipart/alternative; here?