dd17eb840a403b2612812cb131cc99077e6de1d1
[exim.git] / test / confs / 0102
1 # Exim test configuration 0102
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 domainlist local_domains = test.ex
14
15 qualify_domain = test.ex
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 batch:
23   driver = accept
24   local_part_prefix = batch-
25   retry_use_local_part
26   transport = batch_bsmtp1
27
28 localuser:
29   driver = accept
30   local_part_prefix = bsmtp_ : mmdf_
31   local_part_prefix_optional
32   retry_use_local_part
33   transport = ${local_part_prefix}local_delivery
34
35
36 # ----- Transports -----
37
38 begin transports
39
40 local_delivery:
41   driver = appendfile
42   delivery_date_add
43   envelope_to_add
44   file = DIR/test-mail/$local_part
45   file_format = "From       : local_delivery :\
46                  MAIL       : bsmtp_local_delivery :\
47                  \1\1\1\1\n : mmdf_local_delivery :\
48                  tpmissing  : tpmissing"
49   return_path_add
50   user = CALLER
51
52 bsmtp_local_delivery:
53   driver = appendfile
54   batch_max = 100
55   use_bsmtp
56   delivery_date_add
57   envelope_to_add
58   file = DIR/test-mail/$local_part
59   return_path_add
60   user = CALLER
61
62 mmdf_local_delivery:
63   driver = appendfile
64   check_string = "\1\1\1\1\n"
65   escape_string = "\1\1\1\1 \n"
66   file = DIR/test-mail/$local_part
67   message_prefix = "\1\1\1\1\n"
68   message_suffix = "\1\1\1\1\n"
69   user = CALLER
70
71 batch_bsmtp1:
72   driver = appendfile
73   batch_max = 100
74   use_bsmtp
75   file = DIR/test-mail/batched
76   file_format = "MAIL : batch_bsmtp2"
77   user = CALLER
78
79 batch_bsmtp2:
80   driver = appendfile
81   batch_max = 100
82   use_bsmtp
83   file = DIR/test-mail/batched
84   user = CALLER
85
86 # ----- Retry -----
87
88 begin retry
89
90 * * F,2d,2d
91
92 # End