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