HitFreqsRuleTiming.pm question

Benning, Markus ich at markusbenning.de
Thu May 7 14:05:52 CEST 2015

Am 2015-05-06 13:24, schrieb Ralf Hildebrandt:
> but I'm not getting any output (I even patche the plugin to use
> /tmp/timing.log) file. Why?

The output is written to the file in finish().
It seems like finish() is not called when the plugin is running under 
It is called when i run the plugin under the spamassassin command.

To get SA output try running amavis like this:

/usr/sbin/amavisd-new -- debug-sa 2>&1 | grep HitFreqsRuleTiming

I hacked the module to write the output after each mail (check_end 


It does by truncating the file after each checked mail.

I changed the namespace to 
You need to adjust the loadplugin line.

The output path changed to $HOME/timing-$PID.log

Markus Benning, https://markusbenning.de/

More information about the amavis-users mailing list