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