30_exim4-config_check_mail 414 B

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