Fix CVE-2016-1531
[exim.git] / test / confs / 0026
CommitLineData
afda344b
PH
1# Exim test configuration 0026
2
3exim_path = EXIM_PATH
bc3c7bb7 4keep_environment =
afda344b
PH
5host_lookup_order = bydns
6primary_hostname = myhost.test.ex
afda344b
PH
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
23f3dc67 11tls_advertise_hosts =
afda344b
PH
12
13# ----- Main settings -----
14
15domainlist local_domains = test.ex
16
17acl_smtp_rcpt = accept
18acl_smtp_data = acl_data
19
20trusted_users = CALLER
21
22# ------ ACLs ------
23
24begin acl
25
26acl_data:
27 deny log_message = body contains trigger
28 condition = ${if match{$message_body}{trigger}{yes}{no}}
cf02e6b2 29 warn logwrite = \$h_from: '$h_from:'
afda344b
PH
30 require verify = header_syntax
31 warn message = X-warning: this is a test warning
32 accept senders = ! :
33 accept verify = header_sender
34
35
36# ------ Routers ------
37
38begin routers
39
40r1:
41 driver = dnslookup
42 domains = ! +local_domains
43 transport = dev_null
44 no_more
45
46r2:
47 driver = accept
48 local_parts = userx : postmaster
49 transport = local_delivery
50
51
52# ------ Transports ------
53
54begin transports
55
56dev_null:
57 driver = appendfile
58 file = /dev/null
59 user = CALLER
60
61local_delivery:
62 driver = appendfile
63 file = DIR/test-mail/$local_part
64 user = CALLER
65
66# End