[exim] whitelist a netblock

Top Page
Delete this message
Reply to this message
Author: Jeff Lasman
Date:  
To: exim-users
Subject: [exim] whitelist a netblock
I've tried google and I must be doing something wrong because I'm not
finding any answers <frown>.

I want to whitelist an entire C-class.

I use:

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

and

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

and I've always put single IP#s in there.

Now I need to whitelist an entire c-class.

How?

The below are all I can think of:

12.34.56
or
12.34.56.*
or
12.34.56.0/24

but in my tests none of these work.

Is it even possible?

All help appreciated.

Thanks.

Jeff
--
Jeff Lasman, Nobaloney Internet Services
P.O. Box 52200, Riverside, CA 92517
Our blists address used on lists is for list email only
voice: +1 951 643-5345, or see:
"http://www.nobaloney.net/contactus.html"