New $callout_address variable to record spamd (etc) address. Bug 1652
[users/jgh/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 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 failuphost:
21   driver = dnslookup
22   caseful_local_part
23   domains = ! +local_domains
24   local_parts = ff
25   self = fail
26   transport = remote_smtp
27
28 lookuphost:
29   driver = dnslookup
30   domains = ! +local_domains
31   no_more
32   self = pass
33   transport = remote_smtp
34
35 fail:
36   driver = manualroute
37   caseful_local_part
38   debug_print = "self_hostname=$self_hostname\n"
39   domains = ! +local_domains
40   host_find_failed = fail
41   local_parts = fff
42   route_list = * $local_part byname
43   transport = remote_smtp
44
45 self:
46   driver = manualroute
47   debug_print = "self_hostname=$self_hostname\n"
48   domains = ! +local_domains
49   host_find_failed = pass
50   no_more
51   route_list = * $local_part byname
52   transport = remote_smtp
53
54 self2:
55   driver = manualroute
56   debug_print = "self_hostname=$self_hostname\n"
57   domains = ! +local_domains
58   route_list = * myhost.test.ex byname
59   transport = remote_smtp
60   no_more
61
62
63 # ----- Transports -----
64
65 begin transports
66
67 remote_smtp:
68   driver = smtp
69
70
71 # End