summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile2
-rw-r--r--mail/claws-mail/Makefile.ver2
-rw-r--r--mail/claws-mail/distinfo4
-rw-r--r--mail/dbmail/Makefile2
-rw-r--r--mail/dbmail/distinfo6
-rw-r--r--mail/dbmail/files/patch-src_clientbase.c33
-rw-r--r--mail/fetchmail/Makefile2
-rw-r--r--mail/fetchmail/distinfo6
-rw-r--r--mail/fetchmailconf/pkg-plist1
-rw-r--r--mail/imap-tools/Makefile1
-rw-r--r--mail/libopensmtpd/Makefile34
-rw-r--r--mail/libopensmtpd/distinfo3
-rw-r--r--mail/libopensmtpd/files/patch-ioev.c11
-rw-r--r--mail/libopensmtpd/pkg-descr3
-rw-r--r--mail/libopensmtpd/pkg-plist5
-rw-r--r--mail/mutt/Makefile7
-rw-r--r--mail/mutt/distinfo6
-rw-r--r--mail/opensmtpd-filter-dkimsign/Makefile36
-rw-r--r--mail/opensmtpd-filter-dkimsign/distinfo3
-rw-r--r--mail/opensmtpd-filter-dkimsign/pkg-descr20
-rw-r--r--mail/pizauth/Makefile2
-rw-r--r--mail/postfix-current/Makefile2
-rw-r--r--mail/postfix-current/distinfo6
-rw-r--r--mail/postfix-current/files/extra-patch-blacklistd109
-rw-r--r--mail/postfix-current/files/patch-makedefs13
-rw-r--r--mail/postfix-current/files/patch-src_util_sys__defs.h2
-rw-r--r--mail/thunderbird-esr/Makefile2
-rw-r--r--mail/thunderbird-esr/distinfo6
-rw-r--r--mail/thunderbird/Makefile1
29 files changed, 276 insertions, 54 deletions
diff --git a/mail/Makefile b/mail/Makefile
index dde4a69eddde..092979a16662 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -181,6 +181,7 @@
SUBDIR += libesmtp
SUBDIR += libetpan
SUBDIR += libmilter
+ SUBDIR += libopensmtpd
SUBDIR += libpst
SUBDIR += libsieve
SUBDIR += libspamtest
@@ -289,6 +290,7 @@
SUBDIR += opensmtpd-extras-table-redis
SUBDIR += opensmtpd-extras-table-socketmap
SUBDIR += opensmtpd-extras-table-sqlite
+ SUBDIR += opensmtpd-filter-dkimsign
SUBDIR += opensmtpd-filter-rspamd
SUBDIR += opensmtpd-filter-senderscore
SUBDIR += opensmtpd-table-sqlite
diff --git a/mail/claws-mail/Makefile.ver b/mail/claws-mail/Makefile.ver
index b1050cf44fb8..69843c7f3886 100644
--- a/mail/claws-mail/Makefile.ver
+++ b/mail/claws-mail/Makefile.ver
@@ -6,5 +6,5 @@ MASTER_OPTIONS!= ${MAKE} -C ${.CURDIR}/../claws-mail -V PORT_OPTIONS
PORTVERSION= 3.21.0
.endif
.if ${MASTER_OPTIONS:MGTK3}
-PORTVERSION= 4.3.0
+PORTVERSION= 4.3.1
.endif
diff --git a/mail/claws-mail/distinfo b/mail/claws-mail/distinfo
index 6eeee4f90e8b..372dd320ddad 100644
--- a/mail/claws-mail/distinfo
+++ b/mail/claws-mail/distinfo
@@ -2,5 +2,5 @@ TIMESTAMP = 1718021837
SHA256 (claws-mail-3.21.0.tar.xz) = 333f3ac1b6c98542098678d8606583da4adfc7439eb4e81043f7675b45e91a96
SIZE (claws-mail-3.21.0.tar.xz) = 6848648
TIMESTAMP = 1718021875
-SHA256 (claws-mail-4.3.0.tar.xz) = 95dc1d888eb916f028467fa0c3cbf45baff6678793b7bfb35fabba029d581ce1
-SIZE (claws-mail-4.3.0.tar.xz) = 6831980
+SHA256 (claws-mail-4.3.1.tar.xz) = d8adf210c767ab58252dfc5ab3c69e603d7ffdb7281a1e3340d2d86062f468a6
+SIZE (claws-mail-4.3.1.tar.xz) = 6782236
diff --git a/mail/dbmail/Makefile b/mail/dbmail/Makefile
index 20aa942e02d0..795d0067b2ee 100644
--- a/mail/dbmail/Makefile
+++ b/mail/dbmail/Makefile
@@ -1,6 +1,6 @@
PORTNAME= dbmail
DISTVERSIONPREFIX= v
-DISTVERSION= 3.5.4
+DISTVERSION= 3.5.5
CATEGORIES= mail
MAINTAINER= bofh@FreeBSD.org
diff --git a/mail/dbmail/distinfo b/mail/dbmail/distinfo
index 0e838f1a0fa8..d4d6d2c971e0 100644
--- a/mail/dbmail/distinfo
+++ b/mail/dbmail/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751534573
-SHA256 (dbmail-dbmail-v3.5.4_GH0.tar.gz) = 509a189c083c44bedadb320c037b144d9f2d1955b9a54dbb9dd3d73c7e8337c9
-SIZE (dbmail-dbmail-v3.5.4_GH0.tar.gz) = 2547614
+TIMESTAMP = 1759523898
+SHA256 (dbmail-dbmail-v3.5.5_GH0.tar.gz) = 1c86be8d4eeed3dd676c91a907b75fe70da8182791c3b6ae04c5b56396ec3ae0
+SIZE (dbmail-dbmail-v3.5.5_GH0.tar.gz) = 2553083
diff --git a/mail/dbmail/files/patch-src_clientbase.c b/mail/dbmail/files/patch-src_clientbase.c
index 19e6aa57533b..aa7fb8b4f9f4 100644
--- a/mail/dbmail/files/patch-src_clientbase.c
+++ b/mail/dbmail/files/patch-src_clientbase.c
@@ -1,29 +1,26 @@
---- src/clientbase.c.orig 2022-10-15 15:02:38 UTC
+--- src/clientbase.c.orig 2025-10-04 10:47:08 UTC
+++ src/clientbase.c
-@@ -152,7 +152,7 @@ ClientBase_T * client_init(client_sock *c)
+@@ -152,20 +152,20 @@ ClientBase_T * client_init(client_sock *c)
client->tx = STDOUT_FILENO;
} else {
/* server-side */
-- if ((serr = getnameinfo(&c->saddr, c->saddr_len, client->dst_ip,
-+ if ((serr = getnameinfo(&c->saddr, c->saddr.sa_len, client->dst_ip,
- NI_MAXHOST, client->dst_port,
- NI_MAXSERV, NI_NUMERICHOST | NI_NUMERICSERV))) {
+- if ((serr = getnameinfo(&c->saddr, c->saddr_len, client->dst_ip,
++ if ((serr = getnameinfo(&c->saddr, c->saddr.sa_len, client->dst_ip,
+ NI_MAXHOST, client->dst_port,
+ NI_MAXSERV, NI_NUMERICHOST | NI_NUMERICSERV))) {
TRACE(TRACE_INFO, "getnameinfo::error [%s]", gai_strerror(serr));
-@@ -160,7 +160,7 @@ ClientBase_T * client_init(client_sock *c)
+ }
/* client-side */
+- if ((serr = getnameinfo(&c->caddr, c->caddr_len, client->src_ip,
++ if ((serr = getnameinfo(&c->caddr, c->caddr.sa_len, client->src_ip,
+ NI_MAXHOST-1, client->src_port,
+ NI_MAXSERV-1, NI_NUMERICHOST | NI_NUMERICSERV))) {
+ TRACE(TRACE_INFO, "getnameinfo:error [%s]", gai_strerror(serr));
+ }
if (server_conf->resolveIP) {
- if ((serr = getnameinfo(&c->caddr, c->caddr_len, client->clientname,
+ if ((serr = getnameinfo(&c->caddr, c->caddr.sa_len, client->clientname,
- NI_MAXHOST-1, NULL, 0, NI_NAMEREQD))) {
- TRACE(TRACE_INFO, "getnameinfo:error [%s]", gai_strerror(serr));
- }
-@@ -171,7 +171,7 @@ ClientBase_T * client_init(client_sock *c)
- client->clientname[0] ? client->clientname : "Lookup failed");
- } else {
-
-- if ((serr = getnameinfo(&c->caddr, c->caddr_len, client->src_ip,
-+ if ((serr = getnameinfo(&c->caddr, c->caddr.sa_len, client->src_ip,
- NI_MAXHOST-1, client->src_port,
- NI_MAXSERV-1, NI_NUMERICHOST | NI_NUMERICSERV))) {
+ NI_MAXHOST-1, NULL, 0, NI_NAMEREQD))) {
TRACE(TRACE_INFO, "getnameinfo:error [%s]", gai_strerror(serr));
+ }
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 5f5781a89719..85db96d4e5f1 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -1,5 +1,5 @@
PORTNAME?= fetchmail
-DISTVERSION= 6.5.5
+DISTVERSION= 6.5.6
PORTREVISION?= 0
CATEGORIES= mail
# The next line is inherited by the fetchmailconf dependent port,
diff --git a/mail/fetchmail/distinfo b/mail/fetchmail/distinfo
index 4696c0e87342..aac30a3bab80 100644
--- a/mail/fetchmail/distinfo
+++ b/mail/fetchmail/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1758741943
-SHA256 (fetchmail-6.5.5.tar.xz) = f989b62729c76afbcd65ec43b9c477f2d990f0913da141ff8166aa4e2bf56025
-SIZE (fetchmail-6.5.5.tar.xz) = 1048344
+TIMESTAMP = 1759500530
+SHA256 (fetchmail-6.5.6.tar.xz) = ec10e0e0eaa417313559379ede76c74614766d838b39470b66474863aa690dab
+SIZE (fetchmail-6.5.6.tar.xz) = 1061804
diff --git a/mail/fetchmailconf/pkg-plist b/mail/fetchmailconf/pkg-plist
index c0b5b8dfd13e..474368000540 100644
--- a/mail/fetchmailconf/pkg-plist
+++ b/mail/fetchmailconf/pkg-plist
@@ -3,3 +3,4 @@ share/man/man1/fetchmailconf.1.gz
%%PYTHON_SITELIBDIR%%/fetchmailconf.py
%%PYTHON_SITELIBDIR%%/fetchmailconf.pyc
%%PYTHON_SITELIBDIR%%/fetchmailconf.pyo
+@comment %%PYTHON_SITELIBDIR%%/__pycache__/fetchmailconf%%PYTHON_TAG%%.opt-2.pyc
diff --git a/mail/imap-tools/Makefile b/mail/imap-tools/Makefile
index 42e9ce40fd42..20f39d9721f9 100644
--- a/mail/imap-tools/Makefile
+++ b/mail/imap-tools/Makefile
@@ -1,5 +1,6 @@
PORTNAME= imap-tools
DISTVERSION= 1.7.1
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= CRATESIO
DISTFILES= ${CARGO_DIST_SUBDIR}/${DISTNAME}${CARGO_CRATE_EXT}
diff --git a/mail/libopensmtpd/Makefile b/mail/libopensmtpd/Makefile
new file mode 100644
index 000000000000..64a054778500
--- /dev/null
+++ b/mail/libopensmtpd/Makefile
@@ -0,0 +1,34 @@
+PORTNAME= libopensmtpd
+DISTVERSION= 0.7
+CATEGORIES= mail
+MASTER_SITES= https://imperialat.at/releases/
+
+MAINTAINER= mvalleton@seos.fr
+COMMENT= Library for writing opensmtpd filters
+WWW= https://imperialat.at/dev/libopensmtpd/
+
+LICENSE= ISCL
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= opensmtpd>=6.6.0:mail/opensmtpd
+LIB_DEPENDS= libevent.so:devel/libevent
+
+USES= gmake localbase:ldflags uidfix
+USE_LDCONFIG= yes
+
+MAKEFILE= Makefile.gnu
+MAKE_ARGS= NEED_STRLCAT=0 \
+ NEED_STRLCPY=0 \
+ NEED_STRTONUM=0
+
+# Makefile doesn't install the .so libraries or opensmtpd.h, and
+# Makefile.gnu uses GNU-specific options to install, so we can't
+# use either. So we just have to install the files manually then
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/opensmtpd.h ${STAGEDIR}${PREFIX}/include/
+ ${INSTALL_MAN} ${WRKSRC}/osmtpd_run.3 ${STAGEDIR}${PREFIX}/share/man/man3/
+ ${INSTALL_LIB} ${WRKSRC}/libopensmtpd.so.0.1.0 ${STAGEDIR}${PREFIX}/lib/libopensmtpd.so.0.1.0
+ ${RLN} libopensmtpd.so.0.1.0 ${STAGEDIR}${PREFIX}/lib/libopensmtpd.so.0
+ ${RLN} libopensmtpd.so.0.1.0 ${STAGEDIR}${PREFIX}/lib/libopensmtpd.so
+
+.include <bsd.port.mk>
diff --git a/mail/libopensmtpd/distinfo b/mail/libopensmtpd/distinfo
new file mode 100644
index 000000000000..d2d851868c25
--- /dev/null
+++ b/mail/libopensmtpd/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1735830966
+SHA256 (libopensmtpd-0.7.tar.gz) = cdd6d5e11a7063f9265da43a42309c646554b8b68b03982ca8472dbe2b08a613
+SIZE (libopensmtpd-0.7.tar.gz) = 34942
diff --git a/mail/libopensmtpd/files/patch-ioev.c b/mail/libopensmtpd/files/patch-ioev.c
new file mode 100644
index 000000000000..6f8f4395467c
--- /dev/null
+++ b/mail/libopensmtpd/files/patch-ioev.c
@@ -0,0 +1,11 @@
+--- ioev.c.orig 2019-11-14 17:46:37 UTC
++++ ioev.c
+@@ -21,6 +21,8 @@
+ #include <sys/queue.h>
+ #include <sys/socket.h>
+
++#include <netinet/in.h>
++
+ #include <err.h>
+ #include <errno.h>
+ #include <event.h>
diff --git a/mail/libopensmtpd/pkg-descr b/mail/libopensmtpd/pkg-descr
new file mode 100644
index 000000000000..f4a15f259cd7
--- /dev/null
+++ b/mail/libopensmtpd/pkg-descr
@@ -0,0 +1,3 @@
+This library provides an event-based interface for writing OpenSMTPd
+filters. It is used by the opensmtpd-filter-dkimsign port as well as
+several other filters that do not have ports.
diff --git a/mail/libopensmtpd/pkg-plist b/mail/libopensmtpd/pkg-plist
new file mode 100644
index 000000000000..8edfac208244
--- /dev/null
+++ b/mail/libopensmtpd/pkg-plist
@@ -0,0 +1,5 @@
+include/opensmtpd.h
+lib/libopensmtpd.so
+lib/libopensmtpd.so.0
+lib/libopensmtpd.so.0.1.0
+share/man/man3/osmtpd_run.3.gz
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 4ab8c134bced..8a495f3c6336 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -1,6 +1,5 @@
PORTNAME= mutt
-DISTVERSION= 2.2.14
-PORTREVISION= 1
+DISTVERSION= 2.2.15
CATEGORIES+= mail
MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/ \
https://bitbucket.org/mutt/mutt/downloads/
@@ -90,7 +89,9 @@ AUTOCRYPT_DEPENDS= gnupg>=2.1:security/gnupg \
DEBUG_LOGS_CONFIGURE_ON= --enable-debug
-DOCS_BUILD_DEPENDS= lynx:www/lynx
+DOCS_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \
+ lynx:www/lynx \
+ xsltproc:textproc/libxslt
DOCS_CONFIGURE_OFF= --disable-doc
FLOCK_CONFIGURE_ENABLE= flock
diff --git a/mail/mutt/distinfo b/mail/mutt/distinfo
index a2dd0779915b..27688e46001d 100644
--- a/mail/mutt/distinfo
+++ b/mail/mutt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1740063795
-SHA256 (mutt/mutt-2.2.14.tar.gz) = d162fb6d491e3af43d6f62f949b7e687bb0c7c2584da52c99a99354a25de14ef
-SIZE (mutt/mutt-2.2.14.tar.gz) = 5549971
+TIMESTAMP = 1759540899
+SHA256 (mutt/mutt-2.2.15.tar.gz) = a51686104e4203f4c2a3b176527be3b95d08e808e94fd2dcadb7c30566bf894d
+SIZE (mutt/mutt-2.2.15.tar.gz) = 5555304
diff --git a/mail/opensmtpd-filter-dkimsign/Makefile b/mail/opensmtpd-filter-dkimsign/Makefile
new file mode 100644
index 000000000000..802c3786498c
--- /dev/null
+++ b/mail/opensmtpd-filter-dkimsign/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= filter-dkimsign
+DISTVERSION= 0.5
+CATEGORIES= mail
+MASTER_SITES= https://imperialat.at/releases/
+PKGNAMEPREFIX= opensmtpd-
+
+MAINTAINER= mvalleton@seos.fr
+COMMENT= Library for writing opensmtpd filters
+WWW= https://imperialat.at/dev/filter-dkimsign/
+
+LICENSE= ISCL
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libevent.so:devel/libevent \
+ libopensmtpd.so:mail/libopensmtpd
+
+MAKEFILE= Makefile.gnu
+USES= gmake localbase ssl
+PLIST_FILES= libexec/opensmtpd/filter-dkimsign \
+ share/man/man8/filter-dkimsign.8.gz
+
+# LDFLAGS used by gmake during build
+# MANDIR and BINDIR used by make during install
+MAKE_ARGS= BINDIR=${LOCALBASE}/libexec/opensmtpd \
+ MANDIR=${LOCALBASE}/share/man/man \
+ MK_DEBUG_FILES=no
+
+# Makefile.gnu's install target uses Linux-specific install options so we
+# have to use the OpenBSD Makefile instead. Thus, it's easier to just do
+# it manually.
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/opensmtpd
+ ${INSTALL_PROGRAM} ${WRKSRC}/filter-dkimsign ${STAGEDIR}${PREFIX}/libexec/opensmtpd/
+ ${INSTALL_MAN} ${WRKSRC}/filter-dkimsign.8.gz ${STAGEDIR}${PREFIX}/share/man/man8
+
+.include <bsd.port.mk>
diff --git a/mail/opensmtpd-filter-dkimsign/distinfo b/mail/opensmtpd-filter-dkimsign/distinfo
new file mode 100644
index 000000000000..f89f58056d2c
--- /dev/null
+++ b/mail/opensmtpd-filter-dkimsign/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1735833837
+SHA256 (filter-dkimsign-0.5.tar.gz) = a5b4ec3af5ecb42351a0b5459bdd0f32c00ec55c23050b5f46dfaed8e321974b
+SIZE (filter-dkimsign-0.5.tar.gz) = 23709
diff --git a/mail/opensmtpd-filter-dkimsign/pkg-descr b/mail/opensmtpd-filter-dkimsign/pkg-descr
new file mode 100644
index 000000000000..2096b86e4bb6
--- /dev/null
+++ b/mail/opensmtpd-filter-dkimsign/pkg-descr
@@ -0,0 +1,20 @@
+This filter adds a DKIM signature to emails sent through OpenSMTPd.
+The rsa and ed25519 signing algorithms are supported, as well as the
+simple and relaxed canonicalization algorithms.
+
+The filter can sign emails for several domains, selecting them
+according to the from-header, but can only use a single selector,
+managing multiple selectors must be done at the OpenSMTPd level.
+
+It depends on the libopensmtpd port.
+
+
+An example of a minimal configuration for signing outgoing emails for
+domain "example.com" and selector "_selector" would be:
+
+filter "dkimsign" proc-exec "filter-dkimsign -d example.com -s _selector \
+ -k /usr/local/etc/smtpd/dkim/private.key" user _smtpd group _smtpd
+
+And then you can apply that filter to the mail that needs to be signed:
+
+listen on lo0 filter dkimsign
diff --git a/mail/pizauth/Makefile b/mail/pizauth/Makefile
index a30aa61a0634..09c33b495f70 100644
--- a/mail/pizauth/Makefile
+++ b/mail/pizauth/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pizauth
DISTVERSION= 1.0.7
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MAINTAINER= nivit@FreeBSD.org
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index 0759221f8d75..86e745b3b4dc 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -1,5 +1,5 @@
PORTNAME= postfix
-DISTVERSION= 3.11-20250818
+DISTVERSION= 3.11-20250928
PORTREVISION?= 0
PORTEPOCH= 6
CATEGORIES= mail
diff --git a/mail/postfix-current/distinfo b/mail/postfix-current/distinfo
index b7f4a3f18cf6..692c27318e30 100644
--- a/mail/postfix-current/distinfo
+++ b/mail/postfix-current/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1755703540
-SHA256 (postfix/postfix-3.11-20250818.tar.gz) = 87efc4dc86d2cefad6cd047ac4469a7dbd549af73c690af6dfe36587deee1f8d
-SIZE (postfix/postfix-3.11-20250818.tar.gz) = 5091048
+TIMESTAMP = 1759477012
+SHA256 (postfix/postfix-3.11-20250928.tar.gz) = 22e2ef531e31455eec5c9c532d0697b2752b78f23c85a4623af93b4593a2da38
+SIZE (postfix/postfix-3.11-20250928.tar.gz) = 5083596
diff --git a/mail/postfix-current/files/extra-patch-blacklistd b/mail/postfix-current/files/extra-patch-blacklistd
index c6811790ed66..e21b40fd63ec 100644
--- a/mail/postfix-current/files/extra-patch-blacklistd
+++ b/mail/postfix-current/files/extra-patch-blacklistd
@@ -1,8 +1,72 @@
-# PR 225664: support blacklistd on FreeBSD >= 11.0
-#
---- src/smtpd/Makefile.in.orig 2023-05-21 16:54:34 UTC
+--- src/postscreen/Makefile.in.orig 2024-03-09 21:34:49 UTC
++++ src/postscreen/Makefile.in
+@@ -3,13 +3,13 @@ SRCS = postscreen.c postscreen_dict.c postscreen_dnsbl
+ postscreen_early.c postscreen_smtpd.c postscreen_misc.c \
+ postscreen_state.c postscreen_tests.c postscreen_send.c \
+ postscreen_starttls.c postscreen_expand.c postscreen_endpt.c \
+- postscreen_haproxy.c
++ postscreen_haproxy.c pfilter.c
+ OBJS = postscreen.o postscreen_dict.o postscreen_dnsbl.o \
+ postscreen_early.o postscreen_smtpd.o postscreen_misc.o \
+ postscreen_state.o postscreen_tests.o postscreen_send.o \
+ postscreen_starttls.o postscreen_expand.o postscreen_endpt.o \
+- postscreen_haproxy.o
+-HDRS =
++ postscreen_haproxy.o pfilter.o
++HDRS = pfilter.h
+ TESTSRC =
+ DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
+ CFLAGS = $(DEBUG) $(OPT) $(DEFS)
+--- src/postscreen/pfilter.c.orig 2025-07-11 20:30:00 UTC
++++ src/postscreen/pfilter.c
+@@ -0,0 +1,19 @@
++#include "pfilter.h"
++#include <stdio.h> /* for NULL */
++#include <blacklist.h>
++
++static struct blacklist *blstate;
++
++void
++pfilter_notify(int a, int fd)
++{
++ if (blstate == NULL)
++ blstate = blacklist_open();
++ if (blstate == NULL)
++ return;
++ (void)blacklist_r(blstate, a, fd, "postscreen");
++ if (a == 0) {
++ blacklist_close(blstate);
++ blstate = NULL;
++ }
++}
+--- src/postscreen/pfilter.h.orig 2025-07-11 20:30:00 UTC
++++ src/postscreen/pfilter.h
+@@ -0,0 +1 @@
++void pfilter_notify(int, int);
+--- src/postscreen/postscreen_early.c.orig 2021-02-18 18:55:31 UTC
++++ src/postscreen/postscreen_early.c
+@@ -52,6 +52,7 @@
+ /* Application-specific. */
+
+ #include <postscreen.h>
++#include "pfilter.h" /* for blacklistd(8) */
+
+ static char *psc_teaser_greeting;
+ static VSTRING *psc_escape_buf;
+@@ -183,6 +184,10 @@ static void psc_early_event(int event, void *context)
+ msg_info("DNSBL rank %d for [%s]:%s",
+ state->dnsbl_score, PSC_CLIENT_ADDR_PORT(state));
+ PSC_FAIL_SESSION_STATE(state, PSC_STATE_FLAG_DNSBL_FAIL);
++
++ /* notify blacklistd of DNSBL rank violation */
++ pfilter_notify(1, vstream_fileno(state->smtp_client_stream));
++
+ switch (psc_dnsbl_action) {
+ case PSC_ACT_DROP:
+ state->dnsbl_reply = vstring_sprintf(vstring_alloc(100),
+--- src/smtpd/Makefile.in.orig 2025-01-09 22:06:10 UTC
+++ src/smtpd/Makefile.in
-@@ -2,14 +2,14 @@ SHELL = /bin/sh
+@@ -2,14 +2,14 @@ SRCS = smtpd.c smtpd_token.c smtpd_check.c smtpd_chat.
SRCS = smtpd.c smtpd_token.c smtpd_check.c smtpd_chat.c smtpd_state.c \
smtpd_peer.c smtpd_sasl_proto.c smtpd_sasl_glue.c smtpd_proxy.c \
smtpd_xforward.c smtpd_dsn_fix.c smtpd_milter.c smtpd_resolve.c \
@@ -20,7 +84,7 @@
TESTSRC = smtpd_token_test.c
DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
CFLAGS = $(DEBUG) $(OPT) $(DEFS)
---- src/smtpd/pfilter.c.orig 2023-11-17 14:38:32 UTC
+--- src/smtpd/pfilter.c.orig 2025-07-11 20:30:00 UTC
+++ src/smtpd/pfilter.c
@@ -0,0 +1,19 @@
+#include "pfilter.h"
@@ -42,10 +106,38 @@
+ blstate = NULL;
+ }
+}
---- src/smtpd/pfilter.h.orig 2023-11-17 14:38:32 UTC
+--- src/smtpd/pfilter.h.orig 2025-07-11 20:30:00 UTC
+++ src/smtpd/pfilter.h
@@ -0,0 +1 @@
+void pfilter_notify(int, int);
+--- src/smtpd/smtpd_check.c.orig 2025-07-11 20:34:19 UTC
++++ src/smtpd/smtpd_check.c
+@@ -1767,6 +1767,7 @@ static int reject_unauth_destination(SMTPD_STATE *stat
+ /*
+ * Reject relaying to sites that are not listed in relay_domains.
+ */
++ pfilter_notify(1, vstream_fileno(state->client));
+ return (smtpd_check_reject(state, MAIL_ERROR_POLICY,
+ reply_code, reply_dsn,
+ "<%s>: Relay access denied",
+--- src/smtpd/smtpd_milter.c.orig 2025-07-11 20:33:21 UTC
++++ src/smtpd/smtpd_milter.c
+@@ -193,6 +193,7 @@ const char *smtpd_milter_eval(const char *name, void *
+ return ("");
+ if (state->milter_reject_text) {
+ /* 554 5.7.1 <user@example.com>: Relay access denied */
++ pfilter_notify(1, vstream_fileno(state->client));
+ vstring_strcpy(state->expand_buf, state->milter_reject_text + 4);
+ cp = split_at(STR(state->expand_buf), ' ');
+ return (cp ? split_at(cp, ' ') : cp);
+@@ -210,6 +211,7 @@ const char *smtpd_milter_eval(const char *name, void *
+ return (0);
+ if (state->milter_reject_text) {
+ /* 554 5.7.1 <user@example.com>: Relay access denied */
++ pfilter_notify(1, vstream_fileno(state->client));
+ vstring_strcpy(state->expand_buf, state->milter_reject_text + 4);
+ (void) split_at(STR(state->expand_buf), ' ');
+ return (STR(state->expand_buf));
--- src/smtpd/smtpd_sasl_glue.c.orig 2023-11-12 21:41:13 UTC
+++ src/smtpd/smtpd_sasl_glue.c
@@ -153,6 +153,7 @@
@@ -56,7 +148,7 @@
#ifdef USE_SASL_AUTH
-@@ -358,6 +359,9 @@ int smtpd_sasl_authenticate(SMTPD_STATE *state,
+@@ -358,8 +359,12 @@ int smtpd_sasl_authenticate(SMTPD_STATE *state,
else
smtpd_chat_reply(state, "535 5.7.8 Error: authentication failed: %s",
reason);
@@ -65,4 +157,7 @@
+ pfilter_notify(1, vstream_fileno(state->client));
return (-1);
}
++
/* RFC 4954 Section 6. */
+ smtpd_chat_reply(state, "235 2.7.0 Authentication successful");
+ if ((sasl_username = xsasl_server_get_username(state->sasl_server)) == 0)
diff --git a/mail/postfix-current/files/patch-makedefs b/mail/postfix-current/files/patch-makedefs
index 445f07ae8d0f..2890f4eb24c1 100644
--- a/mail/postfix-current/files/patch-makedefs
+++ b/mail/postfix-current/files/patch-makedefs
@@ -1,6 +1,6 @@
---- makedefs.orig 2023-09-27 18:44:59 UTC
+--- makedefs.orig 2025-01-03 18:19:26 UTC
+++ makedefs
-@@ -343,6 +343,15 @@ case "$SYSTEM.$RELEASE" in
+@@ -351,6 +351,24 @@ case "$SYSTEM.$RELEASE" in
: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
: ${PLUGIN_LD="${CC} -shared"}
;;
@@ -13,6 +13,15 @@
+ : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
+ : ${PLUGIN_LD="${CC} -shared"}
+ ;;
++ FreeBSD.16*) SYSTYPE=FREEBSD16
++ : ${CC=cc}
++ : ${SHLIB_SUFFIX=.so}
++ : ${SHLIB_CFLAGS=-fPIC}
++ : ${SHLIB_LD="${CC} -shared"' -Wl,-soname,${LIB}'}
++ : ${SHLIB_RPATH='-Wl,-rpath,${SHLIB_DIR}'}
++ : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
++ : ${PLUGIN_LD="${CC} -shared"}
++ ;;
DragonFly.*) SYSTYPE=DRAGONFLY
;;
OpenBSD.2*) SYSTYPE=OPENBSD2
diff --git a/mail/postfix-current/files/patch-src_util_sys__defs.h b/mail/postfix-current/files/patch-src_util_sys__defs.h
index 80e5cd02c3eb..1bbdfd79156c 100644
--- a/mail/postfix-current/files/patch-src_util_sys__defs.h
+++ b/mail/postfix-current/files/patch-src_util_sys__defs.h
@@ -5,7 +5,7 @@
|| defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \
|| defined(FREEBSD11) || defined(FREEBSD12) || defined(FREEBSD13) \
- || defined(FREEBSD14) \
-+ || defined(FREEBSD14) || defined(FREEBSD15) \
++ || defined(FREEBSD14) || defined(FREEBSD15) || defined(FREEBSD16) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
|| defined(OPENBSD5) || defined(OPENBSD6) || defined(OPENBSD7) \
diff --git a/mail/thunderbird-esr/Makefile b/mail/thunderbird-esr/Makefile
index cfde70f7c6a0..63a3a69daab3 100644
--- a/mail/thunderbird-esr/Makefile
+++ b/mail/thunderbird-esr/Makefile
@@ -1,5 +1,5 @@
PORTNAME= thunderbird
-DISTVERSION= 140.3.0
+DISTVERSION= 140.3.1
CATEGORIES= mail news net-im wayland
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}esr-candidates/build1/source
diff --git a/mail/thunderbird-esr/distinfo b/mail/thunderbird-esr/distinfo
index c22bf44468f3..bd6844c0723a 100644
--- a/mail/thunderbird-esr/distinfo
+++ b/mail/thunderbird-esr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1757694713
-SHA256 (thunderbird-140.3.0esr.source.tar.xz) = b538c6cde261e06e37e9cedb854c392ab7850aa220f5007c876357b6546418ae
-SIZE (thunderbird-140.3.0esr.source.tar.xz) = 755800156
+TIMESTAMP = 1759504919
+SHA256 (thunderbird-140.3.1esr.source.tar.xz) = 5981260076790dae80c8190c2f4109e33843c70fd7d19ec64f1d3ec8a38ff2e6
+SIZE (thunderbird-140.3.1esr.source.tar.xz) = 758697864
diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile
index 46688efc050e..0daa88df8aab 100644
--- a/mail/thunderbird/Makefile
+++ b/mail/thunderbird/Makefile
@@ -1,5 +1,6 @@
PORTNAME= thunderbird
DISTVERSION= 143.0.1
+PORTREVISION= 1
CATEGORIES= mail news net-im wayland
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build2/source