Fix CVE-2016-1531
[users/jgh/exim.git] / test / confs / 0539
1 # Exim test configuration 0539
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11 tls_advertise_hosts =
12
13 # ----- Main settings -----
14
15 acl_not_smtp = not_smtp
16 acl_smtp_mail = check_mail
17 acl_smtp_rcpt = check_rcpt
18 acl_smtp_predata = predata
19
20
21 # ----- ACLs -----
22
23 begin acl
24
25 check_mail:
26   deny  senders = main@test.ex
27         log_reject_target = main
28   deny  senders = reject@test.ex
29         log_reject_target = reject
30   deny  senders = both@test.ex
31         log_reject_target = <, main, reject
32   deny  senders = panic@test.ex
33         log_reject_target = panic
34   deny  senders = none@test.ex
35         log_reject_target =
36   accept
37
38 check_rcpt:
39   deny  local_parts = main
40         log_reject_target = main
41   deny  local_parts = reject
42         log_reject_target = reject
43   deny  local_parts = both
44         log_reject_target = <, main, reject
45   deny  local_parts = panic
46         log_reject_target = panic
47   deny  local_parts = none
48         log_reject_target =
49   accept
50
51 predata:
52   deny  log_reject_target = main
53         log_message = Not today
54
55 not_smtp:
56   deny  log_reject_target = reject
57         log_message = Nyet
58
59
60 # End