d9bc47e63348632afff3c954c2eff00d65c001dd
[users/heiko/exim.git] / test / confs / 0291
1 # Exim test configuration 0291
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 trusted_users = CALLER
13
14 # ----- Main settings -----
15
16
17 # ------ Routers ------
18
19 begin routers
20
21 # a=>b and b=>c
22 r1:
23   driver = redirect
24   domains = one
25   data = ${if eq{$local_part}{a}{b}{${if eq{$local_part}{b}{c}}}}
26   qualify_preserve_domain
27
28 # a=>b and b=>c, but not if generated by a
29 r2:
30   driver = redirect
31   domains = two
32   data = ${if eq{$local_part}{a}{b}{${if eq{$local_part}{b}{c}}}}
33   qualify_preserve_domain
34   no_repeat_use
35
36 accept:
37   driver = accept
38   verify_only
39
40 # End