Merge hcoop user .forward rules
[hcoop/zz_old/config/exim4-hopper.git] / conf.d / acl / 20_exim4-config_local_deny_exceptions
CommitLineData
725c9874 1
d38e06ff 2### acl/20_exim4-config_local_deny_exceptions
725c9874 3#################################
4
5# This is used to determine whitelisted senders and hosts.
d38e06ff
CE
6# It checks for CONFDIR/host_local_deny_exceptions and
7# CONFDIR/sender_local_deny_exceptions.
725c9874 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.
d38e06ff
CE
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.
725c9874 19
d38e06ff
CE
20acl_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 {}}
725c9874 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.
d38e06ff
CE
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.
725c9874 47 .ifdef WHITELIST_LOCAL_DENY_LOCAL_ACL_FILE
48 .include WHITELIST_LOCAL_DENY_LOCAL_ACL_FILE
49 .endif