Page 1 of 1

How to skip rbl check locally ?

Posted: 14 May 2019 12:34
by nicola.piazzi
Hi
My efa receive emails from External and from internal addresses
I want to skip RBL check for internal address, i put these in local.cf

internal_networks 127.0.0.1
internal_networks 10.1.0.0/16
internal_networks 192.168.2.0/24
trusted_networks 127.0.0.1
trusted_networks 10.1.0.0/16
trusted_networks 192.168.2.0/24

but if i made a spamassassin -D of an internal message i see that rbl chechs are done
is there a way to skip ?

Re: How to skip rbl check locally ?

Posted: 15 May 2019 08:07
by nicola.piazzi
In effect seems that RBL are skipped when come from internal network but all URIBL are done in all domains found in the email
is possible to stop uribl check when email come from internal network ?

Re: How to skip rbl check locally ?

Posted: 15 May 2019 08:30
by nicola.piazzi
I found this solution
select count(from_domain) as a, from_domain from maillog group by from_domain order by a;
Then i take all most count domains and put into

uridnsbl_skip_domain gmail.com mrsend.com
etc etc

someone know if writing msend.com include also mail.mrsend.com
?

Re: How to skip rbl check locally ?

Posted: 15 May 2019 10:02
by henk
Just an idea: To bypass the uribl skipping issues, you could use EFA for inbound mail only.

Re: How to skip rbl check locally ?

Posted: 15 May 2019 10:05
by nicola.piazzi
this cannot be done because i wrote a lot of rules / plugins that get data from outgoing emails to analyze incoming emails
i know that i can use same database for all mailservers but it will be too complex