Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions appinfo/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,11 @@
'url' => '/api/settings/allownewaccounts',
'verb' => 'POST'
],
[
'name' => 'settings#setAllowNewMailAliases',
'url' => '/api/settings/allownewaliases',
'verb' => 'POST'
],
[
'name' => 'settings#setEnabledLlmProcessing',
'url' => '/api/settings/llm',
Expand Down
16 changes: 16 additions & 0 deletions doc/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,22 @@ occ config:app:set mail abuse_number_of_messages_per_1h --value=30
occ config:app:set mail abuse_number_of_messages_per_1d --value=100
```

### Disable alias creation

By default, users can create new mail aliases. Administrators can prevent this globally while still allowing users to view and delete their existing aliases.

```bash
# Disable alias creation for all users
occ config:app:set mail allow_new_mail_aliases --value=no

# Re-enable alias creation (default)
occ config:app:set mail allow_new_mail_aliases --value=yes
```

When disabled, the "Add alias" button is hidden in the user interface and API requests to create new aliases are rejected. Existing aliases remain visible and can be deleted.

The setting can also be toggled from the Mail section of the Nextcloud admin settings page.

## Google OAuth

This app can allow users to connect their Google accounts with OAuth. This makes it possible to use accounts without 2FA or app password.
Expand Down
6 changes: 6 additions & 0 deletions l10n/de_DE.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ OC.L10N.register(
{
"pluralForm" : "nplurals=2; plural=(n != 1);",
"_{count} attachment_::_{count} attachments_" : "---\n- \"{count} Anhang\"\n- \"{count} Anhänge\"\n",
"_{count} mailbox …_::_{count} mailboxes …_" : "---\n- \"{count} Postfach …\"\n- \"{count} Postfächer …\"\n",
"_{count} mailbox_::_{count} mailboxes_" : "---\n- \"{count} Postfach\"\n- \"{count} Postfächer\"\n",
"_{total} message_::_{total} messages_" : "---\n- \"{total} Nachricht\"\n- \"{total} Nachrichten\"\n",
"_{unread} unread of {total}_::_{unread} unread of {total}_" : "---\n- \"{unread} ungelesene von {total}\"\n- \"{unread} ungelesene von {total}\"\n",
"_%n new message \nfrom {from}_::_%n new messages \nfrom {from}_" : "---\n- |-\n %n neue Nachricht\n von {from}\n- |-\n %n neue Nachrichten\n von {from}\n",
Expand Down Expand Up @@ -86,7 +88,9 @@ OC.L10N.register(
"All messages in mailbox will be deleted." : "Alle Nachrichten in der Mailbox werden gelöscht.",
"Allow additional mail accounts" : "Zusätzliche E-Mail-Konten zulassen",
"Allow additional Mail accounts from User Settings" : "Zusätzliche E-Mail-Konten in den Benutzereinstellungen zulassen",
"Allow aliases" : "Aliase zulassen",
"Allow the app to collect data about your interactions. Based on this data, the app will adapt to your preferences. The data will only be stored locally." : "Erlauben Sie der App, Daten über Ihre Interaktionen zu sammeln. Basierend auf diesen Daten passt sich die App an Ihre Vorlieben an. Die Daten werden nur lokal gespeichert.",
"Allow users to create mail aliases" : "Benutzern das Erstellen von E-Mail-Aliasen ermöglichen",
"Always show images from {domain}" : "Bilder von {domain} immer anzeigen",
"Always show images from {sender}" : "Bilder von {sender} immer anzeigen",
"An error occurred, unable to create the tag." : "Es ist ein Fehler aufgetreten, das Schlagwort kann nicht erstellt werden.",
Expand Down Expand Up @@ -228,6 +232,7 @@ OC.L10N.register(
"Create mail filter" : "Mail-Filter erstellen",
"Create task" : "Aufgabe erstellen",
"Creating account..." : "Konto wird erstellt...",
"Creating aliases has been disabled by the administrator." : "Das Erstellen von Aliasen wurde vom Administrator deaktiviert.",
"Custom" : "Benutzerdefiniert",
"Custom date and time" : "Benutzerspezifisches Datum und Zeit",
"Data collection consent" : "Zustimmung zur Datenerhebung",
Expand Down Expand Up @@ -801,6 +806,7 @@ OC.L10N.register(
"The mail app allows users to read mails on their IMAP accounts." : "Die Mail-App ermöglicht Benutzern, E-Mails von ihren IMAP-Konten zu lesen.",
"The Mail app can classify incoming emails by importance using machine learning. This feature is enabled by default but can be disabled by default here. Individual users will still be able to toggle the feature for their accounts." : "Die Mail-App kann eingehende E-Mails mithilfe maschinellem Lernens nach Wichtigkeit klassifizieren. Diese Funktion ist standardmäßig aktiviert, kann hier jedoch standardmäßig deaktiviert werden. Benutzer können die Funktion für ihre Konten aktivieren und deaktivieren.",
"The Mail app can process user data with the help of the configured large language model and provide assistance features like thread summaries, smart replies and event agendas." : "Die Mail-App kann mithilfe des konfigurierten großen Sprachmodells Benutzerdaten verarbeiten und Hilfsfunktionen wie Zusammenfassungen von Unterhaltungen, intelligente Antworten und Ereignisübersichten bereitstellen.",
"The Mail app does not verify aliases. If this is enabled without existing server-side support, your mail server will likely reject outgoing messages, causing emails to fail." : "Die Mail-App überprüft keine Aliase. Wenn diese Funktion aktiviert ist, ohne dass eine entsprechende serverseitige Unterstützung vorhanden ist, wird Ihr Mailserver ausgehende Nachrichten wahrscheinlich ablehnen, was dazu führt, dass E-Mails nicht zugestellt werden können.",
"The message could not be translated" : "Die Nachricht konnte nicht übersetzt werden",
"The original message will be attached as a \"message/rfc822\" attachment." : "Die Originalnachricht wird als \"message/rfc822\"-Anhang angehängt.",
"The private key is only required if you intend to send signed and encrypted emails using this certificate." : "Der private Schlüssel wird nur benötigt, wenn Sie beabsichtigen, signierte und verschlüsselte E-Mails mit diesem Zertifikat zu versenden.",
Expand Down
6 changes: 6 additions & 0 deletions l10n/de_DE.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{ "translations": {
"pluralForm" : "nplurals=2; plural=(n != 1);",
"_{count} attachment_::_{count} attachments_" : "---\n- \"{count} Anhang\"\n- \"{count} Anhänge\"\n",
"_{count} mailbox …_::_{count} mailboxes …_" : "---\n- \"{count} Postfach …\"\n- \"{count} Postfächer …\"\n",
"_{count} mailbox_::_{count} mailboxes_" : "---\n- \"{count} Postfach\"\n- \"{count} Postfächer\"\n",
"_{total} message_::_{total} messages_" : "---\n- \"{total} Nachricht\"\n- \"{total} Nachrichten\"\n",
"_{unread} unread of {total}_::_{unread} unread of {total}_" : "---\n- \"{unread} ungelesene von {total}\"\n- \"{unread} ungelesene von {total}\"\n",
"_%n new message \nfrom {from}_::_%n new messages \nfrom {from}_" : "---\n- |-\n %n neue Nachricht\n von {from}\n- |-\n %n neue Nachrichten\n von {from}\n",
Expand Down Expand Up @@ -84,7 +86,9 @@
"All messages in mailbox will be deleted." : "Alle Nachrichten in der Mailbox werden gelöscht.",
"Allow additional mail accounts" : "Zusätzliche E-Mail-Konten zulassen",
"Allow additional Mail accounts from User Settings" : "Zusätzliche E-Mail-Konten in den Benutzereinstellungen zulassen",
"Allow aliases" : "Aliase zulassen",
"Allow the app to collect data about your interactions. Based on this data, the app will adapt to your preferences. The data will only be stored locally." : "Erlauben Sie der App, Daten über Ihre Interaktionen zu sammeln. Basierend auf diesen Daten passt sich die App an Ihre Vorlieben an. Die Daten werden nur lokal gespeichert.",
"Allow users to create mail aliases" : "Benutzern das Erstellen von E-Mail-Aliasen ermöglichen",
"Always show images from {domain}" : "Bilder von {domain} immer anzeigen",
"Always show images from {sender}" : "Bilder von {sender} immer anzeigen",
"An error occurred, unable to create the tag." : "Es ist ein Fehler aufgetreten, das Schlagwort kann nicht erstellt werden.",
Expand Down Expand Up @@ -226,6 +230,7 @@
"Create mail filter" : "Mail-Filter erstellen",
"Create task" : "Aufgabe erstellen",
"Creating account..." : "Konto wird erstellt...",
"Creating aliases has been disabled by the administrator." : "Das Erstellen von Aliasen wurde vom Administrator deaktiviert.",
"Custom" : "Benutzerdefiniert",
"Custom date and time" : "Benutzerspezifisches Datum und Zeit",
"Data collection consent" : "Zustimmung zur Datenerhebung",
Expand Down Expand Up @@ -799,6 +804,7 @@
"The mail app allows users to read mails on their IMAP accounts." : "Die Mail-App ermöglicht Benutzern, E-Mails von ihren IMAP-Konten zu lesen.",
"The Mail app can classify incoming emails by importance using machine learning. This feature is enabled by default but can be disabled by default here. Individual users will still be able to toggle the feature for their accounts." : "Die Mail-App kann eingehende E-Mails mithilfe maschinellem Lernens nach Wichtigkeit klassifizieren. Diese Funktion ist standardmäßig aktiviert, kann hier jedoch standardmäßig deaktiviert werden. Benutzer können die Funktion für ihre Konten aktivieren und deaktivieren.",
"The Mail app can process user data with the help of the configured large language model and provide assistance features like thread summaries, smart replies and event agendas." : "Die Mail-App kann mithilfe des konfigurierten großen Sprachmodells Benutzerdaten verarbeiten und Hilfsfunktionen wie Zusammenfassungen von Unterhaltungen, intelligente Antworten und Ereignisübersichten bereitstellen.",
"The Mail app does not verify aliases. If this is enabled without existing server-side support, your mail server will likely reject outgoing messages, causing emails to fail." : "Die Mail-App überprüft keine Aliase. Wenn diese Funktion aktiviert ist, ohne dass eine entsprechende serverseitige Unterstützung vorhanden ist, wird Ihr Mailserver ausgehende Nachrichten wahrscheinlich ablehnen, was dazu führt, dass E-Mails nicht zugestellt werden können.",
"The message could not be translated" : "Die Nachricht konnte nicht übersetzt werden",
"The original message will be attached as a \"message/rfc822\" attachment." : "Die Originalnachricht wird als \"message/rfc822\"-Anhang angehängt.",
"The private key is only required if you intend to send signed and encrypted emails using this certificate." : "Der private Schlüssel wird nur benötigt, wenn Sie beabsichtigen, signierte und verschlüsselte E-Mails mit diesem Zertifikat zu versenden.",
Expand Down
6 changes: 6 additions & 0 deletions l10n/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ OC.L10N.register(
{
"pluralForm" : "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;",
"_{count} attachment_::_{count} attachments_" : "---\n- \"{count} adjunto\"\n- \"{count} adjuntos\"\n- \"{count} adjuntos\"\n",
"_{count} mailbox …_::_{count} mailboxes …_" : "---\n- \"{count} buzón …\"\n- \"{count} buzones …\"\n- \"{count} buzones …\"\n",
"_{count} mailbox_::_{count} mailboxes_" : "---\n- \"{count} buzón\"\n- \"{count} buzones\"\n- \"{count} buzones\"\n",
"_{total} message_::_{total} messages_" : "---\n- \"{total} mensaje\"\n- \"{total} mensajes\"\n- \"{total} mensajes\"\n",
"_{unread} unread of {total}_::_{unread} unread of {total}_" : "---\n- \"{unread} no leído de {total}\"\n- \"{unread} no leídos de {total}\"\n- \"{unread} no leídos de {total}\"\n",
"_%n new message \nfrom {from}_::_%n new messages \nfrom {from}_" : "---\n- \"%n mensaje nuevo \\nde {from}\"\n- |-\n %n mensajes nuevos\n de {from}\n- |-\n %n mensajes nuevos\n de {from}\n",
Expand Down Expand Up @@ -86,7 +88,9 @@ OC.L10N.register(
"All messages in mailbox will be deleted." : "Todos los mensajes en este buzón se eliminarán.",
"Allow additional mail accounts" : "Permitir cuentas de correo adicionales",
"Allow additional Mail accounts from User Settings" : "Permitir cuentas de correo adicionales desde las configuraciones de usuario",
"Allow aliases" : "Allow aliases",

Copilot AI Apr 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spanish translation entry for "Allow aliases" is still in English (value is identical to the source string). Please localize it here as well to keep es.js consistent with es.json.

Suggested change
"Allow aliases" : "Allow aliases",
"Allow aliases" : "Permitir alias",

Copilot uses AI. Check for mistakes.
"Allow the app to collect data about your interactions. Based on this data, the app will adapt to your preferences. The data will only be stored locally." : "Permitir a la app recolectar datos sobre sus interacciones. Basándose en estos datos, la app se adaptará mejor a sus preferencias. Estos datos sólo se almacenan localmente.",
"Allow users to create mail aliases" : "Permitir a los usuarios crear alias de correo electrónico",
"Always show images from {domain}" : "Mostrar siempre las imágenes de {domain}",
"Always show images from {sender}" : "Mostrar siempre las imágenes de {sender}",
"An error occurred, unable to create the tag." : "Ocurrió un error, no fue posible crear la etiqueta.",
Expand Down Expand Up @@ -227,6 +231,7 @@ OC.L10N.register(
"Create mail filter" : "Crear filtro de correo",
"Create task" : "Crear una tarea",
"Creating account..." : "Creando cuenta...",
"Creating aliases has been disabled by the administrator." : "El administrador ha desactivado la creación de alias.",
"Custom" : "Personalizado",
"Custom date and time" : "Hora y fecha personalizadas",
"Data collection consent" : "Consentimiento para recolección de datos",
Expand Down Expand Up @@ -800,6 +805,7 @@ OC.L10N.register(
"The mail app allows users to read mails on their IMAP accounts." : "La aplicación de correo electrónico permite a los usuarios leer mails de sus cuentas IMAP.",
"The Mail app can classify incoming emails by importance using machine learning. This feature is enabled by default but can be disabled by default here. Individual users will still be able to toggle the feature for their accounts." : "La aplicación de Correo puede clasificar los correos entrantes por importancia utilizando machine learning. Esta característica está habilitada de manera predeterminada pero puede deshabilitarse aquí. Los usuarios tendrán la posibilidad de habilitarla de manera individual en sus cuentas.",
"The Mail app can process user data with the help of the configured large language model and provide assistance features like thread summaries, smart replies and event agendas." : "La app de Correo puede procesar los datos del usuario con la ayuda del modelo de lenguaje largo configurado y proveer características de asistencia como sumarios de hilos, respuestas inteligentes y agendas para eventos.",
"The Mail app does not verify aliases. If this is enabled without existing server-side support, your mail server will likely reject outgoing messages, causing emails to fail." : "La aplicación Mail no verifica los alias. Si se activa esta opción sin que exista compatibilidad por parte del servidor, es probable que tu servidor de correo rechace los mensajes salientes, lo que provocará que los correos electrónicos no se envíen correctamente.",
"The message could not be translated" : "El mensaje no pudo ser traducido",
"The original message will be attached as a \"message/rfc822\" attachment." : "El mensaje original se adjuntará como un archivo adjunto \"message/rfc822\"",
"The private key is only required if you intend to send signed and encrypted emails using this certificate." : "La llave privada solo se requiere si tiene pensado enviar correo electrónico firmado y cifrado utilizando la misma.",
Expand Down
6 changes: 6 additions & 0 deletions l10n/es.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{ "translations": {
"pluralForm" : "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;",
"_{count} attachment_::_{count} attachments_" : "---\n- \"{count} adjunto\"\n- \"{count} adjuntos\"\n- \"{count} adjuntos\"\n",
"_{count} mailbox …_::_{count} mailboxes …_" : "---\n- \"{count} buzón …\"\n- \"{count} buzones …\"\n- \"{count} buzones …\"\n",
"_{count} mailbox_::_{count} mailboxes_" : "---\n- \"{count} buzón\"\n- \"{count} buzones\"\n- \"{count} buzones\"\n",
"_{total} message_::_{total} messages_" : "---\n- \"{total} mensaje\"\n- \"{total} mensajes\"\n- \"{total} mensajes\"\n",
"_{unread} unread of {total}_::_{unread} unread of {total}_" : "---\n- \"{unread} no leído de {total}\"\n- \"{unread} no leídos de {total}\"\n- \"{unread} no leídos de {total}\"\n",
"_%n new message \nfrom {from}_::_%n new messages \nfrom {from}_" : "---\n- \"%n mensaje nuevo \\nde {from}\"\n- |-\n %n mensajes nuevos\n de {from}\n- |-\n %n mensajes nuevos\n de {from}\n",
Expand Down Expand Up @@ -84,7 +86,9 @@
"All messages in mailbox will be deleted." : "Todos los mensajes en este buzón se eliminarán.",
"Allow additional mail accounts" : "Permitir cuentas de correo adicionales",
"Allow additional Mail accounts from User Settings" : "Permitir cuentas de correo adicionales desde las configuraciones de usuario",
"Allow aliases" : "Allow aliases",

Copilot AI Apr 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spanish translation entry for "Allow aliases" is still in English (value is identical to the source string). If this key is meant to be localized, please provide a Spanish translation here (and in the corresponding l10n/es.js) so the admin setting title isn’t shown in English for Spanish users.

Suggested change
"Allow aliases" : "Allow aliases",
"Allow aliases" : "Permitir alias",

Copilot uses AI. Check for mistakes.
"Allow the app to collect data about your interactions. Based on this data, the app will adapt to your preferences. The data will only be stored locally." : "Permitir a la app recolectar datos sobre sus interacciones. Basándose en estos datos, la app se adaptará mejor a sus preferencias. Estos datos sólo se almacenan localmente.",
"Allow users to create mail aliases" : "Permitir a los usuarios crear alias de correo electrónico",
"Always show images from {domain}" : "Mostrar siempre las imágenes de {domain}",
"Always show images from {sender}" : "Mostrar siempre las imágenes de {sender}",
"An error occurred, unable to create the tag." : "Ocurrió un error, no fue posible crear la etiqueta.",
Expand Down Expand Up @@ -225,6 +229,7 @@
"Create mail filter" : "Crear filtro de correo",
"Create task" : "Crear una tarea",
"Creating account..." : "Creando cuenta...",
"Creating aliases has been disabled by the administrator." : "El administrador ha desactivado la creación de alias.",
"Custom" : "Personalizado",
"Custom date and time" : "Hora y fecha personalizadas",
"Data collection consent" : "Consentimiento para recolección de datos",
Expand Down Expand Up @@ -798,6 +803,7 @@
"The mail app allows users to read mails on their IMAP accounts." : "La aplicación de correo electrónico permite a los usuarios leer mails de sus cuentas IMAP.",
"The Mail app can classify incoming emails by importance using machine learning. This feature is enabled by default but can be disabled by default here. Individual users will still be able to toggle the feature for their accounts." : "La aplicación de Correo puede clasificar los correos entrantes por importancia utilizando machine learning. Esta característica está habilitada de manera predeterminada pero puede deshabilitarse aquí. Los usuarios tendrán la posibilidad de habilitarla de manera individual en sus cuentas.",
"The Mail app can process user data with the help of the configured large language model and provide assistance features like thread summaries, smart replies and event agendas." : "La app de Correo puede procesar los datos del usuario con la ayuda del modelo de lenguaje largo configurado y proveer características de asistencia como sumarios de hilos, respuestas inteligentes y agendas para eventos.",
"The Mail app does not verify aliases. If this is enabled without existing server-side support, your mail server will likely reject outgoing messages, causing emails to fail." : "La aplicación Mail no verifica los alias. Si se activa esta opción sin que exista compatibilidad por parte del servidor, es probable que tu servidor de correo rechace los mensajes salientes, lo que provocará que los correos electrónicos no se envíen correctamente.",
"The message could not be translated" : "El mensaje no pudo ser traducido",
"The original message will be attached as a \"message/rfc822\" attachment." : "El mensaje original se adjuntará como un archivo adjunto \"message/rfc822\"",
"The private key is only required if you intend to send signed and encrypted emails using this certificate." : "La llave privada solo se requiere si tiene pensado enviar correo electrónico firmado y cifrado utilizando la misma.",
Expand Down
Loading
Loading