From: Wietse Venema
This feature is available in Postfix 2.3 and later.
+ + +The LMTP-specific version of the smtp_pix_workaround_maps +configuration parameter. See there for details.
+ +This feature is available in Postfix 2.4 and later.
+ +This feature is available in Postfix 2.3 and later.
+ + +The LMTP-specific version of the smtp_pix_workaround +configuration parameter. See there for details.
+ +This feature is available in Postfix 2.4 and later.
+ +Lookup tables, indexed by the remote SMTP server address, with +per-destination workarounds for CISCO PIX firewall bugs. The table +is not indexed by hostname for consistency with +smtp_discard_ehlo_keyword_address_maps.
+ +This feature is available in Postfix 2.4 and later.
+ +-How long a message must be queued before the PIX firewall -"<CR><LF>.<CR><LF>" bug workaround is turned -on for delivery through firewalls with "smtp fixup" mode turned on. -
+How long a message must be queued before the Postfix SMTP client +turns on the PIX firewall "<CR><LF>.<CR><LF>" +bug workaround for delivery through firewalls with "smtp fixup" +mode turned on.
By default, the workaround is turned off for mail that is queued @@ -7478,6 +7512,34 @@ first delivery attempt.
+A list that specifies zero or more workarounds for CISCO PIX +firewall bugs. These workarounds are implemented by the Postfix +SMTP client. Workaround names are separated by comma or space, and +are case insensitive. This parameter setting can be overruled with +per-destination smtp_pix_workaround_maps settings.
+ +This feature is available in Postfix 2.4 and later. The default +settings are backwards compatible with earlier Postfix versions. +
+ +-How long a message must be queued before the PIX firewall -"<CR><LF>.<CR><LF>" bug workaround is turned -on for delivery through firewalls with "smtp fixup" mode turned on. -
+How long a message must be queued before the Postfix SMTP client +turns on the PIX firewall "<CR><LF>.<CR><LF>" +bug workaround for delivery through firewalls with "smtp fixup" +mode turned on.
By default, the workaround is turned off for mail that is queued @@ -7990,13 +7989,13 @@ for details of how domain names are appended to incomplete addresses.
This feature is available in Postfix 2.3 and later.
+ +%PARAM smtp_pix_workarounds disable_esmtp, delay_dotcrlf + +A list that specifies zero or more workarounds for CISCO PIX +firewall bugs. These workarounds are implemented by the Postfix +SMTP client. Workaround names are separated by comma or space, and +are case insensitive. This parameter setting can be overruled with +per-destination smtp_pix_workaround_maps settings.
+ +This feature is available in Postfix 2.4 and later. The default +settings are backwards compatible with earlier Postfix versions. +
+ +%PARAM smtp_pix_workaround_maps + +Lookup tables, indexed by the remote SMTP server address, with +per-destination workarounds for CISCO PIX firewall bugs. The table +is not indexed by hostname for consistency with +smtp_discard_ehlo_keyword_address_maps.
+ +This feature is available in Postfix 2.4 and later.
+ +%PARAM lmtp_pix_workarounds + +The LMTP-specific version of the smtp_pix_workaround +configuration parameter. See there for details.
+ +This feature is available in Postfix 2.4 and later.
+ +%PARAM lmtp_pix_workaround_maps + +The LMTP-specific version of the smtp_pix_workaround_maps +configuration parameter. See there for details.
+ +This feature is available in Postfix 2.4 and later.
diff --git a/postfix/src/global/mail_params.h b/postfix/src/global/mail_params.h index a940e1ec7..fb77b7fed 100644 --- a/postfix/src/global/mail_params.h +++ b/postfix/src/global/mail_params.h @@ -1018,6 +1018,24 @@ extern int var_smtp_pix_thresh; #define DEF_LMTP_PIX_DELAY "10s" extern int var_smtp_pix_delay; + /* + * Courageous people may want to turn off PIX bug workarounds. + */ +#define PIX_BUG_DISABLE_ESMTP "disable_esmtp" +#define PIX_BUG_DELAY_DOTCRLF "delay_dotcrlf" +#define VAR_SMTP_PIX_BUG_WORDS "smtp_pix_workarounds" +#define DEF_SMTP_PIX_BUG_WORDS PIX_BUG_DISABLE_ESMTP "," \ + PIX_BUG_DELAY_DOTCRLF +#define VAR_LMTP_PIX_BUG_WORDS "lmtp_pix_workarounds" +#define DEF_LMTP_PIX_BUG_WORDS DEF_SMTP_PIX_BUG_WORDS +extern char *var_smtp_pix_bug_words; + +#define VAR_SMTP_PIX_BUG_MAPS "smtp_pix_workaround_maps" +#define DEF_SMTP_PIX_BUG_MAPS "" +#define VAR_LMTP_PIX_BUG_MAPS "lmtp_pix_workaround_maps" +#define DEF_LMTP_PIX_BUG_MAPS "" +extern char *var_smtp_pix_bug_maps; + #define VAR_SMTP_DEFER_MXADDR "smtp_defer_if_no_mx_address_found" #define DEF_SMTP_DEFER_MXADDR 0 #define VAR_LMTP_DEFER_MXADDR "lmtp_defer_if_no_mx_address_found" diff --git a/postfix/src/global/mail_version.h b/postfix/src/global/mail_version.h index 324147442..b845ceda1 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 "20061001" +#define MAIL_RELEASE_DATE "20061005" #define MAIL_VERSION_NUMBER "2.4" #ifdef SNAPSHOT diff --git a/postfix/src/showq/showq.c b/postfix/src/showq/showq.c index ef7e2a38f..8cbb27897 100644 --- a/postfix/src/showq/showq.c +++ b/postfix/src/showq/showq.c @@ -140,8 +140,8 @@ int var_dup_filter_limit; char *var_empty_addr; #define STRING_FORMAT "%-10s %8s %-20s %s\n" -#define SENDER_FORMAT "%-11s%8ld %20.20s %s\n" -#define DROP_FORMAT "%-10s%c%8ld %20.20s (maildrop queue, sender UID %u)\n" +#define SENDER_FORMAT "%-11s %7ld %20.20s %s\n" +#define DROP_FORMAT "%-10s%c %7ld %20.20s (maildrop queue, sender UID %u)\n" static void showq_reasons(VSTREAM *, BOUNCE_LOG *, RCPT_BUF *, DSN_BUF *, HTABLE *); diff --git a/postfix/src/smtp/lmtp_params.c b/postfix/src/smtp/lmtp_params.c index e5f0c119c..c25587935 100644 --- a/postfix/src/smtp/lmtp_params.c +++ b/postfix/src/smtp/lmtp_params.c @@ -44,6 +44,8 @@ VAR_PROP_EXTENSION, DEF_PROP_EXTENSION, &var_prop_extension, 0, 0, VAR_LMTP_GENERIC_MAPS, DEF_LMTP_GENERIC_MAPS, &var_smtp_generic_maps, 0, 0, VAR_LMTP_TCP_PORT, DEF_LMTP_TCP_PORT, &var_lmtp_tcp_port, 0, 0, + VAR_LMTP_PIX_BUG_WORDS, DEF_LMTP_PIX_BUG_WORDS, &var_smtp_pix_bug_words, 0, 0, + VAR_LMTP_PIX_BUG_MAPS, DEF_LMTP_PIX_BUG_MAPS, &var_smtp_pix_bug_maps, 0, 0, 0, }; static CONFIG_TIME_TABLE lmtp_time_table[] = { diff --git a/postfix/src/smtp/smtp.c b/postfix/src/smtp/smtp.c index 21a7aab6b..bba3b3ba0 100644 --- a/postfix/src/smtp/smtp.c +++ b/postfix/src/smtp/smtp.c @@ -149,9 +149,16 @@ /* ".