60c943e2c6cea89e2e177e4b49c77cac71c1f6d9
[exim.git] / test / confs / 0205
1 # Exim test configuration 0205
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11 tls_advertise_hosts =
12
13 # ----- Main settings -----
14
15 domainlist local_domains = test.ex : \
16     testhack.test.ex : \
17     testhack2.test.ex
18
19 percent_hack_domains = testhack.test.ex : \
20     testhack2.test.ex
21
22
23 # ----- Routers -----
24
25 begin routers
26
27 fail_remote_domains:
28   driver = redirect
29   domains = ! +local_domains
30   allow_fail
31   data = :fail: unrouteable mail domain "$domain"
32
33 redirect:
34   driver = redirect
35   local_parts = redirect
36   errors_to = postmaster@test.ex
37   data = redirected%test.ex@testhack.test.ex
38   address_data = $address_data-redirect
39
40 local_domains:
41   driver = accept
42   transport = local_delivery
43
44
45 # ----- Transports -----
46
47 begin transports
48
49 local_delivery:
50   driver = appendfile
51   file = DIR/test-mail/$local_part
52   user = CALLER
53   headers_add = Address-Data: >$address_data<
54
55
56 # End