DMARC: expand main-config options. Bug 3102
[exim.git] / test / confs / 0289
index a3d42e8c2e8fd6af2c0175335de9353da047e46d..a967996901a6fdf0acd96c607098e54efc2a16cf 100644 (file)
@@ -1,18 +1,18 @@
 # Exim test configuration 0289
 
 # Exim test configuration 0289
 
-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
+.include DIR/aux-var/std_conf_prefix
+
 trusted_users = CALLER
 trusted_users = CALLER
+primary_hostname = myhost.test.ex
 
 # ----- Main settings -----
 
 acl_smtp_rcpt = accept
 
 # ----- Main settings -----
 
 acl_smtp_rcpt = accept
+.ifdef DYNAMIC_OPTION
+recipients_max = ${if def:sender_host_address {1}{2}}
+.else
 recipients_max = 1
 recipients_max = 1
+.endif
 
 
 # ------ Routers ------
 
 
 # ------ Routers ------
@@ -31,6 +31,7 @@ begin transports
 local_delivery:
   driver = appendfile
   file = DIR/test-mail/$local_part
 local_delivery:
   driver = appendfile
   file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   user = CALLER
 
 
   user = CALLER