[Pkg-exim4-users] blacklisting not working despite following debian
documentation
Jeremiah Foster
jeremiah.foster at gmail.com
Wed Sep 13 10:17:21 UTC 2006
Hi there,
I am trying to stop a domain name [rima-tde.net] from sending spam to my
server. I am using the document /usr/share/doc/exim4-config/default-acl to
set up my exim4.conf.template. It says;
/etc/exim4/local_host_blacklist contains a list of IP addresses,
networks and host names whose messages will be denied with the error
message "locally blacklisted". This is a full exim 4 host list. Again,
negative items can be used here, and there is also an explicit
whitelist read in from /etc/exim4/local_host_whitelist, and whitelist
entries override blacklistings.
So my /etc/exim4/local_host_blacklist looks like this:
rima-tde.net
80.25.220.24
Yet when I do this to fake a SMTP connection;
exim -bh 80.25.220.24
The blacklisting fails. Here is the relevant snippet from the debugging
output:
>>> check hosts = ${if
exists{/etc/exim4/local_host_blacklist}{/etc/exim4/local_host_blacklist}{}}
>>> no IP address found for host rima-tde.net (during SMTP connection from
24.red-80-25-220.staticip.rima-tde.net (localhost) [ 80.25.220.24])
LOG: no IP address found for host rima-tde.net (during SMTP connection from
24.red-80-25-220.staticip.rima-tde.net (localhost) [ 80.25.220.24])
>>> host in "/etc/exim4/local_host_blacklist"? no (failed to find IP address
for rima-tde.net)
>>> deny: condition test failed
Does anyone know why the blacklist is failing?
Thank you,
Jeremiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20060913/bb1cce71/attachment.htm
More information about the Pkg-exim4-users
mailing list