[CentOS] Centos 7 specific cure for Spamassassin DNS lookup problem
Phil Perry
pperry at elrepo.org
Thu Aug 10 17:25:44 UTC 2017
On 10/08/17 15:37, Paul Heinlein wrote:
> On Thu, 10 Aug 2017, Gary Stainburn wrote:
>
>> I have the following error message in my /var/log/spamd
>>
>> spf: lookup failed: available_nameservers: No DNS servers available!
>>
>> Having Googled the error message I've found a number of responses
>> which involve patching Perl or Spamassassin or other cures.
>>
>> Before I start changing things I was wondering if there was a Centos 7
>> specific resolution. Where possible, on production machines I prefer
>> to stay with RPM's rather than amending software directly.
>
> I run SpamAssassin on CentOS 7; the SPF plugin is loaded via
> /etc/mail/spamassassin/init.pre. I have no trouble with spf at all.
>
> Is it possible the problem is with local DNS resolution?
>
Same here, no issues with spamassassin and SPF.
In addition to Paul's question which seems like the most obvious initial
avenue of investigation, I assume you have perl-Mail-SPF and
perl-Net-DNS installed? They should be as both are deps for the
spamassassin package.
More information about the CentOS
mailing list