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