Merge branch 'master'
[users/jgh/exim.git] / test / confs / 0402
1 # Exim test configuration 0402
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 primary_hostname = mail.test.ex
15 qualify_domain = test.ex
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 r1:
23   driver = accept
24   local_parts = CALLER
25   router_home_directory = /non-exist/$local_part
26   transport = t1
27
28 r2:
29   driver = accept
30   local_parts = usery
31   router_home_directory = /non-exist/$domain
32   transport_home_directory = /non-exist/$local_part
33   transport = t1
34
35 r3:
36   driver = accept
37   local_parts = userz
38   router_home_directory = /non-exist/$domain
39   transport_home_directory = /non-exist/junk
40   transport = t2
41
42 r4:
43   driver = redirect
44   local_parts = CALLER
45   local_part_prefix = *+
46   router_home_directory = /non-exist/$local_part
47   file_transport = ft1
48   data = DIR/test-mail/junk
49
50 r5:
51   driver = redirect
52   local_parts = usery
53   local_part_prefix = *+
54   router_home_directory = /non-exist/$domain
55   transport_home_directory = /non-exist/$local_part
56   file_transport = ft1
57   data = DIR/test-mail/junk
58
59
60 # ----- Transports -----
61
62 begin transports
63
64 t1:
65   driver = appendfile
66   file = /dev/null
67   user = CALLER
68   current_directory = /
69
70 ft1:
71   driver = appendfile
72   user = CALLER
73   current_directory = /
74
75 t2:
76   driver = appendfile
77   file = /dev/null
78   home_directory = /$local_part
79   user = CALLER
80   current_directory = /
81
82
83 # End