Fix CVE-2016-1531
[exim.git] / test / confs / 0611
1 # Exim test configuration 0611
2 # max_parallel on transport
3
4 SERVER=
5
6 exim_path = EXIM_PATH
7 keep_environment =
8 host_lookup_order = bydns
9 primary_hostname = myhost.test.ex
10 spool_directory = DIR/spool
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13 tls_advertise_hosts =
14
15 # ----- Main settings -----
16
17 log_file_path = DIR/spool/log/${if eq {SERVER}{server} {server_}{}}%slog
18
19 qualify_domain = test.ex
20 queue_run_in_order
21 log_selector = +received_recipients
22
23 acl_smtp_rcpt = accept ${if eq {SERVER}{server} {delay = 2s}}
24
25 # ----- Routers -----
26
27 begin routers
28
29 server:
30   condition = ${if eq {SERVER}{server} {yes}{no}}
31   driver = redirect
32   data = :blackhole:
33
34 rmt_client:
35   local_parts = a:b:c
36   driver =      manualroute
37   route_list =  * 127.0.0.1
38   self =        send
39   transport =   smtp
40
41 lcl_client:
42   local_parts = x:y:z
43   driver =      accept
44   transport =   pipe
45
46 # ----- Transports -----
47
48 begin transports
49
50 smtp:
51   driver =      smtp
52   port =        PORT_D
53   max_rcpt =    1
54   connection_max_messages = 1
55   max_parallel = 2
56
57 pipe:
58   driver =      pipe
59   command =     "sleep 2; cat > /dev/null"
60   use_shell =   true
61   max_parallel = 1
62
63 # ----- Retry -----
64
65
66 begin retry
67
68 * * F,1h,10m
69
70
71 # End