CentosBFS: spamassassin: "module not installed: Net::DNS::Nameserver ('require' failed)"

Report bugs and workarounds
Post Reply
User avatar
pdwalker
Posts: 1585
Joined: 18 Mar 2015 09:16

CentosBFS: spamassassin: "module not installed: Net::DNS::Nameserver ('require' failed)"

Post by pdwalker »

This might only be a problem with my installation. I'm putting the information here in case anyone else has the same problem.

While running the following command

Code: Select all

spamassassin -D --lint 2&>1 | grep failed 
I came across the following error
dbg: diag: [...] module not installed: Net::DNS::Nameserver ('require' failed)
A quick google search turned up the following link:
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7052

short version:
With RHEL/CentOS, Net-DNS is split into Net-DNS and Net-DNS-Nameserver.

This causes issues such as:

[snip]

The solution on RHEL/CentOS systems is to install perl-Net-DNS-Nameserver using yum, for example.
A quick "sudo yum install perl-Net-DNS-Nameserver" and the perl module installed without problem and the error in lint checking went away.

My system is a "build from scratch" and others may have this problem.

I'd like to know if it's just me or if it is an actual, real problem. If anyone can check and let me know if they have that module already installed, I'd greatly appreciate it.

Thanks.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: CentosBFS: spamassassin: "module not installed: Net::DNS::Nameserver ('require' failed)"

Post by shawniverson »

Checking build...

Added
Post Reply