Testsuite: make common-code config usable in non-TLS builds
[users/jgh/exim.git] / test / confs / 0252
1 # Exim test configuration 0252
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 domainlist local_domains = test.ex : *.test.ex
10 trusted_users = CALLER
11
12
13 # ----- Routers -----
14
15 begin routers
16
17 a:
18   driver = redirect
19   allow_defer
20   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
21   errors_to = alias@test.ex
22   retry_use_local_part
23
24 f:
25   driver = redirect
26   no_check_local_user
27   errors_to = forward@test.ex
28   file = DIR/aux-fixed/TESTNUM.forward
29   local_parts = forward
30   retry_use_local_part
31
32 s:
33   driver = redirect
34   allow_defer
35   data = from-smart@test.ex
36   errors_to = smart@test.ex
37   local_parts = smart
38   retry_use_local_part
39
40 u:
41   driver = accept
42   errors_to = postmaster@test.ex
43   retry_use_local_part
44   transport = t1
45   unseen
46
47 z:
48   driver = accept
49   retry_use_local_part
50   transport = t2
51
52
53 # ----- Transports -----
54
55 begin transports
56
57 t1:
58   driver = appendfile
59   file = DIR/test-mail/t1
60   return_path_add
61   user = CALLER
62
63 t2:
64   driver = appendfile
65   file = DIR/test-mail/t2
66   return_path_add
67   user = CALLER
68
69
70 # ----- Retry -----
71
72
73 begin retry
74
75 * * F,5d,10s
76
77
78 # End