X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fexim4%2Fconf.d%2Facl%2F30_exim4-config_check_mail;fp=etc%2Fexim4%2Fconf.d%2Facl%2F30_exim4-config_check_mail;h=7a6a3e7d3d185bc82a63954a8eff57dbee41b6f0;hb=0625c01974df320cade3f9cd56674bcdfee0d9f3;hp=0000000000000000000000000000000000000000;hpb=101c70d3c1375d6a434f87465bdba6722ad764ed;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/exim4/conf.d/acl/30_exim4-config_check_mail b/etc/exim4/conf.d/acl/30_exim4-config_check_mail new file mode 100644 index 0000000..7a6a3e7 --- /dev/null +++ b/etc/exim4/conf.d/acl/30_exim4-config_check_mail @@ -0,0 +1,16 @@ + +### acl/30_exim4-config_check_mail +################################# + +# This access control list is used for every MAIL command in an incoming +# SMTP message. The tests are run in order until the address is either +# accepted or denied. +# +acl_check_mail: + .ifdef CHECK_MAIL_HELO_ISSUED + deny + message = no HELO given before MAIL command + condition = ${if def:sender_helo_name {no}{yes}} + .endif + + accept