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