Testsuite: Use explicit interface for send to localhost
[users/jgh/exim.git] / test / confs / 0041
1 # Exim test configuration 0041
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 domainlist local_domains = test.ex
14
15 acl_smtp_expn = check_expn
16 qualify_domain = test.ex
17 no_write_rejectlog
18
19
20 # ----- ACLs -----
21
22 begin acl
23
24 check_expn:
25   accept hosts = 2.2.2.2
26
27 # ----- Routers -----
28
29 begin routers
30
31 system_aliases:
32   driver = redirect
33   allow_defer
34   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
35   retry_use_local_part
36
37 localuser:
38   driver = accept
39   local_parts = userx
40   transport = local_delivery
41
42
43 # ----- Transports -----
44
45 begin transports
46
47 local_delivery:
48   driver = appendfile
49   delivery_date_add
50   envelope_to_add
51   file = DIR/test-mail/$local_part
52   return_path_add
53   user = CALLER
54
55
56 # ----- Retry -----
57
58 # End