1 # Exim test configuration 0197
3 # Remove connection timeout when copying for real use,
8 host_lookup_order = bydns
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
12 gecos_name = CALLER_NAME
15 trusted_users = CALLER
18 # Exim configuration to pass all messages on to a fixed host, taking
19 # copies of them for subsequent configuration testing.
21 # This is the file the copies will be saved in.
23 COPYFILE = DIR/test-mail/copies
25 # This is the user that the copying delivery will run under.
29 # These are the domains whose mail will be copied.
31 COPYDOMAINS = copy.domain
33 # This is the list of domains that this server will relay.
35 RELAYDOMAINS = COPYDOMAINS
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.
40 NEXTHOST = V4NET.0.0.1
43 # ----- Main settings -----
45 # This is a list of domains which the host is going to relay. Mail addressed
46 # to other domains will be rejected
48 domainlist relay_domains = RELAYDOMAINS
50 acl_smtp_rcpt = check_recipient
59 accept domains = +relay_domains
60 deny message = relay not permitted
67 # This router takes a copy of messages for a specific domain.
71 route_list = COPYDOMAINS
75 # This router passes all addresses to the passing-on transport.
79 route_list = * NEXTHOST byname
83 # ----- Transports -----
85 # This transport is used for doing the deliveries arising from taking copies
86 # of each message passing through the system, for specific domains.
99 # This transport is used for passing the message on to the next host.
111 * * F,2h,15m; G,16h,1h,1.5; F,4d,8h