refactor
[exim.git] / test / confs / 2011
index 334ca894f36d6c028410449135cf12b47866c20a..eac8ccd4a5fc484e63ae4a726f54b905e8446591 100644 (file)
@@ -1,65 +1,72 @@
 # Exim test configuration 2011
 
 # Exim test configuration 2011
 
-SERVER =
-CREQCIP =
-CREQMAC =
-SREQCIP =
-SREQMAC =
+SERVER=
 
 
+keep_environment = PATH:EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
+add_environment = SSLKEYLOGFILE=DIR/spool/sslkeys
 exim_path = EXIM_PATH
 host_lookup_order = bydns
 exim_path = EXIM_PATH
 host_lookup_order = bydns
-primary_hostname = myhost.test.ex
-rfc1413_query_timeout = 0s
 spool_directory = DIR/spool
 spool_directory = DIR/spool
+
+.ifdef SERVER
 log_file_path = DIR/spool/log/SERVER%slog
 log_file_path = DIR/spool/log/SERVER%slog
+.else
+log_file_path = DIR/spool/log/%slog
+.endif
+
 gecos_pattern = ""
 gecos_name = CALLER_NAME
 gecos_pattern = ""
 gecos_name = CALLER_NAME
+dns_cname_loops = 9
+chunking_advertise_hosts = *
 
 
-# ----- Main settings -----
-
-acl_smtp_rcpt = accept
-log_selector = +tls_peerdn
-queue_only
-queue_run_in_order
+.ifdef _HAVE_PIPE_CONNECT
+pipelining_connect_advertise_hosts = :
+.endif
+.ifdef _HAVE_DMARC
+dmarc_tld_file =
+.endif
+.ifdef _EXP_LIMITS
+limits_advertise_hosts = !*
+.endif
 
 
-tls_advertise_hosts = *
+primary_hostname = test.ex
 
 
-# Set certificate only if server
+# ----- Main settings -----
 
 
-tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
-tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+acl_smtp_rcpt = check_rcpt
 
 
-tls_verify_hosts = *
-tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
+log_selector = +received_recipients +dkim_verbose
+queue_only
+queue_run_in_order
 
 
-SREQCIP
-SREQMAC
+# ----- ACL -----
+begin acl
 
 
+check_rcpt:
+  defer        hosts = HOSTIPV4
+  accept
 
 # ----- Routers -----
 
 begin routers
 
 
 # ----- Routers -----
 
 begin routers
 
-client:
-  driver = accept
-  condition = ${if eq {SERVER}{server}{no}{yes}}
-  retry_use_local_part
-  transport = send_to_server
-
+d0:
+  driver =     manualroute
+  route_list = *       "HOSTIPV4::PORT_D : 127.0.0.1::PORT_D"
+  self =       send
+  transport =  gsmtp
 
 # ----- Transports -----
 
 begin transports
 
 
 # ----- Transports -----
 
 begin transports
 
-send_to_server:
-  driver = smtp
+gsmtp:
+  driver =                     smtp
   allow_localhost
   allow_localhost
-  hosts = HOSTIPV4 : 127.0.0.1
-  hosts_require_tls = HOSTIPV4
-  port = PORT_D
-  tls_certificate = DIR/aux-fixed/cert2
-  tls_privatekey = DIR/aux-fixed/cert2
-  CREQCIP
-  CREQMAC
+  tls_verify_certificates =    system
+  hosts_require_tls =          *
+
+begin retry
+* * F,5d,10s
 
 # End
 
 # End