I'm new to SpamAssassin so not sure whether my logs indicate a problem.

I can't be sure, but it looks like all attempts at checking DNS
blacklists are failing.

Running Debian Wheezy SpamAssassin package (v 3.2.2)

spamd is invoked with the following options:

--create-prefs --max-children 5 --username=vmail --nouser-config
--virtual-config-dir=/var/spamassassin --helper-home-dir

When I start spamd I get the following log:

Oct  4 13:37:26 buildoneforme spamd[25172]: error creating a DNS
resolver socket: Invalid argument at
/usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 235.
Oct  4 13:37:27 buildoneforme spamd[25172]: plugin: eval failed: error
closing socket: Bad file descriptor at
/usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 568.

Here's what happens when spamd checks email (run from exim4)

Oct  4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN8> line 46.
Oct  4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN8> line 46.
Oct  4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN8> line 46.
Oct  4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN8> line 46.
Oct  4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN8> line 46.
Oct  4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN8> line 46.
Oct  4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN8> line 46.
Oct  4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN8> line 46.
Oct  4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN8> line 46.
Oct  4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN8> line 46.
Oct  4 13:38:47 buildoneforme spamd[25173]: rules: failed to run
NO_DNS_FOR_FROM RBL test, skipping:
Oct  4 13:38:47 buildoneforme spamd[25173]:  (oops, no id at
/usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line 173, <GEN8> line 46.)
Oct  4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN8> line 46.
Oct  4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN8> line 46.
Oct  4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN8> line 46.
Oct  4 13:38:47 buildoneforme spamd[25173]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN8> line 46.
Oct  4 13:38:47 buildoneforme spamd[25173]: plugin: eval failed: error
closing socket: Bad file descriptor at
/usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 568.

I turned on debugging output with -D and here's a short extract from
when spamd checks an email:

Oct  4 14:00:08 buildoneforme spamd[25218]: dns: checking RBL
bl.score.senderscore.com., set rnbl-lastexternal
Oct  4 14:00:08 buildoneforme spamd[25218]: dns: IPs found:
full-external: 209.85.215.48 untrusted: 209.85.215.48 originating:
Oct  4 14:00:08 buildoneforme spamd[25218]: dns: only inspecting the
following IPs: 209.85.215.48
Oct  4 14:00:08 buildoneforme spamd[25218]: dns: launching DNS A query
for 48.215.85.209.bl.score.senderscore.com. in background
Oct  4 14:00:08 buildoneforme spamd[25218]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN12> line 46.
Oct  4 14:00:08 buildoneforme spamd[25218]: dns: checking RBL
zen.spamhaus.org., set zen-lastexternal
Oct  4 14:00:08 buildoneforme spamd[25218]: dns: IPs found:
full-external: 209.85.215.48 untrusted: 209.85.215.48 originating:
Oct  4 14:00:08 buildoneforme spamd[25218]: dns: only inspecting the
following IPs: 209.85.215.48
Oct  4 14:00:08 buildoneforme spamd[25218]: dns: launching DNS A query
for 48.215.85.209.zen.spamhaus.org. in background
Oct  4 14:00:08 buildoneforme spamd[25218]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN12> line 46.
Oct  4 14:00:08 buildoneforme spamd[25218]: dns: checking RBL
psbl.surriel.com., set psbl-lastexternal
Oct  4 14:00:08 buildoneforme spamd[25218]: dns: IPs found:
full-external: 209.85.215.48 untrusted: 209.85.215.48 originating:
Oct  4 14:00:08 buildoneforme spamd[25218]: dns: only inspecting the
following IPs: 209.85.215.48
Oct  4 14:00:08 buildoneforme spamd[25218]: dns: launching DNS A query
for 48.215.85.209.psbl.surriel.com. in background
Oct  4 14:00:08 buildoneforme spamd[25218]: Use of uninitialized value
in string ne at /usr/share/perl5/Mail/SpamAssassin/AsyncLoop.pm line
173, <GEN12> line 46.

Here's /etc/resolv.conf:

search your-server.de
nameserver 213.133.98.98
nameserver 213.133.99.99
nameserver 213.133.100.100
nameserver 2a01:4f8:0:a0a1::add:1010
nameserver 2a01:4f8:0:a102::add:9999
nameserver 2a01:4f8:0:a111::add:9898

These are the correct IP addresses for my provider (Hetzner). I tried
commenting out the first line, commenting out the IPv6 lines and using
the --ipv4 option, and none of those things made a difference.

I've tried googling for an answer and can't figure out what's going on.
Any help troubleshooting this would be greatly appreciated.

Thanks,
Yasir



Reply via email to