Pass back more info from transport to delivery process
[exim.git] / test / confs / 0024
index 30e5636e9b573c71531054a6484ddcdc5c5e9d38..4b032f4fb11b62ca178c86c5f2bbcbbc86f35946 100644 (file)
@@ -27,6 +27,10 @@ acl_rcpt:
 
   require verify        = sender
 
+  deny   domains       = +local_domains
+         local_parts   = ^[.] : ^.*[@%!/|]
+         message       = Restricted characters in address
+
   deny    message       = rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text
           dnslists      = rbl.test.ex
 
@@ -59,6 +63,11 @@ r1:
   transport = dev_null
   no_more
 
+redir:
+  driver =     redirect
+  local_parts =        føø
+  data =       userx
+
 r2:
   driver = accept
   local_parts = userx : postmaster
@@ -77,7 +86,8 @@ dev_null:
 
 local_delivery:
   driver = appendfile
-  file = DIR/test-mail/${bless:$local_part}
+  file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   user = CALLER
 
 # End