Logging: fix receive-time crash with recipients-logging.
[exim.git] / test / confs / 0024
index a70197579293de2656b4a183148c0ceac91d7654..4b032f4fb11b62ca178c86c5f2bbcbbc86f35946 100644 (file)
@@ -1,12 +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
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
 
 # ----- Main settings -----
 
@@ -31,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
 
@@ -63,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,6 +87,7 @@ dev_null:
 local_delivery:
   driver = appendfile
   file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   user = CALLER
 
 # End