--- amavisd.original3 2005-12-29 11:45:44.000000000 -0500 +++ amavisd 2005-12-29 11:47:30.000000000 -0500 @@ -12737,11 +12737,12 @@ ($any_w+$any_b, $all); } -# - returns true if spam detected, -# - returns 0 if no spam found, -# - throws exception (die) in case of errors, -# or just returns undef if it did not complete its jobs -# +# returns an array of values: ($spam_level, $spam_status, $spam_report, $autolearn_status) +# $spam_status is +# - true if spam detected, +# - 0 if no spam found, +# throws exception (die) in case of errors, +# or just returns undef if it did not complete its jobs sub spam_scan($$) { my($conn,$msginfo) = @_; my($spam_level,$spam_status,$spam_report,$autolearn_status); my(@lines);