diff --git a/frontend/src/components/admin/IncomingMailConfigCard.tsx b/frontend/src/components/admin/IncomingMailConfigCard.tsx index 1eb64883..472b0fdd 100644 --- a/frontend/src/components/admin/IncomingMailConfigCard.tsx +++ b/frontend/src/components/admin/IncomingMailConfigCard.tsx @@ -30,20 +30,6 @@ export const IncomingMailConfigCard: React.FC = () => { const set = (k: keyof IncomingMailConfig, v: any) => setCfg((c) => ({ ...c, [k]: v })); - // Changing Security auto-fills the conventional IMAP port (SSL/TLS → 993, - // STARTTLS/none → 143) so the port in the dropdown label isn't just - // decoration. A non-standard custom port is left untouched. - const onSecurityChange = (val: string) => { - const secure = val === 'ssl'; - setCfg((c) => { - const next = { ...c, imap_secure: secure }; - if (!c.imap_port || c.imap_port === 993 || c.imap_port === 143) { - next.imap_port = secure ? 993 : 143; - } - return next; - }); - }; - const save = useMutation({ mutationFn: () => { // Mirror the SMTP card's client-side required guard. Host + port + @@ -105,9 +91,9 @@ export const IncomingMailConfigCard: React.FC = () => {
- set('imap_secure', e.target.value === 'ssl')}> + +
diff --git a/frontend/src/i18n/locales/de.json b/frontend/src/i18n/locales/de.json index 98111071..9fc69175 100644 --- a/frontend/src/i18n/locales/de.json +++ b/frontend/src/i18n/locales/de.json @@ -2481,8 +2481,8 @@ "host": "IMAP-Host", "port": "Port", "security": "Sicherheit", - "ssl": "SSL/TLS (993)", - "plain": "Keine / STARTTLS (143)", + "ssl": "SSL/TLS", + "plain": "Keine / STARTTLS", "user": "Benutzername", "pass": "Passwort", "folder": "Ordner", diff --git a/frontend/src/i18n/locales/en.json b/frontend/src/i18n/locales/en.json index e6974d7c..bf3057b8 100644 --- a/frontend/src/i18n/locales/en.json +++ b/frontend/src/i18n/locales/en.json @@ -2054,8 +2054,8 @@ "host": "IMAP host", "port": "Port", "security": "Security", - "ssl": "SSL/TLS (993)", - "plain": "None / STARTTLS (143)", + "ssl": "SSL/TLS", + "plain": "None / STARTTLS", "user": "Username", "pass": "Password", "folder": "Folder",