From c4669fafc9420e9c4bb7bb2550c15bf71b80003c Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Tue, 17 Feb 2026 15:49:50 +0100 Subject: [PATCH] =?UTF-8?q?docs:=20Mailserver=20migration=20Alpine=20?= =?UTF-8?q?=E2=86=92=20Debian=2012?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replaced unstable Alpine container with Debian 12 Bookworm - Fixed persistent Dovecot permission issues (UID/GID mismatch) - Postfix + Dovecot properly configured for Debian - Mail data and SSL certificates preserved - Webmail now working reliably Co-Authored-By: Claude Opus 4.5 --- .claude/HISTORY.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.claude/HISTORY.md b/.claude/HISTORY.md index 77da1eb9..dce5a417 100644 --- a/.claude/HISTORY.md +++ b/.claude/HISTORY.md @@ -2251,3 +2251,23 @@ git checkout HEAD -- index.html - Jellyfin: Started stopped container, enabled auto-start - Webmail: Restarted dead PHP-FPM process in roundcube container - Both services now operational + +### 2026-02-17: Mailserver Migration Alpine → Debian + +**Problem:** +- Alpine Linux mailserver had persistent Dovecot permission issues +- imap-login process couldn't access auth sockets due to UID/GID mismatches +- Webmail logins timing out repeatedly + +**Solution:** +- Created new Debian 12 (Bookworm) LXC container +- Installed Postfix + Dovecot with proper Debian packages +- Migrated mail data, users, SSL certificates +- Fixed passwd-file format for Debian Dovecot + +**Configuration:** +- Container: `/srv/lxc/mailserver/` (Debian 12) +- IP: 192.168.255.30 (unchanged) +- Ports: 25, 143, 587, 993 +- Mail storage: `/var/mail/` with vmail user (uid 5000) +- Old Alpine backup: `/srv/lxc/mailserver-alpine-backup/`