1 # Exim test configuration 0134
3 .include DIR/aux-var/std_conf_prefix
6 # ----- Main settings -----
8 domainlist local_domains = test.ex: *.test.ex
9 qualify_domain = test.ex
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
31 transport = appendfile
35 domains = ! +local_domains
37 transport = appendfile
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
46 transport = appendfile
51 headers_add = "smartuser: dd=$domain_data lpd=$local_part_data"
52 local_parts = DIR/aux-fixed/TESTNUM.listL
54 transport = directfile
58 headers_add = router: defaulted
60 transport = appendfile
63 # ----- Transports -----
67 # We want local parts with different casing to be different, but this goes
68 # wrong on file systems that are not case-dependent. So fudge the file names
69 # by steam - an lsearch lookup is no good because it is case-independent.
74 headers_add = "domain_data: $domain_data\n\
75 local_part_data: $local_part_data"
76 file = DIR/test-mail/\
77 ${if eq {$local_part}{unknown}{lc-unknown}{\
78 ${if eq {$local_part}{USERX}{UC-USERX}{\
79 ${if eq {$local_part}{userx}{lc-userx}{\
85 headers_add = "domain_data: $domain_data\n\
86 local_part_data: $local_part_data"
87 file = DIR/test-mail/directfile
91 command = /bin/sh -c "echo $local_part $domain >DIR/test-mail/$local_part"