HitFreqsRuleTiming.pm question
Alex Regan
mysqlstudent at gmail.com
Thu May 14 16:05:37 CEST 2015
Hi,
On 05/14/2015 05:53 AM, Benning, Markus wrote:
> Am 2015-05-13 18:56, schrieb Alex Regan:
>> 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.
>
> What does "perl -C HitsFreqsRuleTiming.pm" output?
>
> Are you sure that you have no syntax error in your configuration line?
>
> Just to make sure. You placed the loadplugin line into a spamassassin
> .pre file
> like init.pre?
I had the following in my v341.pre file:
loadplugin /etc/mail/spamassassin/HitFreqsRuleTiming.pm
After putting it with the rest of the spamassassin plugins it now loads
properly. However, it doesn't produce any output or even create the log
files.
Any ideas greatly appreciated.
Thanks,
Alex
More information about the amavis-users
mailing list