HitFreqsRuleTiming.pm question
Alex Regan
mysqlstudent at gmail.com
Wed May 13 18:56:25 CEST 2015
Hi,
On 05/07/2015 08:05 AM, Benning, Markus wrote:
> 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
> amavis.
> 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 hook):
>
> https://markusbenning.de/tmp/HitFreqsRuleTiming.pm
I'm trying to install this and receiving the following error:
May 13 12:52:56 mail01 amavis[23948]: _WARN: Warning: Use of "require"
without parentheses is ambiguous at (eval 304) line
1.
May 13 12:52:56 mail01 amavis[23948]: _WARN: plugin: failed to parse
plugin (from @INC): Regexp modifiers "/a" and "/l" are
mutually exclusive at (eval 304) line 1, at end of line\nBareword
"spamassassin" not allowed while "strict subs" in use at (e
val 304) line 1.\nBareword "HitFreqsRuleTiming" not allowed while
"strict subs" in use at (eval 304) line 1.\nBareword "pm" no
t allowed while "strict subs" in use at (eval 304) line 1.\n
Any idea what I could be doing wrong?
Is this part of the amavisd distribution or something that you created?
This is with amavis v2.9.1 and spamassassin v3.4.1 on fedora20.
Thanks,
Alex
More information about the amavis-users
mailing list