Merge branch 'master' into transp_logging_1031
[users/jgh/exim.git] / test / confs / 0080
1 # Exim test configuration 0080
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 domainlist local_domains = exim.test.ex
14 acl_smtp_rcpt = check_recipient
15
16 qualify_domain = exim.test.ex
17
18
19 # ------ ACL -------
20
21 begin acl
22
23 check_recipient:
24   accept  recipients = postmaster@exim.test.ex
25   deny    message = host is listed in $dnslist_domain
26           dnslists = rbl.test.ex:rbl2.test.ex
27   require verify = sender
28   deny    message = unrouteable address
29          !verify = recipient
30   accept  domains = +local_domains
31   deny    message = relay not permitted
32
33
34 # ----- Routers -----
35
36 begin routers
37
38 system_aliases:
39   driver = redirect
40   allow_defer
41   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
42   retry_use_local_part
43
44 localuser:
45   driver = accept
46   local_parts = userx
47   transport = local_delivery
48
49
50 # ----- Transports -----
51
52 begin transports
53
54 local_delivery:
55   driver = appendfile
56   delivery_date_add
57   envelope_to_add
58   file = DIR/test-mail/$local_part
59   return_path_add
60   user = CALLER
61
62 # End