Fix CVE-2016-1531
[exim.git] / test / confs / 5400
1 # Exim test configuration 5400
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 log_selector = +received_recipients
14
15 # ----- Main settings -----
16
17 domainlist local_domains = test.ex : *.test.ex
18
19 acl_smtp_rcpt = ar
20
21
22 # ----- ACLs -----
23
24 begin acl
25
26 ar:
27         accept control = cutthrough_delivery
28         logwrite = rcpt for $local_part@$domain
29
30 # ----- Routers -----
31
32 begin routers
33
34 dns:
35   driver = dnslookup
36   domains = localhost.test.ex : localhost4.test.ex : thishost.test.ex
37   self = send
38   transport = smtp
39
40 all:
41   driver = manualroute
42   domains = ! +local_domains
43   route_list = special.com HOSTIPV4 ; * 127.0.0.1
44   self = send
45   transport = ${if eq {special_tpt}{$local_part} {smtp2}{smtp}}
46   headers_remove = X-hdr-rtr
47   headers_add =    X-hdr-rtr-new: $h_X-hdr-rtr:+++
48   no_more
49
50
51 # ----- Transports -----
52
53 begin transports
54
55 smtp:
56   driver = smtp
57   interface = HOSTIPV4
58   port = PORT_S
59   headers_add =  ${if def:h_X-hdr-rtr {X-hdr-tpt-new: new} {}}
60
61 smtp2:
62   driver = smtp
63   interface = HOSTIPV4
64   port = PORT_S
65
66
67 # End