Created attachment 397294 [details, diff] patch apply to spamassassin Please consider applying the attached patch which works around a renaming in Net::DNS. Otherwise I get the following in my logs: Feb 23 08:00:06 linux spamd[4086]: rules: failed to run NO_DNS_FOR_FROM RBL test, skipping: Feb 23 08:00:06 linux spamd[4086]: (available_nameservers: [...] No DNS servers available!) Here are the relevant links: [1] https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7057 (Spamassassin bug report) [2] https://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/DnsResolver.pm?r1=1603518&r2=1603517&pathrev=1603518 (origin of patch) [3] https://major.io/2014/06/20/fixing-broken-dns-lookups-in-spamassassin/ (first google hit for the topic)
I've updated the ebuild, the new patch should go in the "files" directory. I've also made a change to the REQUIRED_USE variable: previously, you were forced to choose at least one database backend. That wasn't necessary if you weren't using the bayes functionality, so I changed USE="+berkdb" to USE=berkdb (disabled on-by-default), and added a new local "bayes" flag which defaults to on. When USE=bayes, you need to choose a database backend like before. Please test if you can, especially with the new Net-DNS.
Created attachment 397450 [details] spamassassin-3.4.0-r1.ebuild
Created attachment 397452 [details] metadata.xml
Created attachment 397454 [details, diff] net-dns-0.76_compatibility.patch
(In reply to Michael Orlitzky from comment #1) > Please test if you can, especially with the new Net-DNS. Works fine for me (with Net-DNS-0.810.0). :)
Alright, thanks! 27 Feb 2015; Michael Orlitzky <mjo@gentoo.org> +files/net-dns-0.76_compatibility.patch, +spamassassin-3.4.0-r1.ebuild, metadata.xml: Revbump to fix bug #541100. Thanks to Markus Oehme for the report and the fix.