Giuseppe Ghibò wrote:
> Hi Mark, while I was trying to figure out and measure the performance
> of a amavisd+postfix+spamassassin system, to see whether the
> TimeElapsedSpamCheck was reliable, I was coming out with this patch
> (see attach) to know which plugin is effectively loaded by amavisd. In
>   

Sorry the missed patch is here:

Bye
Giuseppe.

--- amavisd.orig        2009-04-04 16:30:19.000000000 +0200
+++ amavisd     2009-04-05 19:51:59.000000000 +0200
@@ -21058,6 +21058,7 @@
   $spamassassin_obj->compile_now;  # try to preloaded most modules
   if ($spamassassin_obj->UNIVERSAL::can("get_loaded_plugins_list")) {
     my(@plugins) = $spamassassin_obj->get_loaded_plugins_list;
+     do_log(0, "--- Spamassassin Amavisd loaded plugins: %s", 
join(',',@plugins));
 #   printf STDERR ("%s\n", join(", ",@plugins));
 #     not in use: AccessDB AntiVirus TextCat; ASN BodyRuleBaseExtractor
 #                 OneLineBodyRuleType Rule2XSBody Shortcircuit
------------------------------------------------------------------------------
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to