[Bug 296262] mail/fetchmail: update to 6.6.6

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 24 Jun 2026 22:35:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296262

            Bug ID: 296262
           Summary: mail/fetchmail: update to 6.6.6
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://gitlab.com/fetchmail/fetchmail/-/blob/6.6.6/NE
                    WS?ref_type=tags
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: chalpin@cs.wisc.edu
 Attachment #272109 maintainer-approval+
             Flags:

Created attachment 272109
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=272109&action=edit
Proposed patch

After applying the attached, mail/fetchmail passes `poudriere testport` on
15.1/amd64 and the built package works in my testing.


Changes since 6.6.6 (reproduced from upstream NEWS):

fetchmail-6.6.6 (released 2026-06-24, 32443 LoC):

## CRITICAL BUGFIX FOR IMAP:
* The IMAP client, which has always used message indexes for the selected
  mailbox, did not abort when receiving an EXPUNGE response - which changes
  message numbers inside the mailbox.  Unlike UIDs, the message numbers are
  not stable and fetchmail does not have internal interfaces to track which
  messages are deleted, and adding those to a 6.6.X release would be too
  risky, and switching to UID is also too big a change, so we have no
  choice but to abort the session when seeing an EXPUNGE response without
  our own EXPUNGE request, to avoid marking the wrong message as seen/deleted
  or skip the wrong one, or assume the wrong message size.
  Earl Chew reported this versus Yahoo Mail via Gitlab Work Item #91, which
  automatically expunges messages that are marked with the \Deleted flag.

  This has one new message for which we do not have translations yet,
  it is urgent to get the fix in the field.

-- 
You are receiving this mail because:
You are the assignee for the bug.