Fix list-expansion for various domainlists, having included sublist elements. Bug...
[users/heiko/exim.git] / test / confs / 0101
1 # Exim test configuration 0101
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 domainlist local_domains = test.ex
9
10 qualify_domain = test.ex
11
12
13 # ----- Routers -----
14
15 begin routers
16
17 all:
18   driver = manualroute
19   domains = ! +local_domains
20   route_list = * 127.0.0.1 byname
21   self = send
22   transport = smtp
23   no_more
24
25 mmdf_localuser:
26   driver = accept
27   local_part_prefix = mmdf-
28   transport = mmdf_local_delivery
29
30 filtered_localuser:
31   driver = accept
32   local_part_prefix = filter-
33   transport = filtered_local_delivery
34
35 bsmtp_localuser:
36   driver = accept
37   local_parts = userz
38   transport = bsmtp_local_delivery
39
40 localuser:
41   driver = accept
42   local_parts = userx
43   transport = local_delivery
44
45
46 # ----- Transports -----
47
48 begin transports
49
50 smtp:
51   driver = smtp
52   port = PORT_S
53   hosts_try_fastopen = :
54
55 local_delivery:
56   driver = pipe
57   check_string = "From "
58   command = /bin/sh -c 'cat >>DIR/test-mail/$local_part'
59   escape_string = ">From "
60   user = CALLER
61   current_directory = /
62
63 bsmtp_local_delivery:
64   driver = pipe
65   use_bsmtp
66   command = /bin/sh -c 'cat >>DIR/test-mail/$local_part'
67   delivery_date_add
68   envelope_to_add
69   return_path_add
70   user = CALLER
71   current_directory = /
72
73 filtered_local_delivery:
74   driver = pipe
75   command = /bin/sh -c 'cat >>DIR/test-mail/$local_part'
76   delivery_date_add
77   envelope_to_add
78   return_path_add
79   transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
80   user = CALLER
81   current_directory = /
82
83 mmdf_local_delivery:
84   driver = pipe
85   check_string = "\1\1\1\1\n"
86   command = /bin/sh -c 'cat >>DIR/test-mail/$local_part'
87   escape_string = "\1\1\1\1 \n"
88   message_prefix = "\1\1\1\1\n"
89   message_suffix = "\1\1\1\1\n"
90   user = CALLER
91   current_directory = /
92
93 # End