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