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
And restart spamd service:
service spamd restart
To check:
cat /etc/mail/spamassassin/local.cf |grep dns_server
dns_server 127.0.0.1 # added to fix blocking of URIBL and DNSWL queries
Enjoy.
Update:
The settings below may cause of the following SPF fail check:
0.0 T_SPF_TEMPERROR SPF: test of record failed (temperror)
0.0 T_SPF_HELO_TEMPERROR SPF: test of HELO record failed (temperror)
So you need to decide which part of this you want to be happy URIBL or SPF checks or stop using public DNS resolvers but your own or provided by your provider
Source: https://support.cpanel.net/hc/en-us/articles/360053079473-SpamAssassin-headers-show-URIBL-Blocked-error-when-Exim-uses-RBLs