Retry: always use interface, if set, for retry DB key. Bug 1678
[users/jgh/exim.git] / test / confs / 0610
1 # Exim test configuration 0610
2
3 SERVER =
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 #primary_hostname = myhost.test.ex
8 rfc1413_query_timeout = 0s
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
11 log_selector = +sender_on_delivery
12 gecos_pattern = ""
13 gecos_name = CALLER_NAME
14
15 # ----- Main settings -----
16
17 acl_smtp_connect = conn_chk
18 acl_smtp_rcpt = accept
19
20 untrusted_set_sender = *
21 queue_only
22 queue_run_in_order
23
24 # ----- ACL -----
25
26 begin acl
27
28 conn_chk:
29   defer condition = ${if eq {SERVER}{server}}
30   accept
31
32 # ----- Routers -----
33
34 begin routers
35
36 client:
37   driver = accept
38   transport = $sender_address_local_part
39
40 # ----- Transports -----
41
42 begin transports
43
44 t1:
45   driver = smtp
46   allow_localhost
47   hosts = 127.0.0.1
48   port = PORT_D
49   interface = 127.0.0.1
50
51 t2:
52   driver = smtp
53   allow_localhost
54   hosts = 127.0.0.1
55   port = PORT_D
56   interface = 127.0.0.2
57
58 # ----- Retry -----
59
60 begin retry
61
62 * * F,5d,10s
63
64 # End
65