Hi all,
Try as a might, I can't get any ACLs to work.
I'm using Exim 4.69 (split configuration) on a Debian box and I've edited:
/etc/exim4/conf.d/acl/00_exim4_config_header
to read:
begin acl
acl_smtp_connect:
deny
message = Go away!
hosts = 79.126.200.252
but when I do:
$ exim -bh 79.126.200.252
the connection is not refused:
**** SMTP testing session as if from host 79.126.200.252
**** but without any ident (RFC 1413) callback.
**** This is not for real!
>>> host in hosts_connection_nolog? no (option unset)
>>> host in host_lookup? yes (matched "*")
>>> looking up host name for 79.126.200.252
>>> IP address lookup using gethostbyaddr()
>>> IP address lookup failed: h_errno=1
LOG: no host name found for IP address 79.126.200.252
>>> host in host_reject_connection? no (option unset)
>>> host in sender_unqualified_hosts? no (option unset)
>>> host in recipient_unqualified_hosts? no (option unset)
>>> host in helo_verify_hosts? no (option unset)
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (option unset)
220 example.com ESMTP Exim 4.69 Fri, 11 Jun 2010 23:14:04 +0100
quit
221 example.com closing connection
As there's no mention of acl_smtp_connect in the output I've also tried
creating the same stanza for host_reject_connnection, but without success.
What am I doing wrong? Any help/tips much appreciated.
Sebastian
P.S. I'm also not having any luck adding IP addresses to
/etc/exim4/local_host_blacklist - supposedly a pre-configured ACL in
Debian installations...
--
Emacs' AlsaPlayer - Music Without Jolts
Lightweight, full-featured and mindful of your idyllic happiness.
http://home.gna.org/eap