Fix CVE-2016-1531
[exim.git] / test / confs / 0102
1 # Exim test configuration 0102
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
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 batch:
24   driver = accept
25   local_part_prefix = batch-
26   retry_use_local_part
27   transport = batch_bsmtp1
28
29 localuser:
30   driver = accept
31   local_part_prefix = bsmtp_ : mmdf_
32   local_part_prefix_optional
33   retry_use_local_part
34   transport = ${local_part_prefix}local_delivery
35
36
37 # ----- Transports -----
38
39 begin transports
40
41 local_delivery:
42   driver = appendfile
43   delivery_date_add
44   envelope_to_add
45   file = DIR/test-mail/$local_part
46   file_format = "From       : local_delivery :\
47                  MAIL       : bsmtp_local_delivery :\
48                  \1\1\1\1\n : mmdf_local_delivery :\
49                  tpmissing  : tpmissing"
50   return_path_add
51   user = CALLER
52
53 bsmtp_local_delivery:
54   driver = appendfile
55   batch_max = 100
56   use_bsmtp
57   delivery_date_add
58   envelope_to_add
59   file = DIR/test-mail/$local_part
60   return_path_add
61   user = CALLER
62
63 mmdf_local_delivery:
64   driver = appendfile
65   check_string = "\1\1\1\1\n"
66   escape_string = "\1\1\1\1 \n"
67   file = DIR/test-mail/$local_part
68   message_prefix = "\1\1\1\1\n"
69   message_suffix = "\1\1\1\1\n"
70   user = CALLER
71
72 batch_bsmtp1:
73   driver = appendfile
74   batch_max = 100
75   use_bsmtp
76   file = DIR/test-mail/batched
77   file_format = "MAIL : batch_bsmtp2"
78   user = CALLER
79
80 batch_bsmtp2:
81   driver = appendfile
82   batch_max = 100
83   use_bsmtp
84   file = DIR/test-mail/batched
85   user = CALLER
86
87 # ----- Retry -----
88
89 begin retry
90
91 * * F,2d,2d
92
93 # End