Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- acl_check_rcpt:
- accept hosts = :
- deny message = Restricted characters in address
- domains = +local_domains
- local_parts = ^[.] : ^.*[@%!/|]
- deny message = Restricted characters in address
- domains = !+local_domains
- local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
- deny message = Rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text
- hosts = !+whitelist
- dnslists = ${readfile {/etc/exim4/dnsbl.conf}{:}}
- accept authenticated = *
- control = submission/domain=
- accept hosts = +relay_from_hosts
- control = submission
- accept domains = +local_domains : +relay_to_domains
- verify = recipient
- .ifdef CLAMD
- warn set acl_m0 = no
- warn condition = ${if exists {/etc/exim4/domains/$domain/antivirus}{yes}{no}}
- set acl_m0 = yes
- .endif
- .ifdef SPAMASSASSIN
- warn set acl_m1 = no
- warn condition = ${if exists {/etc/exim4/domains/$domain/antispam}{yes}{no}}
- set acl_m1 = yes
- .endif
- deny
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement