[Rspamd-Users] RECEIVED_SPAMHAUS_FAIL(0.00) when own Spamhaustech.com account is specified
Tim Harman
tim at muppetz.com
Mon Apr 8 07:46:05 UTC 2019
<snip snip>
>> Hi Tim,
>> Thanks for confirming what I had suspected. I recall I disabled the
>> public lookups but this has since been over written.
>> I shall try to find out how I can disable free Spamhaus lookups.
>> I use an internal DNS and do not query against public DNS servers.
>> Does anyone on the list know off-hand in which local.d/...conf file
>> one
>> should config this ?
>> Thanks .
>>
> I'm in a similar situation and no incantation of local or override I
> came
> up with did the job.
> Same for some other configurations like surbl.conf, but things
> are working just fine and as expected with yet others.
>
> So any example that just changes the rbl settings for these would be
> appreciated.
>
> Regards,
>
> Christian
Doesn't just editing /etc/rspamd/local.d/rbl.conf do it for you?
For example, I just put this in mine:
rbls {
spamhaus {
rbl = "cheese.org"
}
}
And now:
root at mail:/etc/rspamd/local.d# rspamadm configdump rbl
*** Section rbl ***
default_exclude_users = true;
default_received = false;
default_unknown = true;
default_from = true;
rbls {
<snip snip snip a lot of other RBLS I have>
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 = "cheese.org"; <---------------- It's applied just fine!
ipv6 = true;
symbol = "RBL_SPAMHAUS";
}
Maybe you're also forgetting to change this, found lower in the rbls:
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 = "zen.spamhaus.org";
received = true;
ipv6 = true;
}
You'd override that with:
rbls {
spamhaus {
rbl = "cheese.org"
}
spamhaus_received {
rbl = "cheese.org"
}
}
in your /etc/rspamd/local.d/rbl.conf
Obviously replace cheese.org with the actual fancy-pants custom zen
lookup domain you've been given, oh ye who can afford one (can you tell
I'm jealous?)
That _should_ work?
Tim
More information about the Users
mailing list