feat: restrict plain-text connections to localhost only

Hides the SSL/TLS toggle in add/edit account screens when the host is
not localhost; enforces SSL in connectImap/connectSmtp for non-localhost
hosts so plaintext can never be configured accidentally.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Thomas Güttler
2026-05-05 07:35:56 +02:00
co-authored by Claude Sonnet 4.6
parent d4d61b2b39
commit 569273d7ff
7 changed files with 111 additions and 40 deletions
+4 -2
View File
@@ -20,5 +20,7 @@ Then push
## Tasks
Plain-text connections only via localhost.
Dont show in ui, except host is localhost.
Download of attachments does not work yet. Attachments have size 0. (IMAP account)
---
I deleted some mails, then I use Thunderbird, but the deleted mails are still there. After restart of sharedinbox the delete seems to get synced. Why not immediately?