Tony, this would probably be more consistent with other calls if it
was something like test_log("virus: $virus").

--j.

On Fri, Jul 3, 2009 at 11:35, Apache Wiki<[email protected]> wrote:
> Dear Wiki user,
>
> You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" 
> for change notification.
>
> The following page has been changed by TonyFinch:
> http://wiki.apache.org/spamassassin/ClamAVPlugin
>
> The comment on the change is:
> Add the ClamAV virus name to SpamAssassin's report
>
> ------------------------------------------------------------------------------
>      Mail::SpamAssassin::Plugin::dbg("ClamAV: Detected virus: $virus");
>      $header = "Yes ($virus)";
>      $isspam = 1;
> +     # include the virus name in SpamAssassin's report
> +     $permsgstatus->test_log($virus);
>    } else {
>      Mail::SpamAssassin::Plugin::dbg("ClamAV: Error, unknown return code: 
> $code");
>      $header = "Error (Unknown return code from ClamAV: $code)";
>
>

Reply via email to