Version in base suite: 1.4.1-3+deb13u1 Base version: courier_1.4.1-3+deb13u1 Target version: courier_1.4.1-3+deb13u2 Base file: /srv/ftp-master.debian.org/ftp/pool/main/c/courier/courier_1.4.1-3+deb13u1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/c/courier/courier_1.4.1-3+deb13u2.dsc changelog | 7 +++++++ patches/adjust-webadmin-scripts.patch | 25 +++++++++++++++++++++++++ patches/series | 3 +++ 3 files changed, 35 insertions(+) dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpdxui2736/courier_1.4.1-3+deb13u1.dsc: no acceptable signature found dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpdxui2736/courier_1.4.1-3+deb13u2.dsc: no acceptable signature found diff -Nru courier-1.4.1/debian/changelog courier-1.4.1/debian/changelog --- courier-1.4.1/debian/changelog 2025-08-28 21:59:42.000000000 +0000 +++ courier-1.4.1/debian/changelog 2026-03-28 07:30:30.000000000 +0000 @@ -1,3 +1,10 @@ +courier (1.4.1-3+deb13u2) trixie; urgency=medium + + * Add debian/patches/adjust-webadmin-scripts.patch, thanks Jean Louis + (closes: #1132026). + + -- Soren Stoutner Sat, 28 Mar 2026 00:30:30 -0700 + courier (1.4.1-3+deb13u1) trixie; urgency=medium * Add debian/courier-webadmin.init and debian/courier-webadmin.service diff -Nru courier-1.4.1/debian/patches/adjust-webadmin-scripts.patch courier-1.4.1/debian/patches/adjust-webadmin-scripts.patch --- courier-1.4.1/debian/patches/adjust-webadmin-scripts.patch 1970-01-01 00:00:00.000000000 +0000 +++ courier-1.4.1/debian/patches/adjust-webadmin-scripts.patch 2026-03-28 04:35:42.000000000 +0000 @@ -0,0 +1,25 @@ +Description: Upstream ships a compiled file in /bin/imapd, and links for + /sbin/imapd and /sbin/imapd-ssl that point to scripts in /usr/lib/courier/imapd + and /usr/lib/courier/imapd-ssl. This obviously doesn't work when /bin and + /sbin are combined. To fix this, Debian doesn't ship the links in /sbin. But + this also requires adjusting this webadmin script. + + +Author: Soren Stoutner +Forwarded: https://github.com/svarshavchik/courier-libs/commit/5cb9a24166a60176f473a86e76d35f838069e23b +Last-Update: 2026-03-27 + +--- a/courier/webadmin/admin-40imap.pl ++++ b/courier/webadmin/admin-40imap.pl +@@ -128,9 +128,9 @@ if ($cgi->param("SaveADV")) + + if ($saved) + { +- changed("$sbindir/imapd stop ; . $sysconfdir/imapd ; test \"\$IMAPDSTART\" != YES || $sbindir/imapd start"); ++ changed("/usr/lib/courier/imapd stop ; . $sysconfdir/imapd ; test \"\$IMAPDSTART\" != YES || /usr/lib/courier/imapd start"); + +- changed("$sbindir/imapd-ssl stop ; . $sysconfdir/imapd-ssl ; test \"\$IMAPDSSLSTART\" != YES || $sbindir/imapd-ssl start"); ++ changed("/usr/lib/courier/imapd-ssl stop ; . $sysconfdir/imapd-ssl ; test \"\$IMAPDSSLSTART\" != YES || /usr/lib/courier/imapd-ssl start"); + $errstr="\@SAVED\@"; + } + diff -Nru courier-1.4.1/debian/patches/series courier-1.4.1/debian/patches/series --- courier-1.4.1/debian/patches/series 2025-08-28 16:07:26.000000000 +0000 +++ courier-1.4.1/debian/patches/series 2026-03-28 07:30:30.000000000 +0000 @@ -27,3 +27,6 @@ # Use init-system agnostic webamin restart commands. webadmin-restart-commands.patch + +# Adjust the webadmin scripts to match the Debian file locations. +adjust-webadmin-scripts.patch