spamhaus / rspamd-dqs

Spamhaus code for RSPAMD Plugin. See https://docs.spamhaustech.com/40-real-world-usage/Rspamd/000-intro.html for instructions
Apache License 2.0
61 stars 11 forks source link

"SH_HBL_EMAIL" is in rbl_group.conf and sh_rbl_group_hbl.conf #8

Closed a16bitsysop closed 4 years ago

a16bitsysop commented 4 years ago

When using key which is not HBL enabled rspamadm configtest Reports:

symcache; rspamd_symcache_validate: symbol 'SH_HBL_EMAIL' has its score defined but there is no corresponding rule registered
syntax OK

SH_HBL_EMAIL is defined in rbl_group.conf and sh_rbl_group_hbl.conf

sh_rbl_group_hbl.conf is not present as key is not HBL enabled.

ricalfieri commented 4 years ago

Hi, thanks for the report

Can you try to delete the section "SH_HBL_EMAIL" from rbl_group.conf and retry? I must have forgot it when moving HBL related lookups tu the _hbl.conf files.

This, however, is only a warning, it will not break the rest of the ruleset

a16bitsysop commented 4 years ago

Yes that fixes it, I was getting the error: error looking up mandrillapp.com.multi.surbl.org: server fail

As well, but hasn’t done it since deleted that section.

ricalfieri commented 4 years ago

Thanks for getting back; i'll update the conf file as soon as possible.

Speaking about the other error, it was unrelated to our ruleset, but looks like it could have been dns related

a16bitsysop commented 4 years ago

Thanks, I missed the beginning of the line in the other error and next line. It was from rbl.lua 09:52:22 #77(normal) <94f44d>; lua; rbl.lua:221: error looking up mandrillapp.com.multi.surbl.org: server fail 09:52:22 #77(normal) <94f44d>; lua; rbl.lua:221: error looking up eepurl.com.multi.surbl.org: server fail

The rbl.conf is your one, yes I think it was a dns error but I didn’t get them before as I did not have my own rbl.conf