How to skip rbl check locally ?

Questions and answers about how to do stuff
Post Reply
nicola.piazzi
Posts: 388
Joined: 23 Apr 2015 09:45

How to skip rbl check locally ?

Post 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 ?
nicola.piazzi
Posts: 388
Joined: 23 Apr 2015 09:45

Re: How to skip rbl check locally ?

Post 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 ?
nicola.piazzi
Posts: 388
Joined: 23 Apr 2015 09:45

Re: How to skip rbl check locally ?

Post 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
?
henk
Posts: 517
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: How to skip rbl check locally ?

Post by henk »

Just an idea: To bypass the uribl skipping issues, you could use EFA for inbound mail only.
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
nicola.piazzi
Posts: 388
Joined: 23 Apr 2015 09:45

Re: How to skip rbl check locally ?

Post 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
Post Reply