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