Use %ld not %l
[exim.git] / test / confs / 0624
index c8178d22b8df3497a28248696595130e970db033..70f0c2024852d515ddff8f89167cf6a3ea20f9d7 100644 (file)
@@ -5,20 +5,41 @@
 
 # ----- Main settings -----
 
-primary_hostname = primaryhostname.ex
-hosts_treat_as_local = 46.test.ex
-allow_domain_literals
+domainlist local_domains = test.ex
+qualify_domain = test.ex
+log_selector = +received_recipients +outgoing_port +millisec
 
-acl_smtp_rcpt = chk_rcpt
+smtp_accept_max_per_host = ${acl {delay}}10
+remote_max_parallel = 3
 
-# ----- ACL -----
+acl_smtp_rcpt = discard
 
+# ----- ACL -----
 begin acl
 
-chk_rcpt:
-  accept       domains = OPT
-               logwrite = domain $domain
-               logwrite = value  $domain_data
-               logwrite = \$0 '$0'  \$1 '$1'
+delay:
+  accept
+        delay = 2s
+
+# ----- Routers -----
+begin routers
+r:
+       driver =        accept
+       transport =     smtp
+
+# ----- Trnasport -----
+begin transports
+smtp:
+       driver =        smtp
+       hosts =         127.0.0.1
+       port =          ${if eq {c}{$local_part} {PORT_D2}{PORT_D}}
+       allow_localhost
+       hosts_try_fastopen =
+       max_rcpt =      1
+
+# ----- Retry -----
+begin retry
+* * F,5d,1d
 
 # End
+