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
16 trusted_users = CALLER
19 # Exim configuration to pass all messages on to a fixed host, taking
20 # copies of them for subsequent configuration testing.
22 # This is the file the copies will be saved in.
24 COPYFILE = DIR/test-mail/copies
26 # This is the user that the copying delivery will run under.
30 # These are the domains whose mail will be copied.
32 COPYDOMAINS = copy.domain
34 # This is the list of domains that this server will relay.
36 RELAYDOMAINS = COPYDOMAINS
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.
41 NEXTHOST = V4NET.0.0.1
44 # ----- Main settings -----
46 # This is a list of domains which the host is going to relay. Mail addressed
47 # to other domains will be rejected
49 domainlist relay_domains = RELAYDOMAINS
51 acl_smtp_rcpt = check_recipient
60 accept domains = +relay_domains
61 deny message = relay not permitted
68 # This router takes a copy of messages for a specific domain.
72 route_list = COPYDOMAINS
76 # This router passes all addresses to the passing-on transport.
80 route_list = * NEXTHOST byname
84 # ----- Transports -----
86 # This transport is used for doing the deliveries arising from taking copies
87 # of each message passing through the system, for specific domains.
100 # This transport is used for passing the message on to the next host.
112 * * F,2h,15m; G,16h,1h,1.5; F,4d,8h