Hi there,<br><br>I am trying to stop a domain name [<a href="http://rima-tde.net">rima-tde.net</a>] 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;<br><br>/etc/exim4/local_host_blacklist contains a list of IP addresses,<br>networks and host names whose messages will be denied with the error<br>message &quot;locally blacklisted&quot;. This is a full exim 4 host list. Again,
<br>negative items can be used here, and there is also an explicit<br>whitelist read in from /etc/exim4/local_host_whitelist, and whitelist<br>entries override blacklistings.<br><br>So my /etc/exim4/local_host_blacklist looks like this:
<br><br><a href="http://rima-tde.net">rima-tde.net</a><br><a href="http://80.25.220.24">80.25.220.24</a><br><br>Yet when I do this to fake a SMTP connection;<br><br>exim -bh <a href="http://80.25.220.24">80.25.220.24</a><br>
<br>The blacklisting fails. Here is the relevant snippet from the debugging output:<br><br>&gt;&gt;&gt; check hosts = ${if exists{/etc/exim4/local_host_blacklist}{/etc/exim4/local_host_blacklist}{}}<br>&gt;&gt;&gt; no IP address found for host 
<a href="http://rima-tde.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
rima-tde.net</a> (during SMTP connection from 
<a href="http://24.red-80-25-220.staticip.rima-tde.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">24.red-80-25-220.staticip.rima-tde.net</a> (localhost) [<a href="http://80.25.220.24" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

80.25.220.24</a>])<br>LOG: no IP address found for host <a href="http://rima-tde.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
rima-tde.net</a> (during SMTP connection from <a href="http://24.red-80-25-220.staticip.rima-tde.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">24.red-80-25-220.staticip.rima-tde.net</a> (localhost) [
<a href="http://80.25.220.24" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">80.25.220.24</a>])<br>&gt;&gt;&gt; host in &quot;/etc/exim4/local_host_blacklist&quot;? no (failed to find IP address for 
<a href="http://rima-tde.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rima-tde.net</a>)<br>&gt;&gt;&gt; deny: condition test failed<br><br>Does anyone know why the blacklist is failing?<br>
<br>Thank you,<br><br>&nbsp;&nbsp;&nbsp; Jeremiah<br><br>