From 31aea08b0c671ffaa157b433c6a0195cb8fbde95 Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Mon, 16 Feb 2026 14:00:43 +0100 Subject: [PATCH] docs: Update tracking files for mailserver password fix Co-Authored-By: Claude Opus 4.5 --- .claude/HISTORY.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.claude/HISTORY.md b/.claude/HISTORY.md index 8ec82d03..a15cb709 100644 --- a/.claude/HISTORY.md +++ b/.claude/HISTORY.md @@ -2063,3 +2063,14 @@ git checkout HEAD -- index.html - `luci-app-mailserver/root/usr/share/rpcd/acl.d/luci-app-mailserver.json` - `luci-app-nextcloud/root/usr/libexec/rpcd/luci.nextcloud` - `luci-app-nextcloud/root/usr/share/rpcd/acl.d/luci-app-nextcloud.json` + +### 2026-02-16: Mailserver Password Reset Fix + +**Bug Fix: secubox-app-mailserver** +- Fixed SHA512-CRYPT hash corruption in `user_passwd` and `user_add` functions +- Root cause: `$6$` prefix was being interpreted as shell variable when passed through nested shell commands +- Fix: Use `printf` instead of `echo`, write to temp file before piping to container +- Corrected dovecot passwd format: uid:gid 102:105 (vmail user) with `userdb_mail=maildir:/var/mail/domain/user` + +**Files Modified:** +- `secubox-app-mailserver/files/usr/lib/mailserver/users.sh`