Logging: make placement of continued-delivery asterisk consistent
[users/heiko/exim.git] / test / confs / 0134
1 # Exim test configuration 0134
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 domainlist local_domains = test.ex: *.test.ex
9 qualify_domain = test.ex
10
11
12 # ----- Routers -----
13
14 begin routers
15
16 topipe:
17   driver = accept
18   caseful_local_part
19   retry_use_local_part
20   domains = pipe.domain
21   local_parts = PIPE
22   transport = pipe
23
24 domainlist:
25   driver = manualroute
26   caseful_local_part
27   domains = lsearch;DIR/aux-fixed/TESTNUM.listR
28   headers_add = "domainlist: dd=$domain_data lpd=$local_part_data"
29   local_parts = lsearch;DIR/aux-fixed/TESTNUM.listR
30   route_list = *
31   transport = appendfile
32
33 default1:
34   driver = manualroute
35   domains = ! +local_domains
36   route_list = *
37   transport = appendfile
38   no_more
39
40 smartuser:
41   driver = accept
42   domains = lsearch;DIR/aux-fixed/TESTNUM.listD
43   headers_add = "smartuser: dd=$domain_data lpd=$local_part_data"
44   local_parts = lsearch;DIR/aux-fixed/TESTNUM.listD
45   retry_use_local_part
46   transport = appendfile
47
48 default2:
49   driver = accept
50   headers_add = router: defaulted
51   retry_use_local_part
52   transport = appendfile
53
54
55 # ----- Transports -----
56
57 begin transports
58
59 # We want local parts with different casing to be different, but this goes
60 # wrong on file systems that are not case-dependent. So fudge the file names
61 # by steam - an lsearch lookup is no good because it is case-independent.
62
63 appendfile:
64   driver = appendfile
65   user = CALLER
66   headers_add = "domain_data: $domain_data\n\
67                  local_part_data: $local_part_data"
68   file = DIR/test-mail/\
69          ${if eq {$local_part}{unknown}{lc-unknown}{\
70          ${if eq {$local_part}{USERX}{UC-USERX}{\
71          ${if eq {$local_part}{userx}{lc-userx}{\
72          $local_part}}}}}}
73
74 pipe:
75   driver = pipe
76   command = /bin/sh -c "echo $local_part $domain >DIR/test-mail/$local_part"
77   user = CALLER
78
79
80 # ----- Retry -----
81
82
83 begin retry
84
85 * * F,1d,15m
86
87
88 # End