[Rspamd-Users] RECEIVED_SPAMHAUS_FAIL(0.00) when own Spamhaustech.com account is specified

Sophie Loewenthal sophie at klunky.co.uk
Thu Apr 25 16:52:04 UTC 2019


Tim wrote many moons ago:
> The default rspamd config has:
> 
> root at mail:/etc/rspamd/modules.d# grep spamhaus rbl.conf | grep {
>       spamhaus {
>       spamhaus_received {
> 
> Both spamhaus and spamhaus_received.
> 
> Your rbl conf is overriding spamhaus but not overriding spamhaus_received, you're adding spamhaus_xbl instead.
> 
> So you're now looking up *3* spamhaus RBLs, two you've set to xxxxxx.zen.dq.spamhaus.net but because you haven't overridden spamhaus_received it's still looking up the public rbl server.
> 
> 
> Tim

Hi,

Am back from holidays so I ought to follow this up!

I amended this,

# cat rbl.conf 
rbls {
  psbl {
     rbl = "psbl.surriel.com";
     symbol = "RCVD_IN_PSBL";
  }
  spamhaus {
      rbl = "aaaaaaa.zen.dq.spamhaus.net";
  }
  spamhaus_received {
      rbl = "aaaaaaa.zen.dq.spamhaus.net";
  }
}


and got this,


*** Section rbl ***
default_exclude_users = true;
default_received = false;
default_unknown = true;
default_from = true;
rbls {

<snip>
   spamhaus_received {
       ignore_whitelists = true;
       returncodes {
           RECEIVED_SPAMHAUS_CSS = "127.0.0.3";
           RECEIVED_SPAMHAUS_XBL [
               "127.0.0.4",
               "127.0.0.5",
               "127.0.0.6",
               "127.0.0.7",
           ]
           RECEIVED_SPAMHAUS_DROP = "127.0.0.9";
           RECEIVED_SPAMHAUS_SBL = "127.0.0.2";
           RECEIVED_SPAMHAUS_PBL [
               "127.0.0.10",
               "127.0.0.11",
           ]
       }
       symbol = "RECEIVED_SPAMHAUS";
       from = false;
       rbl = "aaaaaa.zen.dq.spamhaus.net";
       received = true;
       ipv6 = true;
   }


   spamhaus {
       returncodes {
           RBL_SPAMHAUS_SBL = "127.0.0.2";
           RBL_SPAMHAUS_XBL [
               "127.0.0.4",
               "127.0.0.5",
               "127.0.0.6",
               "127.0.0.7",
           ]
           RBL_SPAMHAUS_CSS = "127.0.0.3";
           RBL_SPAMHAUS_DROP = "127.0.0.9";
           RBL_SPAMHAUS_PBL [
               "127.0.0.10",
               "127.0.0.11",
           ]
       }
       rbl = "aaaaaa.zen.dq.spamhaus.net";
       ipv6 = true;
       symbol = "RBL_SPAMHAUS";
   }

Thanks.


More information about the Users mailing list