725c9874 |
1 | |
2 | ### acl/40_exim4-config_check_data |
3 | ################################# |
4 | |
5 | acl_check_data: |
6 | |
7 | # Deny unless the address list headers are syntactically correct. |
8 | # |
9 | # If you enable this, you might reject legitimate mail. |
10 | .ifdef CHECK_DATA_VERIFY_HEADER_SYNTAX |
11 | deny |
12 | message = Message headers fail syntax check |
13 | !acl = acl_whitelist_local_deny |
14 | !verify = header_syntax |
15 | .endif |
16 | |
17 | |
18 | # require that there is a verifiable sender address in at least |
19 | # one of the "Sender:", "Reply-To:", or "From:" header lines. |
20 | .ifdef CHECK_DATA_VERIFY_HEADER_SENDER |
21 | deny |
22 | message = No verifiable sender address in message headers |
23 | !acl = acl_whitelist_local_deny |
24 | !verify = header_sender |
25 | .endif |
26 | |
27 | |
28 | # This hook allows you to hook in your own ACLs without having to |
29 | # modify this file. If you do it like we suggest, you'll end up with |
30 | # a small performance penalty since there is an additional file being |
31 | # accessed. This doesn't happen if you leave the macro unset. |
32 | .ifdef CHECK_DATA_LOCAL_ACL_FILE |
33 | .include CHECK_DATA_LOCAL_ACL_FILE |
34 | .endif |
35 | |
36 | |
37 | # accept otherwise |
38 | accept |