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