More new test committing.
[exim.git] / test / confs / 0025
1 # Exim test configuration 0025
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex
15 domainlist relay_domains = ten-1.test.ex
16
17 acl_smtp_rcpt = acl_local
18
19 # ------ ACLs ------
20
21 begin acl
22
23 acl_local:
24   # Pass on for non-remote input (should all be)
25   require message = this message should not occur
26           hosts   = :
27
28   # The redundant hosts check is just to ensure it works
29   accept  verify = sender
30           verify = recipient
31           hosts  = :
32
33 # ------ Routers ------
34
35 begin routers
36
37 r1:
38   driver = dnslookup
39   domains = ! +local_domains
40   transport = dev_null
41   no_more
42
43 r2:
44   driver = accept
45   local_parts = userx : postmaster
46   transport = local_delivery
47
48
49 # ------ Transports ------
50
51 begin transports
52
53 dev_null:
54   driver = appendfile
55   file = /dev/null
56   user = CALLER
57
58 local_delivery:
59   driver = appendfile
60   file = DIR/test-mail/$local_part
61   user = CALLER
62
63 # End