In my exim.conf:
acl_smtp_data = myacl_check_content
and in myacl_check_content I have:
deny log_message = myacl_check_content - from $h_from
message = myacl_check_content - from $h_from
hosts = 212.140.133.44
In normal running this does *not* block messages from 212.140.133.44
(one of our LAN machines -- we're just testing at present). This m/c
is using this address, as a sniffer proves.
However, when I run exim as
exim -bh 212.140.133.44
and go through the usual SMTP dialogue, I *do* get the expected
blocking, and the log shows, as expected:
LOG: 1B3ECc-0001AX-Im H=pluto.uit.co.uk (uit.co.uk)
[212.140.133.44] F=<root@???> rejected after DATA:
myacl_check_content - from fred.example.com
Am I being silly? (Be specific :-)