More test commits.
[users/jgh/exim.git] / test / confs / 0428
1 # Exim test configuration 0428
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 primary_hostname = mail.test.ex
14 qualify_domain = test.ex
15 trusted_users = CALLER
16
17 # ----- Routers -----
18
19 begin routers
20
21 rb:
22   driver = accept
23   senders = :
24   transport = t2
25
26 r0:
27   driver = redirect
28   local_parts = redirected
29   allow_filter
30   user = CALLER
31   file_transport = t1
32   data = "#Sieve filter\n keep;"
33
34 r1:
35   driver = redirect
36   local_parts = ^restrict-
37   allow_filter
38   forbid_file
39   skip_syntax_errors
40   data = "#Sieve filter\n$h_filter:"
41   user = CALLER
42   file_transport = t1
43
44 r2:
45   driver = redirect
46   allow_filter
47   data = "#Sieve filter\n$h_filter:"
48   user = CALLER
49   file_transport = t1
50   reply_transport = t3
51   sieve_vacation_directory = DIR/test-vacation-directory
52
53
54 # ----- Transports -----
55
56 begin transports
57
58 t1:
59   driver = appendfile
60   file = ${if eq{$address_file}{inbox} \
61               {DIR/test-mail/$local_part} \
62               {${if eq{${substr_0_1:$address_file}}{/} \
63                     {$address_file} \
64                     {DIR/test-mail/$address_file} \
65               }} \
66          }
67   delivery_date_add
68   envelope_to_add
69   return_path_add
70   user = CALLER
71
72 t2:
73   driver = appendfile
74   file = DIR/test-mail/$local_part
75   delivery_date_add
76   envelope_to_add
77   return_path_add
78   user = CALLER
79
80 t3:
81   driver = autoreply
82
83 # End