Advertisement
Guest User

acl_smtp_rcpt

a guest
Apr 21st, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. acl_check_rcpt:
  2. accept hosts = :
  3.  
  4. deny message = Restricted characters in address
  5. domains = +local_domains
  6. local_parts = ^[.] : ^.*[@%!/|]
  7.  
  8. deny message = Restricted characters in address
  9. domains = !+local_domains
  10. local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
  11.  
  12. deny message = Rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text
  13. hosts = !+whitelist
  14. dnslists = ${readfile {/etc/exim4/dnsbl.conf}{:}}
  15.  
  16. accept authenticated = *
  17. control = submission/domain=
  18.  
  19. accept hosts = +relay_from_hosts
  20. control = submission
  21.  
  22. accept domains = +local_domains : +relay_to_domains
  23. verify = recipient
  24.  
  25. .ifdef CLAMD
  26. warn set acl_m0 = no
  27.  
  28. warn condition = ${if exists {/etc/exim4/domains/$domain/antivirus}{yes}{no}}
  29. set acl_m0 = yes
  30. .endif
  31.  
  32. .ifdef SPAMASSASSIN
  33. warn set acl_m1 = no
  34.  
  35. warn condition = ${if exists {/etc/exim4/domains/$domain/antispam}{yes}{no}}
  36. set acl_m1 = yes
  37. .endif
  38.  
  39. deny
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement