Manualroute: use same host for all RCPTs of a message, even under hosts_randomize...
[users/heiko/exim.git] / test / confs / 0078
1 # Exim test configuration 0078
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 : myhost.test.ex
14
15
16 # ----- Routers -----
17
18 begin routers
19
20 lookuphost:
21   driver = dnslookup
22   domains = ! +local_domains
23   no_more
24   self = pass
25   transport = remote_smtp
26
27 self:
28   driver = manualroute
29   debug_print = "self_hostname=$self_hostname\n"
30   domains = ! +local_domains
31   host_find_failed = pass
32   no_more
33   route_list = * $local_part byname
34   transport = remote_smtp
35
36 self2:
37   driver = manualroute
38   debug_print = "self_hostname=$self_hostname\n"
39   domains = ! +local_domains
40   route_list = * myhost.test.ex byname
41   transport = remote_smtp
42   no_more
43
44
45 # ----- Transports -----
46
47 begin transports
48
49 remote_smtp:
50   driver = smtp
51
52
53 # End