Package: cyrus-imapd
Version: 3.10.2-1
Severity: normal
Dear Maintainer,
In trixie's cyrus-imapd 3.10.2-1, JMAP EventSource is non-functional:
the session resource advertises `eventSourceUrl`, but
`GET /jmap/eventsource/` returns `204 No Content` unconditionally,
so no JMAP client can use push (RFC 8620 ยง7.3).
Root cause: `jmap_push_poll` is only initialised inside
`if (ws_enabled)`, and the package is built without `libwslay`,
so push is silently disabled.
(I tried installing `libwslay-dev` and found that it does not install a
pkgconf (pc) file, and therefore `configure` does not "see" libwslay-dev
installed. But, upstream moved `jmap_push_poll` out of WebSocket block,
so that's the way to go.)
Fixed upstream by commit d510b3d2b ("allow EventSource without WebSocket"),
released in 3.12.0, which moves the initialisation out of the WebSocket
guard.
The main fix is 2 lines, carries no ABI/behaviour risk for non-JMAP users,
and is already in testing/unstable (as version 3.12.0). There are three
additional small hunks in the diff (no-ops under the default
configuration) that implement the second line of the fix.
-- System Information:
Debian Release: 13.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.95+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cyrus-imapd depends on:
pn cyrus-common <none>
ii libc6 2.36-9+deb12u10
ii libcom-err2 1.47.0-2
ii libjansson4 2.14-2
ii libsasl2-2 2.1.28+dfsg-10
ii libsqlite3-0 3.40.1-2+deb12u1
pn libssl3t64 <none>
ii libwrap0 7.6.q-32
ii zlib1g 1:1.2.13.dfsg-1
Versions of packages cyrus-imapd recommends:
ii rsync 3.2.7-1+deb12u2
cyrus-imapd suggests no packages.
-- Configuration Files:
/etc/pam.d/imap [Errno 13] Permission denied: '/etc/pam.d/imap'
-- no debconf information
-- debsums errors found:
debsums: package cyrus-imapd is not installed
(I fixed Cyrus with a workaround and installed that manually)