Submitted by mike0810 on Sat, 11/26/2016 - 09:05
In maillog spamd reports: spf: lookup failed: addr is not a string at /usr/share/perl5/vendor_perl/IO/Socket/IP.pm line 662.
Spam gets through.
This is the thread which describes the problem (perl outdated)
http://www.gossamer-threads.com/lists/spamassassin/users/188895
Regards
Status:
Active
Comments
Submitted by andreychek on Sat, 11/26/2016 - 10:10 Comment #1
Howdy -- hmm, we're not seeing that issue in our testing, though what you're seeing there may unfortunately be a bug in either SpamAssassin, or a Perl module, provided by your distribution.
What you could try is to install a newer version of "Mail::DKIM", which can be done with this command:
cpan -i Mail::DKIM
Or, you may also want to try the BIND setting in this post here:
http://www.gossamer-threads.com/lists/spamassassin/users/189022#189022
Submitted by mike0810 on Sat, 11/26/2016 - 11:21 Comment #2
Seems to be a Bug in perl 5.16 and lower, not only dkim module:
Is it save to update perl on newest virtualmin? There are now newer perl packages in the virtualmin repo.
A bug in getnameinfo() in perl 5.16 and older. Fixed with perl 5.18 and later, which deal with pPOK vs. POK flags somewhat differently.
See: http://marc.info/?l=spamassassin-users&m=141461245312708
one possible workaround: http://marc.info/?l=spamassassin-users&m=141467352930918