Testsuite: Add EXIM_TEST_NUMBER to the environment
[users/heiko/exim.git] / test / confs / 4950
1 # Exim test configuration 4950
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 acl_smtp_rcpt = check_recipient
9 acl_smtp_data = check_message
10
11 domainlist local_domains = test.ex
12 qualify_domain = test.ex
13
14
15 # ----- Routers -----
16
17 begin routers
18
19 lookuphost:
20   driver = dnslookup
21   domains = ! +local_domains
22   translate_ip_address = "\
23     ${if eq {${mask:$host_address/24}}{V4NET.11.12.0/24}{1.2.3.4}\
24     {${lookup{${mask:$host_address/27}}lsearch{DIR/aux-var/TESTNUM.tr}{$value}fail}}}"
25   transport = smtp
26   no_more
27
28
29 # ----- Transports -----
30
31 begin transports
32
33 smtp:
34   driver = smtp
35
36
37 # End