Fix CVE-2016-1531
[exim.git] / test / confs / 2108
1 # Exim test configuration 2108
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
16 # ----- Main settings -----
17
18 domainlist local_domains = test.ex : *.test.ex
19
20 acl_smtp_rcpt = check_recipient
21 log_selector = +tls_peerdn
22 queue_only
23 queue_run_in_order
24 remote_max_parallel = 1
25
26 tls_advertise_hosts = *
27
28 # Set certificate only if server
29
30 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
31
32
33 # ------ ACL ------
34
35 begin acl
36
37 check_recipient:
38   accept  domains = +local_domains
39   deny    message = relay not permitted
40
41
42 # ----- Routers -----
43
44 begin routers
45
46 client:
47   driver = accept
48   condition = ${if eq {SERVER}{server}{no}{yes}}
49   retry_use_local_part
50   transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
51
52 server:
53   driver = accept
54   retry_use_local_part
55   transport = local_delivery
56
57
58 # ----- Transports -----
59
60 begin transports
61
62 local_delivery:
63   driver = appendfile
64   file = DIR/test-mail/$local_part
65   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
66   user = CALLER
67
68 send_to_server1:
69   driver = smtp
70   allow_localhost
71   hosts = 127.0.0.1
72   port = PORT_D
73   helo_data = helo.data.changed
74
75 send_to_server2:
76   driver = smtp
77   allow_localhost
78   hosts = HOSTIPV4
79   port = PORT_D
80
81
82 # ----- Retry -----
83
84
85 begin retry
86
87 * * F,5d,10s
88
89
90 # End