Expand recipients_max
[exim.git] / test / confs / 0289
index 56f50118b4623b11f94fca0ceefcc0273cc65824..a967996901a6fdf0acd96c607098e54efc2a16cf 100644 (file)
@@ -8,7 +8,11 @@ primary_hostname = myhost.test.ex
 # ----- Main settings -----
 
 acl_smtp_rcpt = accept
+.ifdef DYNAMIC_OPTION
+recipients_max = ${if def:sender_host_address {1}{2}}
+.else
 recipients_max = 1
+.endif
 
 
 # ------ Routers ------
@@ -26,7 +30,8 @@ begin transports
 
 local_delivery:
   driver = appendfile
-  file = DIR/test-mail/${bless:$local_part}
+  file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   user = CALLER