I am trying to add ad network such as 66.66.66.0/21 to /etc/virtual/whitelist_hosts to whitelist a network which has been blocked on a SORBS list. However it does not seems to be working.
I check the exim.conf and do see the list line:
Also, the ACL seems to be in place correctly to allow that list before the denying DNSBL:
According to the exim docs, the 'lsearch' with 'net-' in front of it should take IP addresses and IP addresses with the CIDR mask also.
The whitelisting DOES work by single IP. So i'm suspecting my format is wrong or there might be a bug in the listing (maybe the net-lsearch needs to come before lsearch?).
Any idea what might be wrong? This is the default exim config from DA (SpamBlocker v2 I think).
I check the exim.conf and do see the list line:
Code:
hostlist whitelist_hosts_ip = net-lsearch;/etc/virtual/whitelist_hosts
Also, the ACL seems to be in place correctly to allow that list before the denying DNSBL:
Code:
# sender hosts whitelist
# accept if sender host is in whitelist
accept hosts = +whitelist_hosts
accept hosts = +whitelist_hosts_ip
According to the exim docs, the 'lsearch' with 'net-' in front of it should take IP addresses and IP addresses with the CIDR mask also.
The whitelisting DOES work by single IP. So i'm suspecting my format is wrong or there might be a bug in the listing (maybe the net-lsearch needs to come before lsearch?).
Any idea what might be wrong? This is the default exim config from DA (SpamBlocker v2 I think).