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