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