On 10/26/2014 6:04 PM, Thomas Preißler wrote:
I use SpamAssassin version 3.4.0 from wheezy-backports. Unfortunately,
I get the following line sometimes in mail.log:
warn: spf: lookup failed: addr is not a string at
/usr/share/perl5/IO/Socket/IP.pm line 646.
Attached you'll find a mail.eml and the output of spamassassin -D
which shows the warning.
Any ideas how to solve this issue?
Thomas, are you seeing the issue still because I could not replicate:
Oct 27 10:28:38.031 [8662] dbg: spf: checking to see if the message has
a Received-SPF header that we can use
Oct 27 10:28:38.177 [8662] dbg: spf: using Mail::SPF for SPF checks
Oct 27 10:28:38.177 [8662] dbg: spf: checking HELO (helo=mail.sys4.de,
ip=194.126.158.139)
Oct 27 10:28:38.184 [8662] dbg: dns: providing a callback for id:
19578/IN/SPF/mail.sys4.de
Oct 27 10:28:38.304 [8662] dbg: spf: query for
/194.126.158.139/mail.sys4.de: result: none, comment: , text: No
applicable sender policy available
Oct 27 10:28:38.325 [8662] dbg: spf: already checked for Received-SPF
headers, proceeding with DNS based checks
Oct 27 10:28:38.326 [8662] dbg: spf: relayed through one or more trusted
relays, cannot use header-based Envelope-From, skipping
Oct 27 10:28:38.355 [8662] dbg: spf: def_spf_whitelist_from: already
checked spf and didn't get pass, skipping whitelist check
Oct 27 10:28:38.363 [8662] dbg: spf: whitelist_from_spf: already checked
spf and didn't get pass, skipping whitelist check
My thoughts are perhaps they fixed their SPF record or you had a
temporary DNS issue?
regards,
KAM