Fix CVE-2016-1531
[users/heiko/exim.git] / test / confs / 0416
1 # Exim test configuration 0416
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 primary_hostname = mail.test.ex
15 qualify_domain = test.ex
16 queue_only
17 no_queue_only_override
18
19 acl_smtp_helo = helo
20 acl_smtp_mail = mail
21 acl_smtp_rcpt = ${if eq{$local_part}{nested_discard}{nested_rcpt}{rcpt}}
22 acl_smtp_data = data
23 acl_not_smtp = notsmtp
24
25 log_selector = +received_recipients
26
27
28 # ----- ACLs -----
29
30 begin acl
31
32 helo:
33   discard
34
35 mail:
36   discard senders = discard@x.y
37           log_message = discard message 2
38   accept
39
40 rcpt:
41   discard local_parts = discard
42           log_message = discard message 1
43   accept
44
45 nested_rcpt:
46   accept  acl = helo
47
48 data:
49   discard condition = ${if match{$recipients}{data_message_discard}}
50           log_message = discard message 3
51   discard condition = $h_discard:
52   accept
53
54 notsmtp:
55   discard condition = ${if match{$recipients}{data_message_discard}}
56           log_message = discard message 4
57   discard condition = $h_discard:
58   accept
59
60 # End