Hello,
Could it be that the rbl module has problems when a blacklists returns multiple results on a single query?
Here is an example for such a response:
nslookup 59.xxx.xxx.xxx.hostkarma.junkemailfilter.com
Server: localhost
Address: 127.0.0.1
Nicht autorisierende Antwort:
Name: 59.xxx.xxx.xxx.hostkarma.junkemailfilter.com
Addresses: 127.0.0.2
127.0.1.1
The second value '127.0.1.1' is an experimantal one according to their wiki.
I inserted in local.d/rbl.conf the following lines (deleted the other definitions I added for better legibility):
rbls {
rbl_hostkarma {
symbol = "HOSTKARMA";
rbl = "hostkarma.junkemailfilter.com";
ipv6 = false;
received = true;
returncodes {
HOSTKARMA_WL = "127.0.0.1";
HOSTKARMA_BL = "127.0.0.2";
HOSTKARMA_YL = "127.0.0.3";
HOSTKARMA_BR = "127.0.0.4";
}
}
}
And in local.d/rbl_group.conf:
symbols = {
"HOSTKARMA_WL" {
description = "HOSTKARMA whitelist";
weight = -1.0;
}
"HOSTKARMA_BL" {
description = "HOSTKARMA blacklist";
weight = 1.0;
}
"HOSTKARMA_YL" {
description = "HOSTKARMA yellowlist";
weight = 0.0;
}
"HOSTKARMA_BR" {
description = "HOSTKARMA brownlist";
weight = 0.0;
}
}
I'm running rspamd 1.7.5 on Centos 7.
Thanks,
Thomas