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