[Rspamd-Users] rspamd 3.2, dqs 3.x, and feel like I'm chasing a ghost problem
rspamd at vlh.dk
rspamd at vlh.dk
Sat Jul 9 17:42:41 UTC 2022
Hi,
> -----Original Message-----
> From: Users <users-bounces at lists.rspamd.com> On Behalf Of David Mehler
> Sent: 9. juli 2022 01:45
> To: User questions <users at lists.rspamd.com>
> Subject: [Rspamd-Users] rspamd 3.2, dqs 3.x, and feel like I'm chasing a
ghost
> problem
>
> Hello,
>
> I'm using the above and I feel like I'm chasing a ghost problem. I've got
dqs
> configured in rspamd and when I run a configtest sometimes it works
> sometimes I get no defined symbols. The below output is an rspamd
> configtest two of them right after the other, the first one says syntax
ok, no
> problems, the second one informs about symbols defined but o rules, but
> also says syntax ok. Any ideas?
>
> #rspamadm configtest
> syntax OK
> #rspamadm configtest
> symbol 'URIBL_DROP' has its score defined but there is no corresponding
rule
> registered symbol 'URIBL_SBL' has its score defined but there is no
> corresponding rule registered symbol 'SPAMHAUS_ZEN_URIBL' has its score
> defined but there is no corresponding rule registered symbol 'URIBL_PBL'
has
> its score defined but there is no corresponding rule registered symbol
> 'URIBL_XBL' has its score defined but there is no corresponding rule
> registered symbol 'URIBL_SBL_CSS' has its score defined but there is no
> corresponding rule registered syntax OK
>
> Thanks.
> Dave.
> --
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users
I just tried the Spamhaus DQS myself - the issue seems to be this part in
/etc/rspamd/local.d/rbl.conf:
"SPAMHAUS_ZEN_URIBL" {
rbl = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.zen.dq.spamhaus.net";
resolve_ip = true;
checks = ['urls'];
replyto = true;
emails = true;
ipv4 = true;
ipv6 = true;
emails_domainonly = true;
returncodes {
URIBL_SBL = "127.0.0.2";
URIBL_SBL_CSS = "127.0.0.3";
URIBL_XBL = ["127.0.0.4", "127.0.0.5", "127.0.0.6", "127.0.0.7"];
URIBL_PBL = ["127.0.0.10", "127.0.0.11"];
URIBL_DROP = "127.0.0.9";
}
}
I simply changed the name to SH_ZEN_URIBL in both rbl.conf and
rbl_group.conf to get rid of the error/warning - I believe there's already a
rule named SPAMHAUS_ZEN_URIBL (it's mentioned in scores.d/surbl_group.conf
on my system).
Why your system only reports it on some configtests I don't know, my did it
on every.
Regards,
Kim Sindalsen
More information about the Users
mailing list