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