[Rspamd-Users] rbl check sender domain part

Vsevolod Stakhov vsevolod at rspamd.com
Thu Sep 10 15:24:05 UTC 2020


On 10/09/2020 15:39, Manuel Garbin wrote:
> ----- Il 10-set-20, alle 15:58, Vsevolod Stakhov <vsevolod at rspamd.com> wrote: 
> 
>> On 10/09/2020 10:30, Manuel Garbin wrote:
>>> Hi,
>>> today there was a massive spam from .*.icu new domain, none was matched against
>>> rbl like spam eating monkey.
>>> I've digged deeper into lua code for rbl against from domain and see that there
>>> is no function to match this type of information.
> 
>>> The function that seems to match the email domain is check_emails but it will
>>> get the email only from message body ( it use extract_specific_urls lua util )
>>> , not header.
> 
>>> [
>>> https://github.com/rspamd/rspamd/blob/2a4a393ff51b2f110426ea9d52936d136a5ddcd3/src/plugins/lua/rbl.lua
>>> |
>>> https://github.com/rspamd/rspamd/blob/2a4a393ff51b2f110426ea9d52936d136a5ddcd3/src/plugins/lua/rbl.lua
>>> ]
> 
> 
> 
>> Use selectors.
> You mean to write my lua script that use selector with a function that read over rbls or i can overwrite or pass a new function to rbl check? 
> If you want i can add some code to your rbl.ua script and send it on git to add a new feature to support sender on rbl check. 
> 

No, I meant 'use selectors', not 'write lua scripts'.


More information about the Users mailing list