X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/83da1223921fe30362e8374951360dcc8f21c4e7..4e9ed49f8f12eb331b29bd5b6dc3693c520fddc2:/test/confs/2011 diff --git a/test/confs/2011 b/test/confs/2011 index 334ca894f..eac8ccd4a 100644 --- a/test/confs/2011 +++ b/test/confs/2011 @@ -1,65 +1,72 @@ # 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 -primary_hostname = myhost.test.ex -rfc1413_query_timeout = 0s spool_directory = DIR/spool + +.ifdef SERVER log_file_path = DIR/spool/log/SERVER%slog +.else +log_file_path = DIR/spool/log/%slog +.endif + 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 -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 -send_to_server: - driver = smtp +gsmtp: + driver = smtp 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