Whitelist IP ranges while using RBLs

SupermanInNY

Verified User
Joined
Sep 28, 2004
Messages
425
Hi All,

I'm using SpamBlocker 2.x which works very well and has a good usage of the RBLs.
The RBLs are filtering very efficiently, but unfortunatly they also block few local providers of ADSL that needs to be able to send/recieve emails.

How do I whitelist RANGES / CLasses of IPs while still using the RBLs?
The whitelisting is just for the RBLs filtering., the second filter of SpamAssasin should still run as a second tier.

Thanks for any input.

-Alon.
 
The final version of SpamBlocker 3 will have the feature; current versions do not.

Jeff
 
How do I employ:


# sender hosts whitelist
# accept if sender host is in whitelist
accept hosts = +whitelist_hosts
accept hosts = +whitelist_hosts_ip



Isn't that (whitelist_hosts_ip) the list/ranges that I can whitelist?

that's from SpamBlocker.exim.conf.2.0-release

[EDIT]

hostlist whitelist_hosts = lsearch;/etc/virtual/whitelist_hosts
hostlist whitelist_hosts_ip = net-lsearch;/etc/virtual/whitelist_hosts

Is there a format to use when I want to allow for a range say:
HTML:
192.115.84.0/22  	192.115.84.1	 to	192.115.87.254
192.115.112.0/20	192.115.112.1 	 to	192.115.127.254
192.115.152.0/21	192.115.152.1 	 to	192.115.159.254
192.115.160.0/22	192.115.160.1 	 to	192.115.163.254
192.115.200.0/21	192.115.200.1 	 to	192.115.207.254
192.116.32.0/19	         192.116.32.1	  to	192.116.63.254
192.118.84.0/22	         192.116.84.1	  to	192.116.87.254
194.90.0.0/16	          194.90.0.1	  to	194.90.255.254
199.203.0.0/16	          199.203.0.1	 to	199.203.0.254
207.232.0.0/18	          207.232.0.1	 to	207.232.63.254
212.143.0.0/16	          212.143.0.1	 to	212.143.255.254
212.235.0.0/17	          212.235.0.1	 to	212.235.127.254

-Alon.
 
Last edited:
Try it; it might work ;).

You do know how to test exim locally with
Code:
# exim -bh
don't you?

Jeff
 
Then you don't :). You could have just written that ;).

Reading man exim most likely explains; if you do this:
Code:
$ exim -bh 12.34.56.78
replacing the IP# in my example with the IP# which may be blocked, and then create a manual smtp dialogue, you can see if your whitelist entries catch the email and accept it.

None of it is really happening; it's only a test.

Jeff
 
Back
Top