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

Andrew Lewis rspamd-users at judo.za.org
Tue Oct 17 11:53:32 UTC 2023


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



More information about the Users mailing list