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