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