1 # Exim test configuration 0134
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
9 gecos_name = CALLER_NAME
11 # ----- Main settings -----
13 domainlist local_domains = test.ex: *.test.ex
14 qualify_domain = test.ex
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
36 transport = appendfile
40 domains = ! +local_domains
42 transport = appendfile
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
51 transport = appendfile
55 headers_add = router: defaulted
57 transport = appendfile
60 # ----- Transports -----
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.
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}{\
81 command = /bin/sh -c "echo $local_part $domain >DIR/test-mail/$local_part"