[Rspamd-Users] I think my spamhaus is not working....

Danjel Jungersen danjel at jungersen.dk
Wed Jan 29 17:56:42 UTC 2025


Hi there.

I have a feeling that my spamhaus setup is not working.

I looked at the default setup and to me it looks like it should work.

I have not knowingly changed anything regarding spamhaus.

But the testmails from their site comes through, and I see no mention of 
spamhaus in the logs.

I have this in rbl.conf:

*****
   rbls {

     spamhaus {
       symbol = "SPAMHAUS"; # Augmented by prefixes
       rbl = "zen.spamhaus.org";
       # Check types
       checks = ['received', 'from'];

       symbols_prefixes = {
         received = 'RECEIVED',
         from = 'RBL',
       }
       returncodes {
         SPAMHAUS_SBL = "127.0.0.2";
         SPAMHAUS_CSS = "127.0.0.3";
         SPAMHAUS_XBL = ["127.0.0.4", "127.0.0.5",
             "127.0.0.6", "127.0.0.7"];
         SPAMHAUS_PBL = ["127.0.0.10", "127.0.0.11"];
         SPAMHAUS_DROP = "127.0.0.9";
         SPAMHAUS_BLOCKED_OPENRESOLVER = "127.255.255.254";
         SPAMHAUS_BLOCKED= "127.255.255.255";
       }
     }

.....

*****

And this in scores.d/rbl_group.conf:

*****

    "RBL_SPAMHAUS_SBL" {
         weight = 4.0;
         description = "From address is listed in ZEN SBL";
         groups = ["spamhaus"];
     }
     "RBL_SPAMHAUS_CSS" {
         weight = 2.0;
         description = "From address is listed in ZEN CSS";
         groups = ["spamhaus"];
     }
     "RBL_SPAMHAUS_XBL" {
         weight = 4.0;
         description = "From address is listed in ZEN XBL";
         groups = ["spamhaus"];
     }
     "RBL_SPAMHAUS_XBL_ANY" {
         weight = 4.0;
         description = "From or received address is listed in ZEN XBL 
(any list)";
         groups = ["spamhaus"];
     }
     "RBL_SPAMHAUS_PBL" {
         weight = 2.0;
         description = "From address is listed in ZEN PBL (ISP list)";
         groups = ["spamhaus"];
     }

.....

*****

As I know, all defaults.

But I get no rejections, and nothing in the logs.

I think that it makes no sense to increase the scores as long as I see 
nothing about spamhaus in the logs / mail headers.

How do I find out what is wrong here?

Do I need to submit any further information?

TIA
Danjel



More information about the Users mailing list