diff --git a/debian.changelog b/debian.changelog
index 9dcf223..bdf88d8 100644
--- a/debian.changelog
+++ b/debian.changelog
@@ -1,8 +1,8 @@
-gromox (2.38-0) unstable; urgency=low
+gromox (2.39-0) unstable; urgency=low
 
   * The build process is supposed to replace the entries here
     automatically from data present in gromox.changes.
     But if you see this message in installed systems,
     that would indicate a problem in debtransform(1).
 
- -- Gromox <null@gromox.com>  Sat, 07 Dec 2024 12:22:00 +0100
+ -- Gromox <null@gromox.com>  Tue, 21 Jan 2025 00:00:00 +0100
diff --git a/debian.control b/debian.control
index 20ab1e2..9d63a4a 100644
--- a/debian.control
+++ b/debian.control
@@ -11,7 +11,7 @@ Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends},
  php-cli, php-fpm, php-mysql, php-simplexml, php-soap,
  system-user-grommunio, system-user-gromox (>= 4), w3m,
- libhx32 (>= 4.12)
+ libhx32 (>= 4.19)
 Provides: php-mapi-gromox
 Description: Groupware server (backend) with RPCH, IMAP and Z-MAPI support
  .
diff --git a/gromox-2.38.tar.asc b/gromox-2.38.tar.asc
deleted file mode 100644
index d2ff1da..0000000
--- a/gromox-2.38.tar.asc
+++ /dev/null
@@ -1,7 +0,0 @@
------BEGIN PGP SIGNATURE-----
-
-iHUEABYKAB0WIQQr2lY+nd5Gr3HMFx2utpQaL5yZRAUCZ1QxNwAKCRCutpQaL5yZ
-RH3hAQChxMPC1ZKG52/fW2k0kYSdwrjGke9pTLkOg13Wtt4VtgEA40S1P5w3DuOL
-YVhV7AhzhrGV6vV68orfm2x8BJyj0wA=
-=Rt/1
------END PGP SIGNATURE-----
diff --git a/gromox-2.38.tar.zst b/gromox-2.38.tar.zst
deleted file mode 100644
index 94e1e62..0000000
--- a/gromox-2.38.tar.zst
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:9bfb81ed81a8306b2116b50cfc3f5cbb6731e025ed3705f4314910af902a81d4
-size 2175445
diff --git a/gromox-2.39.tar.asc b/gromox-2.39.tar.asc
new file mode 100644
index 0000000..fc42f6f
--- /dev/null
+++ b/gromox-2.39.tar.asc
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+
+iHUEABYKAB0WIQQr2lY+nd5Gr3HMFx2utpQaL5yZRAUCZ5AZ3AAKCRCutpQaL5yZ
+RJKDAQDDGiV2C9Sjyih7HQRk3HYgveBcixgar2jrfnNEdw2mrgEAvZDXgimbEbc9
+YpXn+z3fuV1olJQwWCrc7K3ZLprgtA4=
+=N8fl
+-----END PGP SIGNATURE-----
diff --git a/gromox-2.39.tar.zst b/gromox-2.39.tar.zst
new file mode 100644
index 0000000..32280a6
--- /dev/null
+++ b/gromox-2.39.tar.zst
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1ca0b967e507d3e9877d5a514fb6fe1e722f152cc33fb18c51e3d49168a3c9fc
+size 2175355
diff --git a/gromox.changes b/gromox.changes
index e8c60e9..d7de041 100644
--- a/gromox.changes
+++ b/gromox.changes
@@ -1,3 +1,13 @@
+-------------------------------------------------------------------
+Tue Jan 21 22:05:13 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
+
+- Update to release 2.39
+  * midb: synchronize "Answered", "Forwarded" and "Flagged" flags
+    between MAPI and midb
+  * midb: pass message flag modification notifications
+    (answered/forwarded/flagged/read/etc.) to imapd
+  * mbop: new foreach.* command group which replaces for-all-users
+
 -------------------------------------------------------------------
 Sat Dec  7 11:21:28 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
 
diff --git a/gromox.dsc b/gromox.dsc
index 372ede4..dcf3a00 100644
--- a/gromox.dsc
+++ b/gromox.dsc
@@ -34,7 +34,6 @@ Build-Depends:
  libtinyxml2-dev (>= 8),
  libtool (>= 2),
  libtool-bin (>= 2) | libtool (>= 2),
- libvmime-dev (>= 0.9.2),
  libxml2-dev,
  libxxhash-dev,
  libzstd-dev,
@@ -47,5 +46,6 @@ Build-Depends:
  sed,
  systemd,
  uuid-dev,
+ wmime-dev (>= 1),
  zlib1g-dev
 Files:
diff --git a/gromox.spec b/gromox.spec
index bf2580d..3cc64c7 100644
--- a/gromox.spec
+++ b/gromox.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package gromox
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define _libexecdir %_prefix/libexec
 
 Name:           gromox
-Version:        2.38
+Version:        2.39
 Release:        0
 Summary:        Groupware server backend with RPC, IMAP,POP3, PHP-MAPI support
 License:        AGPL-3.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later
@@ -50,7 +50,6 @@ BuildRequires:  php8-devel
 %else
 BuildRequires:  php-devel >= 7
 %endif
-BuildRequires:  libvmime-devel >= 0.9.2+g175
 BuildRequires:  zstd
 BuildRequires:  group(gromox)
 BuildRequires:  pkgconfig(fmt) >= 8
@@ -68,6 +67,7 @@ BuildRequires:  pkgconfig(libxxhash)
 BuildRequires:  pkgconfig(libzstd)
 BuildRequires:  pkgconfig(sqlite3)
 BuildRequires:  pkgconfig(tinyxml2) >= 8
+BuildRequires:  pkgconfig(wmime) >= 1
 BuildRequires:  pkgconfig(zlib)
 BuildRequires:  user(grommunio)
 BuildRequires:  user(gromox)