From c8cb4c88ca1ed6f60f9f3ed7d5582ab8aba603e9 Mon Sep 17 00:00:00 2001 From: Luca <102960244+Luca-Timo@users.noreply.github.com> Date: Tue, 7 Jul 2026 16:04:11 +0200 Subject: [PATCH] harden(messages): SSRF guard on mailbox host, strict sandbox + sanitizer, per-account TLS Pre-upstream review hardening: - /accounts + /accounts/test now reject private/internal IMAP/SMTP hosts via isPrivateIP(), matching /config + /incoming-config (SSRF). - QueueDetail body iframe uses sandbox="" (script-less, no same-origin) like the inbound pane, instead of allow-same-origin. - /send sanitizer drops the