Package: courier-webadmin
Version: Executing /usr/sbin/makehosteddomains stop ; /usr/sbin/makealiases 
stop ; service courier restart &...
Severity: important

Dear Maintainer,

Trying to use courier-webadmin, I have discovered following:

Courier-WebAdmin Script Path Issue

Problem Overview
----------------

The `courier-imap` and `courier-mta` packages ship incorrect script paths in 
`/usr/share/courier/webadmin/` files.

Files Affected
--------------

- `admin-40aliases.pl` → references `/usr/sbin/makehosteddomains` (should be 
`/usr/sbin/makehosteddomains` ✓)
- `admin-40imap.pl` → references `$sbindir/imapd-ssl` which resolves to 
`/usr/sbin/imapd-ssl` (should be `/usr/lib/courier/imapd-ssl`)

Impact
------

When using Courier WebAdmin UI to enable/disable IMAP or modify aliases, 
webadmin fails with "not found" errors.

Cause
-----

Debian moved courier scripts from `/usr/sbin/` to `/usr/lib/courier/` but the 
webadmin Perl templates weren't updated.

Fix
---

Manually edit `/etc/courier/webadmin/changed` with correct paths (already done 
on stw1 and comm).



-- System Information:
Debian Release: 13.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.74+deb13+1-rt-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages courier-webadmin depends on:
pn  apache2 | httpd        <none>
ii  courier-base           1.4.1-3+deb13u1
ii  debconf [debconf-2.0]  1.5.91
ii  init-system-helpers    1.69~deb13u1
ii  libc6                  2.41-12+deb13u2
ii  libcgi-pm-perl         4.68-1
ii  perl                   5.40.1-6

courier-webadmin recommends no packages.

Versions of packages courier-webadmin suggests:
pn  courier-doc  <none>

Reply via email to