--
Hi all. I'm having trouble setting up an ACL condition that denies
hosts whose IP address is listed in a DBM file.
The ACL contains:
deny hosts = dbm;/usr/local/exim/etc/ipbl.db
ipbl.db is a dbm file created by exim_dbmbuild from a text file
containing 1 IP address per line. This ACL fails to work, however. It
wants hostnames, not IP addresses. But I don't want to block hostnames,
I want to block IP addresses.
ipbl contains 10.1.1.1. The output of 'exim -bh 10.1.1.1' includes:
>>> processing "deny"
>>> check hosts = dbm;/usr/local/exim/etc/ipbl.db
>>> sender host name required, to match against dbm;/usr/local/exim/etc/ipbl.db
>>> looking up host name for 10.1.1.1
>>> IP address lookup failed: h_errno=1
LOG: no host name found for IP address 10.1.1.1
>>> host in "dbm;/usr/local/exim/etc/ipbl.db"? no (failed to find host name for 10.1.1.1)
>>> deny: condition test failed
If I list 10.1.1.1 on the "deny hosts" line, like this:
deny hosts = 10.1.1.1 : dbm;/usr/local/exim/etc/ipbl.db
...Then it works.
What am I doing wrong?
Thanks.
noah
--
Noah Meyerhans System Administrator
MIT Computer Science and Artificial Intelligence Laboratory
--
[ Content of type application/pgp-signature deleted ]
--