2 ### acl/20_exim4-config_local_deny_exceptions
3 #################################
5 # This is used to determine whitelisted senders and hosts.
6 # It checks for CONFDIR/host_local_deny_exceptions and
7 # CONFDIR/sender_local_deny_exceptions.
9 # It is meant to be used from some other acl entry.
11 # See exim4-config_files(5) for details.
13 # If the files do not exist, the white list never matches, which is
14 # the desired behaviour.
16 # The old file names CONFDIR/local_host_whitelist and
17 # CONFDIR/local_sender_whitelist will continue to be honored for a
18 # transition period. Their use is deprecated.
20 acl_local_deny_exceptions:
22 hosts = ${if exists{CONFDIR/host_local_deny_exceptions}\
23 {CONFDIR/host_local_deny_exceptions}\
26 senders = ${if exists{CONFDIR/sender_local_deny_exceptions}\
27 {CONFDIR/sender_local_deny_exceptions}\
30 hosts = ${if exists{CONFDIR/local_host_whitelist}\
31 {CONFDIR/local_host_whitelist}\
34 senders = ${if exists{CONFDIR/local_sender_whitelist}\
35 {CONFDIR/local_sender_whitelist}\
38 # This hook allows you to hook in your own ACLs without having to
39 # modify this file. If you do it like we suggest, you'll end up with
40 # a small performance penalty since there is an additional file being
41 # accessed. This doesn't happen if you leave the macro unset.
42 .ifdef LOCAL_DENY_EXCEPTIONS_LOCAL_ACL_FILE
43 .include LOCAL_DENY_EXCEPTIONS_LOCAL_ACL_FILE
46 # this is still supported for a transition period and is deprecated.
47 .ifdef WHITELIST_LOCAL_DENY_LOCAL_ACL_FILE
48 .include WHITELIST_LOCAL_DENY_LOCAL_ACL_FILE