Alex Regan wrote:
I have v3.4.1 with amavisd v2.9.1 on fedora20 and receiving the
following warnings:
May 13 23:32:31 mail01 amavis[17306]: (17306-10) _WARN: plugin: eval
failed: Undefined subroutine
&Mail::SpamAssassin::Util::RegistrarBoundaries::trim_domain called at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Util.pm line 1236.
May 13 23:35:43 mail01 amavis[17386]: (17386-12) _WARN: Use of
uninitialized value in concatenation (.) or string at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/PerMsgStatus.pm line
3082.
I thought I remembered this issue being discussed some time ago, but
couldn't find any recent references to it. It looks like it happens
just in the course of processing messages with no other information
around these lines. I also don't know when it first started. Thought
someone might have some ideas?
Are you using some third-party SpamAssasin plugin that relies on the
deprecated subroutine Mail::SpamAssassin::Util::uri_to_domain ?
Please try the patch below:
=======
--- Mail/SpamAssassin/Util.pm~ 2015-04-28 21:56:49.000000000 +0200
+++ Mail/SpamAssassin/Util.pm 2015-05-14 16:26:23.198104251 +0200
@@ -49,4 +49,5 @@
use Mail::SpamAssassin::Logger;
+use Mail::SpamAssassin::Util::RegistrarBoundaries; # deprecated
BEGIN {
=======
Mark