In the default exim4 install on Debian with split configuration files I have created a custom file at /etc/exim4/conf.d/acl/33_conf
with the following content:
acl_not_smtp:
defer log_message = testing defer or deny
Then I am testin the setup with the date|mail -s test [email protected]
command on the exim box and the email gets sent no problem.
Why the email isn't deferred or denied?
The missing configuration part is the line:
placed just before
which happens to be in some other file of the default install, namely
/etc/exim4/conf.d/acl/00_exim4-config_header
Apparently, placing it in the same file as the ACL definition itself,
/etc/exim4/conf.d/acl/33_conf
, that is afterbegin acl
, is not allowed