Named Queues: fix immediate-delivery. Bug 2743
[exim.git] / test / confs / 0102
1 # Exim test configuration 0102
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 batch:
18   driver = accept
19   local_part_prefix = batch-
20   retry_use_local_part
21   transport = batch_bsmtp1
22
23 localuser:
24   driver = accept
25   local_part_prefix = bsmtp_ : mmdf_
26   local_part_prefix_optional
27   retry_use_local_part
28   transport = ${if !def:local_part_prefix {} \
29                 {${if eq {bsmtp_}{$local_part_prefix} {bsmtp_}\
30                         {${if eq {mmdf_}{$local_part_prefix} {mmdf_} {}}}}}}local_delivery
31
32
33 # ----- Transports -----
34
35 begin transports
36
37 local_delivery:
38   driver = appendfile
39   delivery_date_add
40   envelope_to_add
41   file = DIR/test-mail/$local_part
42   create_file = DIR/test-mail
43   file_format = "From       : local_delivery :\
44                  MAIL       : bsmtp_local_delivery :\
45                  \1\1\1\1\n : mmdf_local_delivery :\
46                  tpmissing  : tpmissing"
47   return_path_add
48   user = CALLER
49
50 bsmtp_local_delivery:
51   driver = appendfile
52   batch_max = 100
53   use_bsmtp
54   delivery_date_add
55   envelope_to_add
56   file = DIR/test-mail/$local_part
57   create_file = DIR/test-mail
58   return_path_add
59   user = CALLER
60
61 mmdf_local_delivery:
62   driver = appendfile
63   check_string = "\1\1\1\1\n"
64   escape_string = "\1\1\1\1 \n"
65   file = DIR/test-mail/$local_part
66   create_file = DIR/test-mail
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