[Rspamd-Users] RBL bypass for outgoing mails not working

Stefan Bauer cubewerk at gmail.com
Wed Oct 18 09:25:15 UTC 2023


Hi,

thank you. Unfortunately did not work. Exclude_local is the default setting
but was completely ignored.

What did work was setting individual settings :)

/etc/rspamd/local.d/settings.conf

from_internal {
ip = "192.168.20.20";
ip = "10.8.0.15";
apply {
groups_disabled = ["rbl"];
}
}

Am Di., 17. Okt. 2023 um 13:54 Uhr schrieb Andrew Lewis via Users <
users at lists.rspamd.com>:

> Hi Stefan,
>
> To disable checking of URIBLs for local IPs you could add
> `exclude_local = true` setting to each applicable rule as below:
>
> ~~~
> # /etc/rspamd/local.d/rbl.conf
> DBL {
>   exclude_local = true;
> }
> ~~~
>
> You may be interested in applying settings module to enable a subset of
> usual checks: https://rspamd.com/doc/configuration/settings.html
>
> Best,
> -AL.
>
> On Tue, 2023-10-17 at 13:18 +0200, Stefan Bauer wrote:
> > according to documentation¹, outgoing mails are not RBL-checked.
> > However my mails are still URIBL-checked:
> >
> > B414020E>, ip: 192.168.20.20, from: <user at mydomain.tld>, (default: F
> > (no
> > action): [-12.89/8.00]
> > [WHITELIST_FROM_INTERNAL(-
> > 4.50){192.168.20.20;},{},URIBL_BLOCKED(0.00){mydomain.tld:url;mailser
> > ver1.mydomain.tld:rdns;mailserver1.mydomain.tld:helo;}]),
> > len: 33848, time: 1874.180ms, dns req: 16, digest:
> > <fbef30870e840e326e1f4cafcf97d127>, rcpts:
> > <external-recipient at external.tld>,
> > mime_rcpts: <external-recipient at external.tld>
> >
> > Sending IP (192.168.20.20) is in local_addrs (this is all default
> > settings):
> >
> >     local_addrs [
> >         "192.168.0.0/16",
> >         "10.0.0.0/8",
> >         "172.16.0.0/12",
> >         "fd00::/8",
> >         "169.254.0.0/16",
> >         "fe80::/10",
> >         "127.2.4.7",
> >     ]
> >
> > I also tried setting:
> >
> > local_exclude_ip_map ... but that does not work either:
> >
> > What am i doing wrong?
> >
> > Thank you.
> >
> > ¹ https://rspamd.com/doc/tutorials/scanning_outbound.html
>
> --
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users
>


More information about the Users mailing list