Imported Debian patch 4.84-8
[hcoop/debian/exim4.git] / debian / debconf / 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