[Rspamd-Users] Checking FQDN instead of domain in RBLs

Vsevolod Stakhov vsevolod at rspamd.com
Thu Aug 12 10:02:29 UTC 2021


On 12/08/2021 10:47, Riccardo Alfieri wrote:
> On 12/08/21 07:57, Riccardo Alfieri wrote:
> 
>> Hello,
>>
>> is there a way to make Rspamd check the FQDN of a URL instead of the
>> bare domain?
>>
> Answering to myself for the benefit of the community, if anyone is
> interested :)
> 
> I used the url selector with a regex:
> 
> selector = 'urls.regexp("<regex here>")"'
> 

selector = 'specific_urls(params...):get_host'

or even (worse):

selector = 'urls:get_host'

Regexp usage for urls parsing is just a mistake almost all the time.


More information about the Users mailing list