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