pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/postfix



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Jun  2 15:43:31 UTC 2024

Modified Files:
        pkgsrc/mail/postfix: Makefile.common PLIST distinfo

Log Message:
mail/postfix: update to 3.9.0

>From release announce
<https://www.postfix.org/announcements/postfix-3.9.0.html>:

Postfix stable release 3.9.0 is available. Postfix 3.5 - 3.8 were
updated earlier this week; after that, Postfix 3.5 will no longer
be updated.

The main changes are below. See the RELEASE_NOTES file for further
details.

Removed functionality:

  * As described in DEPRECATION_README, the SMTP server features
    "permit_naked_ip_address", "check_relay_domains", and
    "reject_maps_rbl" have been removed, after they have been logging
    a warning for some 20 years. These features now log a warning
    and return a "server configuration error" response.

  * The MySQL client no longer supports MySQL versions < 4.0. MySQL
    version 4.0 was released in 2003.

Officially obsolete functionality:

  * As covered in DEPRECATION_README, the configuration parameter
    "disable_dns_lookup" and about a dozen TLS-related parameters
    are now officially obsolete. These parameters still work, but
    the postconf command logs warnings that they will be removed
    from Postfix.

  * As covered in DEPRECATION_README, "permit_mx_backup" logs a
    warning that it will be removed from Postfix.

Changed functionality:

  * In message headers, Postfix now formats numerical days as
    two-digit days, i.e. days 1-9 have a leading zero instead of a
    leading space. This change was made because the RFC 5322 date
    and time specification recommends (i.e. SHOULD) that a single
    space be used in each place that folding white space appears.
    This change avoids a breaking change in the length of a date
    string.

  * The MySQL client default characterset is now configurable with
    the "charset" configuration file attribute. The default is
    "utf8mb4", consistent with the MySQL 8.0 built-in default, but
    different from earlier MySQL versions where the built-in default
    was "latin1".

New functionality:

  * Support to query MongoDB databases, contributed by Hamid Maadani,
    based on earlier code by Stephan Ferraro. See MONGODB_README
    and mongodb_table(5)

  * The RFC 3461 envelope ID is now exported in the local(8) delivery
    agent with the ENVID environment variable, and in the pipe(8)
    delivery agent with the ${envid} command-line attribute.

  * Configurable idle and retry timer settings in the mysql: and
    pgsql: clients. A shorter than default retry timer can sped up
    the recovery after error, when Postfix is configured with only
    one server in the "hosts" attribute. After the code was frozen
    for release, we have learned that Postfix can recover faster
    from some errors when the single server is specified multiple
    times in the "hosts" attribute.

  * Optional Postfix TLS support to request an RFC7250 raw public
    key instead of an X.509 public-key certificate. The configuration
    settings for raw key public support will be ignored when there
    is no raw public key support in the local TLS implementation
    (i.e. Postfix with OpenSSL versions before 3.2). See RELEASE_NOTES
    for more information.

  * Preliminary support for OpenSSL configuration files, primarily
    OpenSSL 1.1.1b and later. This introduces two new parameters
    "tls_config_file" and "tls_config_name", which can be used to
    limit collateral damage from OS distributions that crank up
    security to 11, increasing the number of plaintext email
    deliveries. Details are in the postconf(5) manpage under
    "tls_config_file" and "tls_config_name".

Attack resistance:

  * With "smtpd_forbid_unauth_pipelining = yes" (the default),
    Postfix defends against multiple "blind" SMTP attacks. This
    feature was back-ported to older stable releases but disabled
    by default.

  * With "smtpd_forbid_bare_newline = normalize" (the default)
    Postfix defends against SMTP smuggling attacks. See RELEASE_NOTES
    for details. This feature was back-ported to older stable
    releases but disabled by default.

  * Prevent outbound SMTP smuggling, where an attacker uses Postfix
    to send email containing a non-standard End-of-DATA sequence,
    to exploit inbound SMTP smuggling at a vulnerable remote SMTP
    server. With "cleanup_replace_stray_cr_lf = yes" (the default),
    the cleanup daemon replaces each stray <CR> or <LF> character
    in message content with a space character. This feature was
    back-ported to older stable releases with identical functionality.

  * The Postfix DNS client now limits the total size of DNS lookup
    results to 100 records; it drops the excess records, and logs
    a warning. This limit is 20x larger than the number of server
    addresses that the Postfix SMTP client is willing to consider
    when delivering mail, and is far below the number of records
    that could cause a tail recursion crash in dns_rr_append() as
    reported by Toshifumi Sakaguchi. This also introduces a similar
    limit on the number of DNS requests that a check_*_*_access
    restriction can make. All this was back-ported to older stable
    releases with identical functionality.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/mail/postfix/Makefile.common
cvs rdiff -u -r1.33 -r1.34 pkgsrc/mail/postfix/PLIST
cvs rdiff -u -r1.208 -r1.209 pkgsrc/mail/postfix/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/postfix/Makefile.common
diff -u pkgsrc/mail/postfix/Makefile.common:1.47 pkgsrc/mail/postfix/Makefile.common:1.48
--- pkgsrc/mail/postfix/Makefile.common:1.47    Wed Feb 28 15:16:19 2024
+++ pkgsrc/mail/postfix/Makefile.common Sun Jun  2 15:43:31 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.47 2024/02/28 15:16:19 taca Exp $
+# $NetBSD: Makefile.common,v 1.48 2024/06/02 15:43:31 taca Exp $
 # used by mail/postfix/Makefile
 # used by mail/postfix/Makefile.module
 
-DISTNAME=      postfix-3.8.5
+DISTNAME=      postfix-3.9.0
 CATEGORIES=    mail
 MASTER_SITES=  ftp://ftp.porcupine.org/mirrors/postfix-release/official/
 

Index: pkgsrc/mail/postfix/PLIST
diff -u pkgsrc/mail/postfix/PLIST:1.33 pkgsrc/mail/postfix/PLIST:1.34
--- pkgsrc/mail/postfix/PLIST:1.33      Thu Jul 21 15:08:39 2022
+++ pkgsrc/mail/postfix/PLIST   Sun Jun  2 15:43:31 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.33 2022/07/21 15:08:39 taca Exp $
+@comment $NetBSD: PLIST,v 1.34 2024/06/02 15:43:31 taca Exp $
 bin/mailq
 bin/newaliases
 lib/postfix/libpostfix-dns.so
@@ -74,6 +74,7 @@ man/man5/ldap_table.5
 man/man5/lmdb_table.5
 man/man5/master.5
 man/man5/memcache_table.5
+man/man5/mongodb_table.5
 man/man5/mysql_table.5
 man/man5/nisplus_table.5
 man/man5/pcre_table.5
@@ -146,6 +147,7 @@ share/doc/postfix/CONTENT_INSPECTION_REA
 share/doc/postfix/DATABASE_README
 share/doc/postfix/DB_README
 share/doc/postfix/DEBUG_README
+share/doc/postfix/DEPRECATION_README
 share/doc/postfix/DSN_README
 share/doc/postfix/ETRN_README
 share/doc/postfix/FILTER_README
@@ -160,6 +162,7 @@ share/doc/postfix/MAILDROP_README
 share/doc/postfix/MAILLOG_README
 share/doc/postfix/MEMCACHE_README
 share/doc/postfix/MILTER_README
+share/doc/postfix/MONGODB_README
 share/doc/postfix/MULTI_INSTANCE_README
 share/doc/postfix/MYSQL_README
 share/doc/postfix/NFS_README

Index: pkgsrc/mail/postfix/distinfo
diff -u pkgsrc/mail/postfix/distinfo:1.208 pkgsrc/mail/postfix/distinfo:1.209
--- pkgsrc/mail/postfix/distinfo:1.208  Wed Feb 28 15:16:19 2024
+++ pkgsrc/mail/postfix/distinfo        Sun Jun  2 15:43:31 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.208 2024/02/28 15:16:19 taca Exp $
+$NetBSD: distinfo,v 1.209 2024/06/02 15:43:31 taca Exp $
 
-BLAKE2s (postfix-3.8.5.tar.gz) = c7a28244e2ea352f4631c30fe255e2946cf07a1473401ebc850c55578f4bebde
-SHA512 (postfix-3.8.5.tar.gz) = 26005da5750e7af742f4fc7596ae8320467176e069546c3487418c663b54f56734b4a6541665b8d72d94df2e0fd4f68a2bcc44c50a6d950334d5a5fb2293dff4
-Size (postfix-3.8.5.tar.gz) = 4871284 bytes
+BLAKE2s (postfix-3.9.0.tar.gz) = 7ac81cb8855adc4a065f2623f57add628d3ce4ccb67733fb5591ab628e16f0f2
+SHA512 (postfix-3.9.0.tar.gz) = 46faaf529a6d2edc5ea747ee0d73a028f7061a923da0ea4b1e1828d935b15f5782d83f7a8472e7c74b45ea0e96666c871efd352934bead28a88ddd3561ade324
+Size (postfix-3.9.0.tar.gz) = 4953133 bytes
 SHA1 (patch-aa) = c8216f133e202a7bb37682b0dbc1448f021e7c1c
 SHA1 (patch-ag) = 8ab3cfafa63056f9a7f096da7e55bcccab965180
 SHA1 (patch-ai) = 3d143532e1e9a149c6c06e2efadcd34f6f72e82d



Home | Main Index | Thread Index | Old Index