Fix CVE-2016-1531
[exim.git] / test / confs / 2126
1 # Exim test configuration 2126
2
3 SERVER=
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 rfc1413_query_timeout = 0s
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/SERVER%slog
12 gecos_pattern = ""
13 gecos_name = CALLER_NAME
14
15 # ----- Main settings -----
16
17 acl_smtp_rcpt = check_rcpt
18 log_selector = +tls_peerdn
19
20 tls_advertise_hosts = HOSTIPV4
21 tls_certificate = DIR/aux-fixed/cert1
22 tls_privatekey = DIR/aux-fixed/cert1
23
24
25 # ----- ACLs -----
26
27 begin acl
28
29 check_rcpt:
30   accept  local_parts = userx
31
32   defer   local_parts = usery
33           hosts       = 127.0.0.1
34
35   accept  delay       = 1s
36
37
38 # ----- Routers -----
39
40 begin routers
41
42 r0:
43   driver = accept
44   condition = ${if !eq {$sender_host_address}{}}
45   transport = t2
46
47 r1:
48   driver = accept
49   transport = t1
50
51
52 # ----- Transports -----
53
54 begin transports
55
56 t1:
57   driver = smtp
58   hosts = 127.0.0.1 : HOSTIPV4
59   port = PORT_D
60   allow_localhost
61
62 t2:
63   driver = appendfile
64   file = /dev/null
65   user = CALLER
66
67 # End