Logging: add I= element to transport-defer lines. Bug 2675
[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/${bless:$local_part}
42   file_format = "From       : local_delivery :\
43                  MAIL       : bsmtp_local_delivery :\
44                  \1\1\1\1\n : mmdf_local_delivery :\
45                  tpmissing  : tpmissing"
46   return_path_add
47   user = CALLER
48
49 bsmtp_local_delivery:
50   driver = appendfile
51   batch_max = 100
52   use_bsmtp
53   delivery_date_add
54   envelope_to_add
55   file = DIR/test-mail/${bless:$local_part}
56   return_path_add
57   user = CALLER
58
59 mmdf_local_delivery:
60   driver = appendfile
61   check_string = "\1\1\1\1\n"
62   escape_string = "\1\1\1\1 \n"
63   file = DIR/test-mail/${bless:$local_part}
64   message_prefix = "\1\1\1\1\n"
65   message_suffix = "\1\1\1\1\n"
66   user = CALLER
67
68 batch_bsmtp1:
69   driver = appendfile
70   batch_max = 100
71   use_bsmtp
72   file = DIR/test-mail/batched
73   file_format = "MAIL : batch_bsmtp2"
74   user = CALLER
75
76 batch_bsmtp2:
77   driver = appendfile
78   batch_max = 100
79   use_bsmtp
80   file = DIR/test-mail/batched
81   user = CALLER
82
83 # ----- Retry -----
84
85 begin retry
86
87 * * F,2d,2d
88
89 # End