Add $router_name and $transport_name variables. Bug 308.
[exim.git] / test / confs / 0481
1 # Exim test configuration 0481
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14
15 # ----- Routers -----
16
17 begin routers
18
19 r1:
20   driver = redirect
21   headers_remove = Remove-Me:
22   data = $local_part@domain
23
24 r2:
25   driver = redirect
26   headers_remove = Remove-Me-Also:
27   headers_remove = Remove-Me:
28   data = $local_part@domain
29
30 r3:
31   driver = accept
32   headers_remove = Remove-Me:
33   headers_add = X-Was-Remove-Me: >$h_remove-me:<
34   headers_add = ${if def:h_remove-me-also {X-Was-Remove-Me-Also: >$h_remove-me-also:<}}
35   transport = t1
36
37
38 # ----- Transports -----
39
40 begin transports
41
42 t1:
43   driver = appendfile
44   file = DIR/test-mail/$local_part
45   user = CALLER
46
47
48 # ----- Retry -----
49
50
51 begin retry
52
53 * * F,5d,10s
54
55
56 # End