Fix CVE-2016-1531
[exim.git] / test / confs / 0603
CommitLineData
a39bd74d
JB
1# Exim test configuration 0603
2# Add several messages going to the same location
3# And change smtp output based on senders domain
4
5hostlist loopback = <; 127.0.0.0/8 ; 0.0.0.0 ; ::1 ; 0000:0000:0000:0000:0000:ffff
6untrusted_set_sender = *
7
8SERVER =
9
10exim_path = EXIM_PATH
bc3c7bb7 11keep_environment =
a39bd74d
JB
12host_lookup_order = bydns
13#primary_hostname = myhost.test.ex
14rfc1413_query_timeout = 0s
15spool_directory = DIR/spool
16log_file_path = DIR/spool/log/SERVER%slog
17log_selector = +sender_on_delivery
18gecos_pattern = ""
19gecos_name = CALLER_NAME
23f3dc67 20tls_advertise_hosts =
a39bd74d
JB
21
22# ----- Main settings -----
23
24acl_smtp_rcpt = accept
25
26queue_only
27queue_run_in_order
28
29# ----- Routers -----
30
31begin routers
32
33client:
34 driver = accept
35 condition = ${if eq {SERVER}{server}{no}{yes}}
36 transport = send_to_server
37
38server:
39 driver = accept
40 transport = send_to_server
41
42
43# ----- Transports -----
44
45begin transports
46
47send_to_server:
48 driver = smtp
49 connection_max_messages = 0
50 allow_localhost
51 hosts = 127.0.0.1
52 port = PORT_D
78ca7fd5
JH
53 # assumes that HOSTIPV4 can send to 127.0.0.1
54 interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{HOSTIPV4}}
a39bd74d
JB
55
56# ----- Retry -----
57
58begin retry
59
60* * F,5d,10s
61
62# End
63