Add a new cronjob to flush emails every 30 minutes and change
pkg-message to let users know about it.
PR: 261532
Sponsored by: Rubicon Communications, LLC ("Netgate")
These are fixes Ruby 3.0
Changes were compiled against all dependencies of devel/ruby-gems and
they all built cleanly.
There are five known build failures, all prexisting:
* devel/rubygem-xdg5: requires Ruby 3.0
* devel/rubygem-xdg: requires Ruby 3.1
* graphics/rubygem-objectdetect: port explicitly marked broken
* mail/rubygem-tmail: port explicitly marked broken
* science/cdcl: marked broken, unfetchable
Plus, science/rubygem-ruby-dcl gets skipped because of science/cdcl
PR: 258108
Approved by: ruby (zi@)
* Fix plist error when either DOCS or EXAMPLES option is off
* Pet portclippy
* Tidy up Makefile with portfmt
ChangeLog: https://github.com/milter-manager/milter-manager/blob/2.1.6/NEWS
Reported by: Aoba Dai, Hideo Kuwabata, Naito Yuichiro (in freebsd-users-jp ML)
Tested by: Aoba Dai
This is a Dovecot FTS plugin to enable message indexing using the Xapian
Open Source Search Engine Library.
The plugin relies on Dovecot to do the necessary stemming.
It is intended to act as a simple interface to the Xapian
storage/search query functionality.
This driver supports match scoring and substring matches (on by
default), which means it is RFC 3501 (IMAP4rev1) compliant.
This driver does not support fuzzy searches.
WWW: https://github.com/slusarz/dovecot-fts-flatcurve
PR: 261766
After discussion with Ken Hornstein, the nmh upstream maintainer,
git.savannah.gnu.org supports fetching snapshots using a git hash.
Therefore switch from using my nmh GH mirror to fetching snapshots
directly from git.savannah.gnu.org.
Dissued with: Ken Hornstein <kenh@cmf.nrl.navy.mil> (upstream maintainer)
nmh supports three mail transport methods: smtp, which submits email to
the submission port (587), sendmail/smtp, submitting SMTP to the MTA
through a pipe, and sendmail/pipe, submitting raw email to the MTA where
the MTA extracts the from and to headers from the email itself, using
sendmail -t.
The reason for this change is to support the upcoming 14-CURRENT
switchover from sendmail to dma (DragonflyBSD Mail Agent). The dma agent
only supports SMTP over port 25 and works well using sendmail -t while
all other transport methods do not work.
This change only affects new installs of nmh and nmh-devel. Users of
existing nmh installations who wish to use the new dma agent will need
to alter ${LOCALBASE}/etc/nmh/mts.conf by hand by changing the mts
statement to mts: sendmail/pipe. The existing file is not altered when
pkg upgrade is invoked. However users of sendmail in base, sendmail
port, postfix, exim, and qmail are not affected by this and may use
their existing mts.conf.
The dma agent is not currently installed by default but users may install
it by enabling MK_DMAGENT in src.conf and building/installing 14-CURRENT
world. This patch allows nmh to work with dma agent when it is installed
and made to be the default MTA in /etc/mail/mailer.conf.
There hass been quite a bit of development of nmh over the last four
years since 1.7.1 was released. This new nmh-devel port will track nmh
development. As the nmh git repo is hosted on savannah.gnu.org, there
is no easy way to fetch development snapshots like we do through
github. Therefore I've mirrored the repo at savannah.gnu.org
(https://git.savannah.nongnu.org/git/nmh.git) and pushed it to a
mirror I maintain on my github account. (Pulling from remote
upstream -- remote origin has been renamed to remote upstream --
and pushing to remote origin.)
Welcome the new nmh-devel port.
Dovecot ChangeLog:
* Removed mail_cache_lookup_finished event. This event wasn't especially
useful, but it increased CPU usage significantly.
* fts: Don't index inline base64 encoded content in FTS indexes using
the generic tokenizer. This reduces the FTS index sizes by removing
input that is very unlikely to be searched for. See
https://doc.dovecot.org/configuration_manual/fts/tokenization for
details on how base64 is detected. Only applies when using libfts.
* lmtp: Session IDs are now preserved through proxied connections, so
LMTP sessions can be tracked. This slightly changes the LMTP session
ID format by appending ":Tn" (transaction), ":Pn" (proxy connection)
and ":Rn" (recipient) counters after the session ID prefix.
+ Events now have "reason_code" field, which can provide a list of
reasons why the event is happening. See
https://doc.dovecot.org/admin_manual/event_reasons/
+ New events are added. See https://doc.dovecot.org/admin_manual/list_of_events/
+ fts: Added fts_header_excludes and fts_header_includes settings to
specify which headers to index. See
https://doc.dovecot.org/settings/plugin/fts-plugin#plugin-fts-setting-fts-header-excludes
for configuration details.
+ fts: Initialize the textcat language detection library only once per
process. This can reduce CPU usage if fts_languages setting has multiple
languages listed and service indexer-worker { service_count } isn't 1.
Only applies when using libfts.
+ lib-storage: Reduced CPU usage significantly for some operations that
accessed lots of emails (e.g. fetching all flags in a folder, SORT, ...)
+ lib: DOVECOT_PREREQ() - Add micro version which enables compiling
external plugins against different versions of Dovecot.
+ lmtp: Added new lmtp_verbose_replies setting that makes errors sent to
the LMTP client much more verbose with details about why exactly
backend proxy connections or commands are failing.
+ submission: Support implicit SASL EXTERNAL with
submission_client_workarounds=implicit-auth-external. This allows
automatically logging in when SSL client certificate is present.
- *-login: Statistics were disabled if stats process connection was lost.
- auth: Authentication master user login fails with SCRAM-* SASL mechanisms.
- auth: With auth_cache_verify_password_with_worker=yes, passdb extra
fields in the auth cache got lost.
- doveadm: Fixed crash if zlib_save_level setting was specified,
but zlib_save was unset. v2.3.15 regression.
- doveadm: Proxying can panic when flushing print output. v2.3.17
regression. Fixes:
Panic: file ioloop.c: line 865 (io_loop_destroy): assertion failed:
(ioloop == current_ioloop)
- doveadm: stats add --group-by parameter didn't work.
- fts: Using email-address fts tokenizer could result in excessive memory
usage with garbage email input. This could cause the indexer-worker
processes to fail due to reaching the VSZ memory size limit.
Only applies when using libfts.
- imap: A SEARCH command timing out while fts returns indexes may timeout
returning "NO [SERVERBUG]", while it should return "NO [INUSE]" instead.
- imap: LIST-EXTENDED doesn't return STATUS for all folders. Sending
LIST .. RETURN (SUBSCRIBED STATUS (...)) did not return STATUS for
folders that are not subscribed when they have a child folder that is
subscribed as mandated by IMAP RFCs.
- imapc: Mailbox vsize calculation crashed with
Panic: file index-mailbox-size.c: line 344 (index_mailbox_vsize_hdr_add_missing):
assertion failed: (mails_left > 0)
- indexer: If indexer-worker crashes, the request it was processing gets
stuck in the indexer process. This stops indexing for the folder until
indexer process is restarted. v2.3.14 regression.
- indexer: Process was slowly leaking memory for each indexing request.
- lib-event: Unnamed events were wrongly filtered out for event/metric
filters like "event=abc OR something_independent_of_event_name".
- lib-index: 64-bit big endian CPUs handle last_used field in
dovecot.index.cache wrong.
- lib-ssl-iostream: Fix buggy OpenSSL error handling without assert-crashing.
If there is no error available, log it as an error instead of crashing.
The previous fix for this in v2.3.11 was incomplete. Fixes
Panic: file istream-openssl.c: line 51 (i_stream_ssl_read_real):
assertion failed: (errno != 0)
- lmtp: Out-of-memory issues can happen when proxying large messages to
LMTP backend servers that accept the message data too slow.
- master: HAProxy header parsing has read buffer overflow if provided
header size is invalid. This happens only if inet_listener
{ haproxy=yes } is configured and only if the remote IP address is in
haproxy_trusted_networks.
- old_stats: Plugin kept increasing memory usage, which became
noticeable with long-running imap sessions.
- stats: Dynamically adding same metric multiple times causes multiple stats.
- submission-login: Authentication does not accept OAUTH2 token (or
other very long credentials) because it considers the line to be too long.
- submission-login: Process can crash if HELO is pipelined with an
invalid domain.
- submission-proxy: Don't use SASL-IR if it would make the AUTH command
line longer than 512 bytes.
- submission: Service would crash if relay server authentication failed.
- virtual: FTS search in a virtual folder could crash if there are
duplicate mailbox GUIDs. This mainly happened when user had both INBOX
and INBOX/INBOX folders and the namespace prefix was INBOX/. Fixes
Panic: file hash.c: line 252 (hash_table_insert_node):
assertion failed: (opcode == HASH_TABLE_OP_UPDATE)
- virtual: If mailbox opening fails, the backend mailbox is leaked and
process crashes when client disconnects. Fixes
Panic: file mail-user.c: line 232 (mail_user_deinit):
assertion failed: ((*user)->refcount == 1)
- virtual: Searching headers in virtual folders didn't always use
full-text search indexes, if fts_enforced=no or body.
Pigeonhole ChangeLog:
- duplicate: Users without a home directory can crash with Sieve when
using duplicate database. v2.3.17 regression.
- imapsieve: When mail was expunged when processing imapsieve events, a
crash could occur. Fixes Panic: file mail-index-map.c:
line 558 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
- managesieve-login: Proxy didn't support forwarding the forward_* passdb fields.
- redirect: Sieve would crash if redirect after keep-equivalent action failed.
- sieve: Interpreter crashes when the Sieve index extension is used with
index zero.
- vnd.dovecot.filter: Envelope sender string may become corrupted when
Sieve scripts are using vnd.dovecot.filter. This could end up
corrupting mbox's From line and return wrong envelope sender string in
Bump mail/dovecot-fts-xapian portrevision.