Based on the code and based on our tests if an ip address is present in XBL the message receive 2 scores (7 for SPAMHAUS_ZEN and 5 for URIBL_XBL):
our test:
$ cat swaks.eml
To: test@mydomain.tld
From: test@mydomain.tld
Subject: test Rspamd Fri, 29 May 2020
X-Mailer: swaks v20181104.0 jetmore.org/john/code/swaks/
This is a test mailing
$ rspamc -i 173.0.81.1 < ./swaks.eml
"X-Spamd-Result": "default: True [14.90 / 10.00]
rnt SPAMHAUS_ZEN(7.00)[173.0.81.1:from]
rnt URIBL_XBL(5.00)[173.0.81.1:from]",
[cut]
from the code both use the same rbl:
spamhaus_from {
from = true;
received = false;
rbl = "your_DQS_key.zen.dq.spamhaus.net";
[cut]
Based on the code and based on our tests if an ip address is present in XBL the message receive 2 scores (7 for SPAMHAUS_ZEN and 5 for URIBL_XBL): our test: $ cat swaks.eml To: test@mydomain.tld From: test@mydomain.tld Subject: test Rspamd Fri, 29 May 2020 X-Mailer: swaks v20181104.0 jetmore.org/john/code/swaks/
This is a test mailing $ rspamc -i 173.0.81.1 < ./swaks.eml "X-Spamd-Result": "default: True [14.90 / 10.00] rnt SPAMHAUS_ZEN(7.00)[173.0.81.1:from] rnt URIBL_XBL(5.00)[173.0.81.1:from]", [cut]
from the code both use the same rbl:
spamhaus_from { from = true; received = false; rbl = "your_DQS_key.zen.dq.spamhaus.net"; [cut]
"SPAMHAUS_ZEN_URIBL" { resolve_ip = true; replyto = true; emails = true; emails_domainonly = true; rbl = "your_DQS_key.zen.dq.spamhaus.net";
we've temporary solved by adding a from = false; in SPAMHAUS_ZEN_URIBL rbl definition