diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-02-07 10:34:24 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-02-07 10:34:24 +0000 |
commit | afda344b580b54a4513569720aec3260cd5ba546 (patch) | |
tree | 6318744c7d3f502ee72bcd20bab0f612c5dceacf /test/confs/0134 | |
parent | 9ba4af2b76958e076a0c002e53ead87ed7a47a68 (diff) |
More new test committing.
Diffstat (limited to 'test/confs/0134')
-rw-r--r-- | test/confs/0134 | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/test/confs/0134 b/test/confs/0134 new file mode 100644 index 000000000..607c7613c --- /dev/null +++ b/test/confs/0134 @@ -0,0 +1,93 @@ +# Exim test configuration 0134 + +exim_path = EXIM_PATH +host_lookup_order = bydns +rfc1413_query_timeout = 0s +spool_directory = DIR/spool +log_file_path = DIR/spool/log/%slog +gecos_pattern = "" +gecos_name = CALLER_NAME + +# ----- Main settings ----- + +domainlist local_domains = test.ex: *.test.ex +qualify_domain = test.ex + + +# ----- Routers ----- + +begin routers + +topipe: + driver = accept + caseful_local_part + retry_use_local_part + domains = pipe.domain + local_parts = PIPE + transport = pipe + +domainlist: + driver = manualroute + caseful_local_part + domains = lsearch;DIR/aux-fixed/TESTNUM.listR + headers_add = "domainlist: dd=$domain_data lpd=$local_part_data" + local_parts = lsearch;DIR/aux-fixed/TESTNUM.listR + route_list = * + transport = appendfile + +default1: + driver = manualroute + domains = ! +local_domains + route_list = * + transport = appendfile + no_more + +smartuser: + driver = accept + domains = lsearch;DIR/aux-fixed/TESTNUM.listD + headers_add = "smartuser: dd=$domain_data lpd=$local_part_data" + local_parts = lsearch;DIR/aux-fixed/TESTNUM.listD + retry_use_local_part + transport = appendfile + +default2: + driver = accept + headers_add = router: defaulted + retry_use_local_part + transport = appendfile + + +# ----- Transports ----- + +begin transports + +# We want local parts with different casing to be different, but this goes +# wrong on file systems that are not case-dependent. So fudge the file names +# by steam - an lsearch lookup is no good because it is case-independent. + +appendfile: + driver = appendfile + user = CALLER + headers_add = "domain_data: $domain_data\n\ + local_part_data: $local_part_data" + file = DIR/test-mail/\ + ${if eq {$local_part}{unknown}{lc-unknown}{\ + ${if eq {$local_part}{USERX}{UC-USERX}{\ + ${if eq {$local_part}{userx}{lc-userx}{\ + $local_part}}}}}} + +pipe: + driver = pipe + command = /bin/sh -c "echo $local_part $domain >DIR/test-mail/$local_part" + user = CALLER + + +# ----- Retry ----- + + +begin retry + +* * F,1d,15m + + +# End |