Testsuite: avoid assuming 127.0.0.2 is a viable sending address
[users/heiko/exim.git] / test / confs / 4950
1 # Exim test configuration 4950
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9 tls_advertise_hosts =
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 lookuphost:
25   driver = dnslookup
26   domains = ! +local_domains
27   translate_ip_address = "\
28     ${if eq {${mask:$host_address/24}}{V4NET.11.12.0/24}{1.2.3.4}\
29     {${lookup{${mask:$host_address/27}}lsearch{DIR/aux-var/TESTNUM.tr}{$value}fail}}}"
30   transport = smtp
31   no_more
32
33
34 # ----- Transports -----
35
36 begin transports
37
38 smtp:
39   driver = smtp
40
41
42 # End