On Tue, Oct 04, 2022 at 03:13:29PM +0000, DEMBLANS Mathieu wrote:
> Hello,
> 
> SpamAssassin version 3.4.6 With postfix 3.4.14 on debian 10.12
> 
> SpamAssassin version 3.4.2 With postfix 3.4.2 on debian 10.3
> 
> As it is written in the Mail_SpamAssassin_Plugin_URIDNSBL doc and confirmed by
> some tests, when a check is done with uridnsbl, only the domain is requested
> not the complete FQDN (rhsbl_zone).
> 
> For example if I want to test abc.domain.com it will only request domain.com .
> 
> My problem is that for phishing url search on surbl.org it doesn?t find it.
> 
> On a real test for btinternet-100730.square.site, which is in the surbl.org PH
> list, spamassassin do a dns request for square.site.multi.surbl.org. that 
> can?t
> be find.
> 
> If I test manually btinternet-100730.square.site.surbl.org. the response is
> good (127.0.0.8).
> 
> So it probably never find anything in this kind of list.
> 
> Is there any thing to do to make it work correctly ?

For SA 3.4 you need to use util_rb_2tld cf for all such domains:

util_rb_2tld square.site

Upcoming 4.0 already supports tflags notrim, which will query the full host
from surbl and other lists that support it.

Reply via email to