1 # Exim test configuration 0197
3 # Remove connection timeout when copying for real use,
7 host_lookup_order = bydns
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
11 gecos_name = CALLER_NAME
14 trusted_users = CALLER
17 # Exim configuration to pass all messages on to a fixed host, taking
18 # copies of them for subsequent configuration testing.
20 # This is the file the copies will be saved in.
22 COPYFILE = DIR/test-mail/copies
24 # This is the user that the copying delivery will run under.
28 # These are the domains whose mail will be copied.
30 COPYDOMAINS = copy.domain
32 # This is the list of domains that this server will relay.
34 RELAYDOMAINS = COPYDOMAINS
36 # This is the host that messages are relayed to. It can be a colon-separated
37 # list of hosts - they are tried in order.
39 NEXTHOST = V4NET.0.0.1
42 # ----- Main settings -----
44 # This is a list of domains which the host is going to relay. Mail addressed
45 # to other domains will be rejected
47 domainlist relay_domains = RELAYDOMAINS
49 acl_smtp_rcpt = check_recipient
58 accept domains = +relay_domains
59 deny message = relay not permitted
66 # This router takes a copy of messages for a specific domain.
70 route_list = COPYDOMAINS
74 # This router passes all addresses to the passing-on transport.
78 route_list = * NEXTHOST byname
82 # ----- Transports -----
84 # This transport is used for doing the deliveries arising from taking copies
85 # of each message passing through the system, for specific domains.
98 # This transport is used for passing the message on to the next host.
110 * * F,2h,15m; G,16h,1h,1.5; F,4d,8h