7a6a3e7d3d185bc82a63954a8eff57dbee41b6f0
[matthijs/servers/drsnuggles.git] / etc / exim4 / conf.d / acl / 30_exim4-config_check_mail
1
2 ### acl/30_exim4-config_check_mail
3 #################################
4
5 # This access control list is used for every MAIL command in an incoming
6 # SMTP message. The tests are run in order until the address is either
7 # accepted or denied.
8 #
9 acl_check_mail:
10   .ifdef CHECK_MAIL_HELO_ISSUED
11   deny
12     message = no HELO given before MAIL command
13     condition = ${if def:sender_helo_name {no}{yes}}
14   .endif
15
16   accept