Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: devel

Re: [Spamassassin Wiki] Update of "ClamAVPlugin" by TonyFinch

 

 

SpamAssassin devel RSS feed   Index | Next | Previous | View Threaded


jm at jmason

Jul 3, 2009, 4:36 AM

Post #1 of 2 (189 views)
Permalink
Re: [Spamassassin Wiki] Update of "ClamAVPlugin" by TonyFinch

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<wikidiffs[at]apache.org> 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)";
>
>


dot at dotat

Jul 12, 2009, 10:21 AM

Post #2 of 2 (140 views)
Permalink
Re: [Spamassassin Wiki] Update of "ClamAVPlugin" by TonyFinch [In reply to]

On Fri, 3 Jul 2009, Justin Mason wrote:

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

I thought it would be clear enough since the test that invoked ClamAV has
a description like "ClamAV found something..." and not everything that
ClamAV detects is malware (especially when 3rd party rules are being
used).

(sorry for the delay in replying - filtering snafu)

Tony.
--
f.anthony.n.finch <dot[at]dotat.at> http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.

SpamAssassin devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.