Taint: fix ACL "spam" condition, to permit tainted name arguments.
[users/heiko/exim.git] / test / confs / 0079
1 # Exim test configuration 0079
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 domainlist local_domains = exim.test.ex
9
10 acl_smtp_rcpt = check_recipient
11 log_selector = +incoming_interface
12 qualify_domain = exim.test.ex
13 system_filter = DIR/aux-var/TESTNUM.filter
14 system_filter_file_transport = file
15 system_filter_reply_transport = reply
16 trusted_users = CALLER
17
18
19 # ------ ACL ------
20
21 begin acl
22
23 check_recipient:
24   accept  hosts = :
25   warn    message = X-Warning: $sender_host_address is blacklisted at $dnslist_domain
26           log_message = $sender_host_address is in $dnslist_domain
27           dnslists = rbl.test.ex
28   warn    message = X-Warning: $sender_host_address is blacklisted at $dnslist_domain
29           log_message = accepting postmaster from host in $dnslist_domain
30           recipients = postmaster@exim.test.ex
31           dnslists = rbl2.test.ex
32   accept  recipients = postmaster@exim.test.ex
33   deny    message = host is listed in $dnslist_domain
34           dnslists = rbl2.test.ex
35   require verify = sender
36   deny    message = unrouteable address
37          !verify = recipient
38   accept  domains = +local_domains
39   deny    message = relay not permitted
40
41
42 # ------ Routers ------
43
44 begin routers
45
46 system_aliases:
47   driver = redirect
48   allow_defer
49   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
50   qualify_preserve_domain
51   retry_use_local_part
52
53 localuser:
54   driver = accept
55   local_parts = userx
56   transport = local_delivery
57
58 caller:
59   driver = accept
60   check_local_user
61   transport = local_delivery
62
63
64 # ----- Transports -----
65
66 begin transports
67
68 local_delivery:
69   driver = appendfile
70   delivery_date_add
71   envelope_to_add
72   file = DIR/test-mail/${bless:$local_part}
73   return_path_add
74   user = CALLER
75
76 file:
77   driver = appendfile
78   user = CALLER
79
80 reply:
81   driver = autoreply
82   user = CALLER
83
84
85 # ----- Retry -----
86
87 # End