You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Alex <my...@gmail.com> on 2017/02/01 18:17:27 UTC

_WARN message with perl-Encode

Hi all,

I have a warning/error that appears to be the result of a recent
fedora25 update that is related to spamassassin, and thought someone
might know of the cause?

Feb  1 13:12:33 mail01 amavis[2012]: (02012-04) _WARN: Use of
uninitialized value in subroutine entry at
/usr/lib64/perl5/vendor_perl/Encode/MIME/Header.pm line 198.

There is then a more serious error with amavisd, appearing to
reference spamassassin as the cause, presumably related to this
Header.pm problem:

Feb  1 13:13:31 bwimail01 amavis[2019]: (02019-07) _WARN: rules:
failed to run MXPF_PASS test, skipping:\n\t(***  FATAL PROGRAM
ERROR!!\tUnknown method 'address'\n***  which the program has
attempted to call for the
object:\n***\nm1.list.cheapflights.com.\t86400\tIN\tCNAME\t(
\n\tfsmsg0147.sp.f-secure.com. )\n***\n***  The 1406
Net::DNS::RR::CNAME object has no method 'address'\n***  THIS IS A BUG
IN THE CALLING SOFTWARE, which incorrectly assumes\n***  that the
object would be of a particular type.  The type of an\n***  object
should be checked before calling any of its methods.\n at
/etc/mail/spamassassin/mxpf.pm line
70.\n\tMail::SpamAssassin::Plugin::mxpf::check_pf(Mail::SpamAssassin::Plugin::mxpf=HASH(0xa3d2370),
Mail::SpamAssassin::PerMsgStatus=HASH(0xa1ae158)) called at (eval
3677) line 7\n\tMail::SpamAssassin::PerMsgStatus::check_pf(Mail::SpamAssassin::PerMsgStatus=HASH(0xa1ae158))
called at (eval 3642) line 1402\n\teval {

This is on a fedora25 system with all updates, including the
perl-Encode-2.88-5.fc25.x86_64 package for Header.pm and
spamassassin-3.4.1.

Is this a problem with the current perl-Encode package?

Re: _WARN message with perl-Encode

Posted by Martin Gregorie <ma...@gregorie.org>.
On Wed, 2017-02-01 at 13:17 -0500, Alex wrote:
> Hi all,
> 
> I have a warning/error that appears to be the result of a recent
> fedora25 update that is related to spamassassin, and thought someone
> might know of the cause?
> 
Last night's logwatch contained these errors for the spamd service on
Fedora 25:

����Use of uninitialized value $2 in concatenation (.) or string at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URIDNSBL.pm line
1042, <GEN13> line 92.: 1 Time(s)
����Use of uninitialized value $3 in concatenation (.) or string at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URIDNSBL.pm line
1042, <GEN13> line 92.: 1 Time(s)
����Use of uninitialized value $4 in concatenation (.) or string at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URIDNSBL.pm line
1042, <GEN13> line 92.: 1 Time(s)

IIRC my last dnf update was run around 22 Jan 17. Some time back, I
agree but this is a new install from the F25 Live XFCE spin on the
21st, fully customised by last Friday. Since then I've been busy with
non-computer stuff.

I haven't seen the errors Alex reported.
  
Martin


Re: _WARN message with perl-Encode

Posted by Alex <my...@gmail.com>.
Hi,

On Wed, Feb 1, 2017 at 1:40 PM, Reindl Harald <h....@thelounge.net> wrote:
> mxpf.pm is not part of spamassassin itself but from a random guy on the list
> last year, the original had a bunch of issues and produced warnings from the
> very begin
>
> the attached one contains some serious bugfixes, but i also renamed the rule
> tags to MX_PASS - so watch out for your config

I initially missed that it was the result of the mxpf plugin, but have
since disabled it. Thanks for the updated version. I'll try again.

I also learned the current perl-Encode package from fedora25 is
broken. Had to back off one revision to fix the Header.pm problems.