pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/opensmtpd



Module Name:    pkgsrc
Committed By:   vins
Date:           Sat Nov 28 16:49:06 UTC 2026

Modified Files:
        pkgsrc/mail/opensmtpd: Makefile distinfo

Log Message:
mail/opensmtpd: update to 7.9.0p0

# Release 7.9.0p0 (2026-09-13)

This includes also the OpenBSD 7.9 errata `002` and `015` (all the
ones released as of today.)

 - Restricted the characters allowed through when expanding variables with
   the raw modifier, both in the MDA command line and in its environment.
 - Don't lowercase K_AUTH lookups.  The lookup key is "user:password", so
   passwords were being case-flattened before reaching the table.
 - Reject CR and LF in the sender, recipients and DSN options taken from
   the sendmail(8) command line, which could otherwise inject additional
   SMTP commands into the local dialogue.
 - Reject empty or slash-bearing usernames before building the mbox path.
 - Fixed a possible out of bounds access in dname_expand().
 - Fixed a possible out of bounds read in text_to_netaddr().
 - Stop parsing DNS answers once unpack_rr() reports a failure, instead of
   looping on the attacker-controlled answer count.
 - Validate encrypted queue buffer sizes before processing the auth tag and
   IV data.
 - Hardened the privsep environment: reject oversized sockaddr payloads
   received over IPC, clear userinfo before sending it over imsg, zero the
   temporary envelope parsing buffers, and drop pending asynchronous lookup
   references when a session is torn down.
 - EHLO now resets the transaction, as required by RFC 5321.
 - Return 452 instead of 451 when there are too many recipients.
 - "smtp limit max-rcpt" now requires a value of at least 100, per RFC 5321.
 - Removed "support" for the WIZ command.
 - Fixed using modifiers together with partial expansion in format
   specifiers, for example %{sender.user[6:]:strip}.
 - Fixed a leak of the inflate stream on every read from a compressed queue.
 - Fixed leaks of mda_subaddress and dispatcher in mda_envelope_free(), and
   of the copied envelope on the smarthost lookup failure path.
 - Unlink the transformed temporary file on every queue commit failure,
   instead of leaving orphaned .comp/.enc files behind.
 - Updated the bundled imsg and switched smtpd over to imsgbuf_get().
 - Various documentation improvements.

Two changes in this release can affect existing installations:

* A configuration setting "smtp limit max-rcpt" below 100 is now rejected
  at parse time.
* The set of characters accepted in envelope addresses no longer includes
  $ ` { | } , which are never present in legitimate addresses and are
  commonly seen in exploit attempts.

## bundled libtls

 - Added X25519MLKEM768 to the front of the default ECDHE curve list.
   Curves the installed libcrypto does not know about are skipped when
   expanding the default list, so this is a no-op before OpenSSL 3.5; a
   curve requested explicitly is still an error.
 - Consistently use the "x" variants of the error setting functions where
   errno carries no useful information, and report TLS_ERROR_OUT_OF_MEMORY
   rather than TLS_ERROR_UNKNOWN after allocation failures.
 - Disallow wildcard matching of a TLD specified as a FQDN.  smtpd is
   not believed to be affected.
 - Added missing length checks before BIO_new_mem_buf(): certificates
   and keys larger than INT_MAX no longer have their length truncated.
 - The subject of a certificate is no longer treated as optional.
 - Abort the handshake when there is no ALPN protocol overlap, as required
   by RFC 7301.  Not reachable from smtpd.
 - const correctness for X509_NAME, in preparation for OpenSSL 4.
 - Open certificate and key files with O_CLOEXEC.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/mail/opensmtpd/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/mail/opensmtpd/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/opensmtpd/Makefile
diff -u pkgsrc/mail/opensmtpd/Makefile:1.37 pkgsrc/mail/opensmtpd/Makefile:1.38
--- pkgsrc/mail/opensmtpd/Makefile:1.37 Sun Apr 19 18:16:47 2026
+++ pkgsrc/mail/opensmtpd/Makefile      Sat Nov 28 16:49:06 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.37 2026/04/19 18:16:47 vins Exp $
+# $NetBSD: Makefile,v 1.38 2026/11/28 16:49:06 vins Exp $
 
-VERSION=       7.8.0p1
+VERSION=       7.9.0p0
 DISTNAME=      opensmtpd-${VERSION}
 CATEGORIES=    mail net
 MASTER_SITES=  https://www.opensmtpd.org/archives/

Index: pkgsrc/mail/opensmtpd/distinfo
diff -u pkgsrc/mail/opensmtpd/distinfo:1.16 pkgsrc/mail/opensmtpd/distinfo:1.17
--- pkgsrc/mail/opensmtpd/distinfo:1.16 Sun Apr 19 18:16:47 2026
+++ pkgsrc/mail/opensmtpd/distinfo      Sat Nov 28 16:49:06 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.16 2026/04/19 18:16:47 vins Exp $
+$NetBSD: distinfo,v 1.17 2026/11/28 16:49:06 vins Exp $
 
-BLAKE2s (opensmtpd-7.8.0p1.tar.gz) = 717dce12d8bcd72053b2a79234a8331c7dacf744f61a7e0effe00d04147246f4
-SHA512 (opensmtpd-7.8.0p1.tar.gz) = 5364036cc0503436ed0836ccd8b5a756e1aec3625b142f15fc3a029dba47e05e6c9fe94e40d6d475a1bfb1b0ca1ee39ba21a4c9d8a98eb5d97b335f5e1389a3a
-Size (opensmtpd-7.8.0p1.tar.gz) = 745487 bytes
+BLAKE2s (opensmtpd-7.9.0p0.tar.gz) = d07298faa480d923c17dc14eb54fc0530146b43452dc07f612e299e45285d6eb
+SHA512 (opensmtpd-7.9.0p0.tar.gz) = 8a893adb5c291f19a64b569df27565ddeee8c13f376146b13f33b4515d4ac5f149cad351ab2a4624bc81cf182ccf84307f36283ab0e33de0944e67f8aef3e919
+Size (opensmtpd-7.9.0p0.tar.gz) = 981105 bytes
 SHA1 (patch-configure.ac) = ff6534e28ecba1de479660a00340600feefd5d7e
 SHA1 (patch-contrib_libexec_mail.local_mail.local.c) = bec19540fa52c7c6596ab5923f3a67b334ddf168
 SHA1 (patch-mk_smtpd_Makefile.am) = cc3f82922e3e56bc0205085f7e311f2beeda7fc4



Home | Main Index | Thread Index | Old Index