How to get rid of SpamAssassin URIBL_BLOCKED Administrator notice

Symptom, In messages body you permanently getting the following:

0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.
See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for information.

You need to either stop using free DNS resolvers, for example like:

root@server1 [~]# cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 1.1.1.1

Or update your SpamAssassin configuration as the following:

echo "dns_server 127.0.0.1 # added to fix blocking of URIBL and DNSWL queries" >> /etc/mail/spamassassin/local.cf
Read the rest