| 1 | |
| 2 | ### acl/20_exim4-config_local_deny_exceptions |
| 3 | ################################# |
| 4 | |
| 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. |
| 8 | # |
| 9 | # It is meant to be used from some other acl entry. |
| 10 | # |
| 11 | # See exim4-config_files(5) for details. |
| 12 | # |
| 13 | # If the files do not exist, the white list never matches, which is |
| 14 | # the desired behaviour. |
| 15 | # |
| 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. |
| 19 | |
| 20 | acl_local_deny_exceptions: |
| 21 | accept |
| 22 | hosts = ${if exists{CONFDIR/host_local_deny_exceptions}\ |
| 23 | {CONFDIR/host_local_deny_exceptions}\ |
| 24 | {}} |
| 25 | accept |
| 26 | senders = ${if exists{CONFDIR/sender_local_deny_exceptions}\ |
| 27 | {CONFDIR/sender_local_deny_exceptions}\ |
| 28 | {}} |
| 29 | accept |
| 30 | hosts = ${if exists{CONFDIR/local_host_whitelist}\ |
| 31 | {CONFDIR/local_host_whitelist}\ |
| 32 | {}} |
| 33 | accept |
| 34 | senders = ${if exists{CONFDIR/local_sender_whitelist}\ |
| 35 | {CONFDIR/local_sender_whitelist}\ |
| 36 | {}} |
| 37 | |
| 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 |
| 44 | .endif |
| 45 | |
| 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 |
| 49 | .endif |