Testsuite: Add munge for EXPERIMENTAL_DSN_INFO
[exim.git] / test / confs / 0197
CommitLineData
afda344b
PH
1# Exim test configuration 0197
2
3# Remove connection timeout when copying for real use,
4# and these settings.
5
6exim_path = EXIM_PATH
7host_lookup_order = bydns
afda344b
PH
8spool_directory = DIR/spool
9log_file_path = DIR/spool/log/%slog
10gecos_pattern = ""
11gecos_name = CALLER_NAME
12
13queue_run_in_order
14trusted_users = CALLER
15
16
17# Exim configuration to pass all messages on to a fixed host, taking
18# copies of them for subsequent configuration testing.
19
20# This is the file the copies will be saved in.
21
22COPYFILE = DIR/test-mail/copies
23
24# This is the user that the copying delivery will run under.
25
26COPYUSER = CALLER
27
28# These are the domains whose mail will be copied.
29
30COPYDOMAINS = copy.domain
31
32# This is the list of domains that this server will relay.
33
34RELAYDOMAINS = COPYDOMAINS
35
36# This is the host that messages are relayed to. It can be a colon-separated
37# list of hosts - they are tried in order.
38
39NEXTHOST = V4NET.0.0.1
40
41
42# ----- Main settings -----
43
44# This is a list of domains which the host is going to relay. Mail addressed
45# to other domains will be rejected
46
47domainlist relay_domains = RELAYDOMAINS
48
49acl_smtp_rcpt = check_recipient
50
51
52# ----- ACL -----
53
54begin acl
55
56check_recipient:
57 accept hosts = :
58 accept domains = +relay_domains
59 deny message = relay not permitted
60
61
62# ----- Routers -----
63
64begin routers
65
66# This router takes a copy of messages for a specific domain.
67
68checkcopy:
69 driver = manualroute
70 route_list = COPYDOMAINS
71 transport = makecopy
72 unseen
73
74# This router passes all addresses to the passing-on transport.
75
76passall:
77 driver = manualroute
78 route_list = * NEXTHOST byname
79 transport = pass_on
80
81
82# ----- Transports -----
83
84# This transport is used for doing the deliveries arising from taking copies
85# of each message passing through the system, for specific domains.
86
87begin transports
88
89makecopy:
90 driver = appendfile
91 batch_max = 100
92 use_bsmtp
93 file = COPYFILE
94 message_prefix =
95 message_suffix =
96 user = COPYUSER
97
98# This transport is used for passing the message on to the next host.
99
100pass_on:
101 driver = smtp
102 connect_timeout = 1s
103
104
105# ----- Retry -----
106
107
108begin retry
109
110* * F,2h,15m; G,16h,1h,1.5; F,4d,8h
111
112
113# End