725c9874 |
1 | |
2 | ### acl/20_exim4-config_whitelist_local_deny |
3 | ################################# |
4 | |
5 | # This is used to determine whitelisted senders and hosts. |
6 | # It checks for CONFDIR/local_host_whitelist and |
7 | # CONFDIR/local_sender_whitelist. |
8 | # |
9 | # It is meant to be used from some other acl entry. |
10 | # |
d2b0a567 |
11 | # See exim4-config_files(5) for details. |
725c9874 |
12 | # |
13 | # If the files do not exist, the white list never matches, which is |
14 | # the desired behaviour. |
15 | |
16 | acl_whitelist_local_deny: |
17 | accept |
18 | hosts = ${if exists{CONFDIR/local_host_whitelist}\ |
19 | {CONFDIR/local_host_whitelist}\ |
20 | {}} |
21 | accept |
22 | senders = ${if exists{CONFDIR/local_sender_whitelist}\ |
23 | {CONFDIR/local_sender_whitelist}\ |
24 | {}} |
25 | |
26 | # This hook allows you to hook in your own ACLs without having to |
27 | # modify this file. If you do it like we suggest, you'll end up with |
28 | # a small performance penalty since there is an additional file being |
29 | # accessed. This doesn't happen if you leave the macro unset. |
30 | .ifdef WHITELIST_LOCAL_DENY_LOCAL_ACL_FILE |
31 | .include WHITELIST_LOCAL_DENY_LOCAL_ACL_FILE |
32 | .endif |