1 # Exim test configuration 0134
5 host_lookup_order = bydns
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
10 gecos_name = CALLER_NAME
12 # ----- Main settings -----
14 domainlist local_domains = test.ex: *.test.ex
15 qualify_domain = test.ex
33 domains = lsearch;DIR/aux-fixed/TESTNUM.listR
34 headers_add = "domainlist: dd=$domain_data lpd=$local_part_data"
35 local_parts = lsearch;DIR/aux-fixed/TESTNUM.listR
37 transport = appendfile
41 domains = ! +local_domains
43 transport = appendfile
48 domains = lsearch;DIR/aux-fixed/TESTNUM.listD
49 headers_add = "smartuser: dd=$domain_data lpd=$local_part_data"
50 local_parts = lsearch;DIR/aux-fixed/TESTNUM.listD
52 transport = appendfile
56 headers_add = router: defaulted
58 transport = appendfile
61 # ----- Transports -----
65 # We want local parts with different casing to be different, but this goes
66 # wrong on file systems that are not case-dependent. So fudge the file names
67 # by steam - an lsearch lookup is no good because it is case-independent.
72 headers_add = "domain_data: $domain_data\n\
73 local_part_data: $local_part_data"
74 file = DIR/test-mail/\
75 ${if eq {$local_part}{unknown}{lc-unknown}{\
76 ${if eq {$local_part}{USERX}{UC-USERX}{\
77 ${if eq {$local_part}{userx}{lc-userx}{\
82 command = /bin/sh -c "echo $local_part $domain >DIR/test-mail/$local_part"