Bug 1111063 - Spamassassin DNS related problem
Summary: Spamassassin DNS related problem
Keywords:
Status: CLOSED DUPLICATE of bug 1112003
Alias: None
Product: Fedora
Classification: Fedora
Component: spamassassin
Version: 19
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Warren Togami
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-19 07:46 UTC by Andy
Modified: 2014-06-23 15:47 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-23 15:47:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
SpamAssassin 7057 0 None None None Never

Description Andy 2014-06-19 07:46:38 UTC
Description of problem:

After I updated perl-Net-DNS to the latest version (perl-Net-DNS-0.76-1.fc20.x86_64.rpm), spamassassin shows the following errors:

Jun 19 10:36:41 main spamd[10551]: spamd: connection from localhost [::1]:43706 to port 783, fd 6
Jun 19 10:36:41 main spamd[10551]: spamd: setuid to sa-milt succeeded
Jun 19 10:36:41 main spamd[10551]: spamd: processing message <C5717E7C2B9EDA49A81164B48D20472642F0B9.root> for sa-milt:997
Jun 19 10:36:41 main spamd[10551]: plugin: eval failed: available_nameservers: No DNS servers available!
Jun 19 10:36:41 main spamd[10551]: rules: failed to run NO_DNS_FOR_FROM RBL test, skipping:
Jun 19 10:36:41 main spamd[10551]:  (available_nameservers: [...] No DNS servers available!)
Jun 19 10:36:41 main spamd[10551]: spf: lookup failed: available_nameservers: No DNS servers available!
Jun 19 10:36:41 main spamd[10551]: spf: lookup failed: available_nameservers: No DNS servers available!



To fix this issue, I had to downgrade perl-Net-DNS to this version: perl-Net-DNS-0.75-1.fc20.x86_64

This happens on two different, unrelated servers.

Comment 1 Paul Howarth 2014-06-19 08:42:52 UTC
I have worked around this locally by explicitly configuring my nameserver in /etc/mail/spamassassin/local.cf:

# https://mailman.archlinux.org/pipermail/arch-general/2014-June/036479.html
# work around inability to find nameservers
dns_server 127.0.0.1

Comment 2 Andy 2014-06-20 05:09:45 UTC
Thank you. I can confirm that it works when adding the DNS servers in local.cf

Comment 3 Petr Šabata 2014-06-23 15:39:16 UTC
Sadly, 0.76 wasn't just a bugfix release.  Apparently, there was an API change, too.  Spamassassin will need a fix (already upstream) to work to work with 0.76+.

Comment 4 Kevin Fenzi 2014-06-23 15:47:50 UTC
I've already fixed f20 (see bug 1111586) 

I'll push a f19 build soon...

*** This bug has been marked as a duplicate of bug 1112003 ***


Note You need to log in before you can comment on or make changes to this bug.