Use random_number rather than random, for external server distribution. Bug 2694
[users/heiko/exim.git] / test / confs / 4001
index 61ad4c9270f08659c65e5c1a7b19f03e7cc48eb7..856beb1ca5cfe45a2230039b869883bec8a13b53 100644 (file)
@@ -1,34 +1,25 @@
-# Exim test configuration 4001
-# Content-scan: f-protd interface
+# Exim test configuration 4001: multiple messages in connection
 
-exim_path = EXIM_PATH
-host_lookup_order = bydns
-primary_hostname = myhost.test.ex
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
-tls_advertise_hosts =
+.include DIR/aux-var/std_conf_prefix
 
-av_scanner = f-protd : localhost4 PORT_S
+primary_hostname = myhost.test.ex
+queue_only
 
 # ----- Main settings -----
 
 acl_smtp_rcpt = accept
-acl_smtp_data = c_data
+acl_smtp_mime = check_mime
+acl_smtp_data =        check_data
 
-begin acl
+# ----- ACL -----
 
-c_data:
-  accept !malware = * OPT
-  deny  logwrite = $callout_address malware_name $malware_name
-
-# ----- Routers -----
+begin acl
 
-begin routers
+check_mime:
+  accept       decode  = default
+               logwrite = mime_acl: mime_part_count $mime_part_count
 
-r:
-  driver = redirect
-  data = :blackhole:
+check_data:
+  accept       logwrite = mime_acl: mime_part_count $mime_part_count
 
 # End