testsuite: tidy runtest
[exim.git] / test / confs / 0024
index 52a2351bcb2982f0e6038f6c7d14ac295bc01615..fac5e12a5c5b6bdbb6f29235351ab0a34bea5e84 100644 (file)
@@ -1,13 +1,8 @@
 # Exim test configuration 0024
 
-exim_path = EXIM_PATH
-host_lookup_order = bydns
+.include DIR/aux-var/std_conf_prefix
+
 primary_hostname = myhost.test.ex
-rfc1413_query_timeout = 0s
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
 
 # ----- Main settings -----
 
@@ -32,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
 
@@ -64,6 +63,11 @@ r1:
   transport = dev_null
   no_more
 
+redir:
+  driver =     redirect
+  local_parts =        føø
+  data =       userx
+
 r2:
   driver = accept
   local_parts = userx : postmaster
@@ -82,7 +86,7 @@ dev_null:
 
 local_delivery:
   driver = appendfile
-  file = DIR/test-mail/$local_part
+  file = DIR/test-mail/${bless:$local_part}
   user = CALLER
 
 # End