1 # Exim test configuration 0134
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
8 gecos_name = CALLER_NAME
10 # ----- Main settings -----
12 domainlist local_domains = test.ex: *.test.ex
13 qualify_domain = test.ex
31 domains = lsearch;DIR/aux-fixed/TESTNUM.listR
32 headers_add = "domainlist: dd=$domain_data lpd=$local_part_data"
33 local_parts = lsearch;DIR/aux-fixed/TESTNUM.listR
35 transport = appendfile
39 domains = ! +local_domains
41 transport = appendfile
46 domains = lsearch;DIR/aux-fixed/TESTNUM.listD
47 headers_add = "smartuser: dd=$domain_data lpd=$local_part_data"
48 local_parts = lsearch;DIR/aux-fixed/TESTNUM.listD
50 transport = appendfile
54 headers_add = router: defaulted
56 transport = appendfile
59 # ----- Transports -----
63 # We want local parts with different casing to be different, but this goes
64 # wrong on file systems that are not case-dependent. So fudge the file names
65 # by steam - an lsearch lookup is no good because it is case-independent.
70 headers_add = "domain_data: $domain_data\n\
71 local_part_data: $local_part_data"
72 file = DIR/test-mail/\
73 ${if eq {$local_part}{unknown}{lc-unknown}{\
74 ${if eq {$local_part}{USERX}{UC-USERX}{\
75 ${if eq {$local_part}{userx}{lc-userx}{\
80 command = /bin/sh -c "echo $local_part $domain >DIR/test-mail/$local_part"