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