Testsuite: handle 1s-boundary crossing
[exim.git] / test / confs / 0021
index 902d5f36961bc4e28593bcd3634212a96b368164..8d252e884ccdd1e294f8b22e7044651aabade6a7 100644 (file)
@@ -1,15 +1,13 @@
 # Exim test configuration 0021
 
 SERVER=
+BR=
+HVH=
+LOG_SELECTOR=
+
+.include DIR/aux-var/std_conf_prefix
 
-exim_path = EXIM_PATH
-host_lookup_order = bydns
 primary_hostname = myhost.test.ex
-rfc1413_query_timeout = 0s
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/SERVER%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
 
 # ----- Main settings -----
 
@@ -24,6 +22,10 @@ acl_smtp_helo = helo
 acl_smtp_mail = mail
 acl_smtp_rcpt = rcpt
 
+BR
+HVH
+log_selector = LOG_SELECTOR
+
 qualify_domain = test.ex
 trusted_users = CALLER
 
@@ -62,12 +64,12 @@ mail:
          senders = ok@test3
   accept senders = ok@test1 : ok@test3
          verify  = sender
-         logwrite = :main,reject: mail accepted
+         logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument"
 
 rcpt:
   accept senders = +ok_senders
          sender_domains = +ok_sender_domains
-         logwrite = :panic: rcpt accepted
+         logwrite = :panic: rcpt accepted C=$smtp_command_history
 
 # ----- Routers -----
 
@@ -85,6 +87,7 @@ begin transports
 appendfile:
   driver = appendfile
   file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   user = CALLER
 
 # End