Merge branch 'master' of /home/git/exim into tom_dev
[exim.git] / test / confs / 0161
1 # Exim test configuration 0161
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 domainlist local_domains = test.ex : myhost.test.ex
15
16
17 # ----- Routers -----
18
19 begin routers
20
21 failuphost:
22   driver = dnslookup
23   caseful_local_part
24   domains = ! +local_domains
25   local_parts = ff
26   self = fail
27   transport = remote_smtp
28
29 lookuphost:
30   driver = dnslookup
31   domains = ! +local_domains
32   no_more
33   self = pass
34   transport = remote_smtp
35
36 fail:
37   driver = manualroute
38   caseful_local_part
39   debug_print = "self_hostname=$self_hostname\n"
40   domains = ! +local_domains
41   host_find_failed = fail
42   local_parts = fff
43   route_list = * $local_part byname
44   transport = remote_smtp
45
46 self:
47   driver = manualroute
48   debug_print = "self_hostname=$self_hostname\n"
49   domains = ! +local_domains
50   host_find_failed = pass
51   no_more
52   route_list = * $local_part byname
53   transport = remote_smtp
54
55 self2:
56   driver = manualroute
57   debug_print = "self_hostname=$self_hostname\n"
58   domains = ! +local_domains
59   route_list = * myhost.test.ex byname
60   transport = remote_smtp
61   no_more
62
63
64 # ----- Transports -----
65
66 begin transports
67
68 remote_smtp:
69   driver = smtp
70
71
72 # End