Testsuite: wait for queue runner finish
[users/jgh/exim.git] / test / confs / 1003
1 # Exim test configuration 1003
2
3 SERVER =
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/SERVER%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 acl_smtp_rcpt = accept
16
17 queue_only
18 queue_run_in_order
19
20
21 # ----- Routers -----
22
23 begin routers
24
25 client:
26   driver = accept
27   condition = ${if eq {SERVER}{server}{no}{yes}}
28   transport = send_to_server
29
30 server:
31   driver = accept
32   transport = local_delivery
33
34
35 # ----- Transports -----
36
37 begin transports
38
39 local_delivery:
40   driver = appendfile
41   file = DIR/test-mail/$local_part
42   user = CALLER
43
44 send_to_server:
45   driver = smtp
46   allow_localhost
47   hosts = $h_hosts
48   port = PORT_D
49   interface = ${expand:$h_interface:}
50
51
52 # ----- Retry -----
53
54 begin retry
55
56 * * F,5d,10s
57
58 # End