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
50 headers_add = router: defaulted
52 transport = appendfile
55 # ----- Transports -----
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.
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}{\
76 command = /bin/sh -c "echo $local_part $domain >DIR/test-mail/$local_part"