Fix DISABLE_EVENT build
[exim.git] / test / confs / 0906
index 2e8d35a9112f6aac8b2123b9864e55e4b940b750..57f359ff0ee8d2e68dcfe9c31799599784aac8f9 100644 (file)
@@ -10,6 +10,15 @@ gecos_pattern = ""
 gecos_name = CALLER_NAME
 chunking_advertise_hosts = *
 tls_advertise_hosts = ${if eq {SRV}{tls} {*}}
+.ifdef _HAVE_PIPE_CONNECT
+pipelining_connect_advertise_hosts =
+.endif
+.ifdef _HAVE_DMARC
+dmarc_tld_file =
+.endif
+.ifdef _EXP_LIMITS
+limits_advertise_hosts = !*
+.endif
 
 # ----- Main settings -----
 
@@ -18,16 +27,30 @@ spool_wireformat = true
 primary_hostname = testhost.test.ex
 domainlist local_domains = @ : test.ex
 
-acl_smtp_rcpt = accept
+acl_smtp_rcpt = acl_r
+
+.ifdef _HAVE_DKIM
+log_selector = +received_recipients +dkim_verbose
+.else
 log_selector = +received_recipients
+.endif
+
 
 .ifdef _OPT_MAIN_TLS_CERTIFICATE
 tls_certificate = DIR/aux-fixed/cert1
 tls_privatekey = DIR/aux-fixed/cert1
 .endif
 
+queue_run_in_order = true
+
 # ----- ACL -----
 
+begin acl
+acl_r:
+ accept        condition = ${if != {$received_port}{PORT_S}}
+       control = queue_only
+ accept
+
 # ----- Routers -----
 
 begin routers
@@ -55,6 +78,7 @@ begin transports
 local_delivery:
   driver = appendfile
   file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   headers_add = "X-body-linecount: $body_linecount\n\
                  X-message-linecount: $message_linecount\n\
                  X-received-count: $received_count"
@@ -65,12 +89,14 @@ remote_smtp:
   driver = smtp
   hosts =      127.0.0.1
   port =       PORT_D
+  hosts_try_fastopen = :
   allow_localhost
 
 remote_smtp_dkim:
   driver = smtp
   hosts =      127.0.0.1
   port =       PORT_D
+  hosts_try_fastopen = :
   allow_localhost
 
 .ifdef OPT