docs: Track mailserver Maildir path alignment fix

- Add entry 52 to HISTORY.md for Postfix/Dovecot path alignment
- Update WIP.md with fix details under completed items

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-02-06 12:16:29 +01:00
parent f70d5cce79
commit d315f3b861
2 changed files with 22 additions and 0 deletions

View File

@ -761,3 +761,18 @@ _Last updated: 2026-02-07_
- CrowdSec: RUNNING
- DNS (named): RUNNING
- **External URLs verified**: gk2.secubox.in, evolution.gk2.secubox.in, control.gk2.secubox.in all returning HTTP 200
52. **Mailserver Postfix/Dovecot Maildir Path Alignment (2026-02-07)**
- Fixed emails delivered but invisible in Roundcube webmail.
- **Root cause**: Path mismatch between Postfix delivery and Dovecot mail_location.
- Postfix delivered to: `/home/vmail/$domain/$user/new/`
- Dovecot expected: `/home/vmail/$domain/$user/Maildir/new/`
- **container.sh fixes**:
- Changed mount point from `var/mail` to `home/vmail`
- Changed `virtual_mailbox_base` from `/var/mail` to `/home/vmail`
- Changed vmail user home from `/var/mail` to `/home/vmail`
- **users.sh fixes**:
- Create `$domain/$user/Maildir/{cur,new,tmp}` structure (was `$domain/$user/{cur,new,tmp}`)
- Updated vmailbox entries to use `$domain/$user/Maildir/` suffix
- Bumped `secubox-app-mailserver` version to 1.0.0-r2.
- New mail verified delivering correctly to Maildir location.

View File

@ -136,6 +136,13 @@ _Last updated: 2026-02-07_
- Added both IPv4 and IPv6 forwarding rules
- Persisted in `/etc/firewall.user`
- **Postfix/Dovecot Maildir Path Alignment** — DONE (2026-02-07)
- Root cause: Postfix delivered to `/home/vmail/$domain/$user/new/` but Dovecot looks in `~/Maildir/new/`
- Emails were delivered but invisible in Roundcube
- Fix in `container.sh`: Mount to `home/vmail`, virtual_mailbox_base = `/home/vmail`
- Fix in `users.sh`: Create `$domain/$user/Maildir/{cur,new,tmp}` structure
- Updated vmailbox format to include `Maildir/` suffix
- **Inbound Port 25 Blocked by Free ISP** — KNOWN ISSUE
- Free ISP blocks inbound port 25 on residential lines
- Outbound mail works, inbound from external fails