Testsuite: Use explicit interface for send to localhost
[users/heiko/exim.git] / test / confs / 0105
1 # Exim test configuration 0105
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 acl_smtp_rcpt = check_recipient
14 acl_smtp_data = check_message
15
16 domainlist local_domains = test.ex
17 qualify_domain = test.ex
18
19
20 # ----- Routers -----
21
22 begin routers
23
24 userlist:
25   driver = accept
26   condition = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.list}}
27   retry_use_local_part
28   transport = local_delivery
29
30 default:
31   driver = redirect
32   data = default@$domain
33   redirect_router = default_part2
34   retry_use_local_part
35
36 default_part2:
37   driver = accept
38   condition = ${if eq{$local_part@$domain}{default@$domain}{yes}{no}}
39   transport = local_delivery
40
41
42 # ----- Transports -----
43
44 begin transports
45
46 local_delivery:
47   driver = appendfile
48   delivery_date_add
49   envelope_to_add
50   file = DIR/test-mail/$local_part
51   return_path_add
52   user = CALLER
53
54 # End