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