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