Testsuite: avoid assuming 127.0.0.2 is a viable sending address
[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 tls_advertise_hosts =
15
16 # ----- Main settings -----
17
18 acl_smtp_connect = conn_chk
19 acl_smtp_rcpt = accept
20
21 untrusted_set_sender = *
22 queue_only
23 queue_run_in_order
24
25 # ----- ACL -----
26
27 begin acl
28
29 conn_chk:
30   defer condition = ${if eq {SERVER}{server}}
31   accept
32
33 # ----- Routers -----
34
35 begin routers
36
37 client:
38   driver = accept
39   transport = $sender_address_local_part
40
41 # ----- Transports -----
42
43 begin transports
44
45 t1:
46   driver = smtp
47   allow_localhost
48   hosts = 127.0.0.1
49   port = PORT_D
50   interface = 127.0.0.1
51
52 t2:
53   driver = smtp
54   allow_localhost
55   hosts = 127.0.0.1
56   port = PORT_D
57   interface = HOSTIPV4
58
59 # ----- Retry -----
60
61 begin retry
62
63 * * F,5d,10s
64
65 # End
66