Testsuite: handle RC tagging convention
[exim.git] / test / confs / 0198
1 # Exim test configuration 0198
2
3 .include DIR/aux-var/std_conf_prefix
4
5 queue_run_in_order
6 trusted_users = CALLER
7
8 # This test originated as an Exim configuration check local parts before
9 # relaying certain domains to a specific host.
10
11 # We actually check this not by verifying, but by feeding in a message
12 # using BSMTP.
13
14 # ----- Main settings -----
15
16 domainlist local_domains = copy.domain
17
18 NEXTHOST = V4NET.0.0.1
19
20 # This is the file containing valid local parts, and its search type.
21
22 LOCALPARTFILE = DIR/aux-fixed/TESTNUM.locals
23 SEARCHTYPE = lsearch
24
25
26 # ----- Routers -----
27
28 begin routers
29
30 # This router passes all addresses to the passing-on transport. It is
31 # used for the domains for which no local part checking is being done.
32
33 passall:
34 driver = manualroute
35 domains = ! +local_domains
36 route_list = * NEXTHOST byname
37 transport = pass_on
38 no_more
39
40 # This router checks for the existence of the local part in a file; if
41 # found, the address is passed on for delivery to the next host.
42
43 check_file:
44 driver = accept
45 condition = ${lookup{$local_part}SEARCHTYPE{LOCALPARTFILE}}
46 retry_use_local_part
47 transport = pass_on
48
49
50 # ----- Transports -----
51
52 # This transport is used for passing the message on to the next host.
53
54 begin transports
55
56 pass_on:
57 driver = smtp
58 hosts_try_fastopen = :
59 connect_timeout = 1s
60 gethostbyname
61 hosts = NEXTHOST
62
63
64 # ----- Retry -----
65
66
67 begin retry
68
69 * * F,2h,15m; G,16h,1h,1.5; F,4d,8h
70
71
72 # End