From d40744a7c85af615d5a3bf3db382d35c50f1c508 Mon Sep 17 00:00:00 2001
From: Wietse Venema
+protocol; version 2 is supported with Postfix 3.5 and later.
This feature is available in Postfix 2.10 and later.
@@ -17866,7 +17866,7 @@ purpose. proxy agent. When a proxy agent is used, this protocol conveys local and remote address and port information. Specify "smtpd_upstream_proxy_protocol = haproxy" to enable the haproxy -protocol. +protocol; version 2 is supported with Postfix 3.5 and later.NOTE: To use the nginx proxy with smtpd(8), enable the XCLIENT protocol with smtpd_authorized_xclient_hosts. This supports SASL diff --git a/postfix/man/man5/postconf.5 b/postfix/man/man5/postconf.5 index 00544d338..32e0f22bb 100644 --- a/postfix/man/man5/postconf.5 +++ b/postfix/man/man5/postconf.5 @@ -5367,7 +5367,7 @@ The name of the proxy protocol used by an optional before\-postscreen proxy agent. When a proxy agent is used, this protocol conveys local and remote address and port information. Specify "postscreen_upstream_proxy_protocol = haproxy" to enable the haproxy -protocol. +protocol; version 2 is supported with Postfix 3.5 and later. .PP This feature is available in Postfix 2.10 and later. .SH postscreen_upstream_proxy_timeout (default: 5s) @@ -12475,7 +12475,7 @@ The name of the proxy protocol used by an optional before\-smtpd proxy agent. When a proxy agent is used, this protocol conveys local and remote address and port information. Specify "smtpd_upstream_proxy_protocol = haproxy" to enable the haproxy -protocol. +protocol; version 2 is supported with Postfix 3.5 and later. .PP NOTE: To use the nginx proxy with \fBsmtpd\fR(8), enable the XCLIENT protocol with smtpd_authorized_xclient_hosts. This supports SASL diff --git a/postfix/proto/postconf.proto b/postfix/proto/postconf.proto index 5bc0ec5a2..53a72cd01 100644 --- a/postfix/proto/postconf.proto +++ b/postfix/proto/postconf.proto @@ -15595,7 +15595,7 @@ pattern.
proxy agent. When a proxy agent is used, this protocol conveys local and remote address and port information. Specify "postscreen_upstream_proxy_protocol = haproxy" to enable the haproxy -protocol.+protocol; version 2 is supported with Postfix 3.5 and later.
This feature is available in Postfix 2.10 and later.
@@ -15612,7 +15612,7 @@ postscreen_upstream_proxy_protocol parameter. proxy agent. When a proxy agent is used, this protocol conveys local and remote address and port information. Specify "smtpd_upstream_proxy_protocol = haproxy" to enable the haproxy -protocol. +protocol; version 2 is supported with Postfix 3.5 and later.NOTE: To use the nginx proxy with smtpd(8), enable the XCLIENT protocol with smtpd_authorized_xclient_hosts. This supports SASL diff --git a/postfix/src/global/mail_params.h b/postfix/src/global/mail_params.h index 80088c5c0..f9576be28 100644 --- a/postfix/src/global/mail_params.h +++ b/postfix/src/global/mail_params.h @@ -3983,23 +3983,23 @@ extern char *var_tlsp_clnt_fpt_dgst; #define VAR_TLSP_CLNT_USE_TLS "tlsproxy_client_use_tls" #define DEF_TLSP_CLNT_USE_TLS "$" VAR_SMTP_USE_TLS -bool var_tlsp_clnt_use_tls; +extern bool var_tlsp_clnt_use_tls; #define VAR_TLSP_CLNT_ENFORCE_TLS "tlsproxy_client_enforce_tls" #define DEF_TLSP_CLNT_ENFORCE_TLS "$" VAR_SMTP_ENFORCE_TLS -bool var_tlsp_clnt_enforce_tls; +extern bool var_tlsp_clnt_enforce_tls; #define VAR_TLSP_CLNT_LEVEL "tlsproxy_client_level" #define DEF_TLSP_CLNT_LEVEL "$" VAR_SMTP_TLS_LEVEL -char *var_tlsp_clnt_level; +extern char *var_tlsp_clnt_level; #define VAR_TLSP_CLNT_PER_SITE "tlsproxy_client_per_site" #define DEF_TLSP_CLNT_PER_SITE "$" VAR_SMTP_TLS_PER_SITE -char *var_tlsp_clnt_per_site; +extern char *var_tlsp_clnt_per_site; #define VAR_TLSP_CLNT_POLICY "tlsproxy_client_policy" #define DEF_TLSP_CLNT_POLICY "$" VAR_SMTP_TLS_POLICY -char *var_tlsp_clnt_policy; +extern char *var_tlsp_clnt_policy; /* * SMTPD "reject" contact info. diff --git a/postfix/src/global/mail_version.h b/postfix/src/global/mail_version.h index fd5e8555f..7b011202e 100644 --- a/postfix/src/global/mail_version.h +++ b/postfix/src/global/mail_version.h @@ -20,7 +20,7 @@ * Patches change both the patchlevel and the release date. Snapshots have no * patchlevel; they change the release date only. */ -#define MAIL_RELEASE_DATE "20200112" +#define MAIL_RELEASE_DATE "20200126" #define MAIL_VERSION_NUMBER "3.5" #ifdef SNAPSHOT diff --git a/postfix/src/postconf/postconf.h b/postfix/src/postconf/postconf.h index 0f4764875..7b23380a5 100644 --- a/postfix/src/postconf/postconf.h +++ b/postfix/src/postconf/postconf.h @@ -152,7 +152,7 @@ typedef struct { * Lookup table for master.cf entries. The table is terminated with an entry * that has a null argv member. */ -PCF_MASTER_ENT *pcf_master_table; +extern PCF_MASTER_ENT *pcf_master_table; /* * Line-wrapping support. diff --git a/postfix/src/smtpd/smtpd_expand.h b/postfix/src/smtpd/smtpd_expand.h index 71d705c01..3680036a0 100644 --- a/postfix/src/smtpd/smtpd_expand.h +++ b/postfix/src/smtpd/smtpd_expand.h @@ -18,7 +18,7 @@ /* * External interface. */ -VSTRING *smtpd_expand_filter; +extern VSTRING *smtpd_expand_filter; void smtpd_expand_init(void); const char *smtpd_expand_lookup(const char *, int, void *); int smtpd_expand(SMTPD_STATE *, VSTRING *, const char *, int); diff --git a/postfix/src/trivial-rewrite/trivial-rewrite.h b/postfix/src/trivial-rewrite/trivial-rewrite.h index bf0dd4a08..42016efb0 100644 --- a/postfix/src/trivial-rewrite/trivial-rewrite.h +++ b/postfix/src/trivial-rewrite/trivial-rewrite.h @@ -23,7 +23,7 @@ /* * Connection management. */ -int server_flags; +extern int server_flags; /* * rewrite.c