Bugzilla #722
[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   local_part_suffix = -*
47   local_part_suffix_optional
48   allow_filter
49   data = "#Sieve filter\n$h_filter:"
50   user = CALLER
51   file_transport = t1
52   reply_transport = t3
53   sieve_vacation_directory = DIR/test-vacation-directory
54
55
56 # ----- Transports -----
57
58 begin transports
59
60 t1:
61   driver = appendfile
62   file = ${if eq{$address_file}{inbox} \
63               {DIR/test-mail/$local_part} \
64               {${if eq{${substr_0_1:$address_file}}{/} \
65                     {$address_file} \
66                     {DIR/test-mail/$address_file} \
67               }} \
68          }
69   delivery_date_add
70   envelope_to_add
71   return_path_add
72   user = CALLER
73
74 t2:
75   driver = appendfile
76   file = DIR/test-mail/$local_part
77   delivery_date_add
78   envelope_to_add
79   return_path_add
80   user = CALLER
81
82 t3:
83   driver = autoreply
84
85 # End