uschar *tls_resumption_hosts = NULL;
# endif
uschar *tls_try_verify_hosts = NULL;
+#if defined(SUPPORT_SYSDEFAULT_CABUNDLE) || !defined(USE_GNUTLS)
uschar *tls_verify_certificates= US"system";
+#else
+uschar *tls_verify_certificates= NULL;
+#endif
uschar *tls_verify_hosts = NULL;
+int tls_watch_fd = -1;
+time_t tls_watch_trigger_time = (time_t)0;
#else /*DISABLE_TLS*/
uschar *tls_advertise_hosts = NULL;
#endif
int proxy_external_port = 0;
uschar *proxy_local_address = NULL;
int proxy_local_port = 0;
+int proxy_protocol_timeout = 3;
#endif
uschar *prvscheck_address = NULL;
int smtp_accept_max = 20;
int smtp_accept_max_nonmail= 10;
uschar *smtp_accept_max_nonmail_hosts = US"*";
-int smtp_accept_max_per_connection = 1000;
+uschar *smtp_accept_max_per_connection = US"1000";
uschar *smtp_accept_max_per_host = NULL;
int smtp_accept_queue = 0;
int smtp_accept_queue_per_connection = 10;
transport_instance *transports = NULL;
transport_instance transport_defaults = {
- .next = NULL,
- .name = NULL,
- .info = NULL,
- .options_block = NULL,
- .driver_name = NULL,
- .setup = NULL,
+ /* All non-mentioned elements zero/NULL/FALSE */
.batch_max = 1,
- .batch_id = NULL,
- .home_dir = NULL,
- .current_dir = NULL,
- .expand_multi_domain = NULL,
.multi_domain = TRUE,
- .overrides_hosts = FALSE,
.max_addresses = 100,
.connection_max_messages = 500,
- .deliver_as_creator = FALSE,
- .disable_logging = FALSE,
- .initgroups = FALSE,
- .uid_set = FALSE,
- .gid_set = FALSE,
.uid = (uid_t)(-1),
.gid = (gid_t)(-1),
- .expand_uid = NULL,
- .expand_gid = NULL,
- .warn_message = NULL,
- .shadow = NULL,
- .shadow_condition = NULL,
- .filter_command = NULL,
- .add_headers = NULL,
- .remove_headers = NULL,
- .return_path = NULL,
- .debug_string = NULL,
- .max_parallel = NULL,
- .message_size_limit = NULL,
- .headers_rewrite = NULL,
- .rewrite_rules = NULL,
- .rewrite_existflags = 0,
.filter_timeout = 300,
- .body_only = FALSE,
- .delivery_date_add = FALSE,
- .envelope_to_add = FALSE,
- .headers_only = FALSE,
- .rcpt_include_affixes = FALSE,
- .return_path_add = FALSE,
- .return_output = FALSE,
- .return_fail_output = FALSE,
- .log_output = FALSE,
- .log_fail_output = FALSE,
- .log_defer_output = FALSE,
.retry_use_local_part = TRUE_UNSET, /* retry_use_local_part: BOOL, but set neither
1 nor 0 so can detect unset */
-#ifndef DISABLE_EVENT
- .event_action = NULL
-#endif
};
int transport_count;