From fe7d478099ee18db4967fcd46afc56b11f14c937 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 29 Jul 2025 15:03:31 -0700 Subject: [PATCH] sogo: Allow adding IMAP accounts and changing full name Configuration provided by David (https://discuss.freedombox.org/u/david/) Tests: - Install SOGo without patch and apply the patch. The app setup is run and new version of configuration file is installed. After logging into SOGo: - Mail settings shows an option to add IMAP account. - Editing Full Name in the identity of the default account is now possible. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/sogo/__init__.py | 2 +- plinth/modules/sogo/privileged.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/plinth/modules/sogo/__init__.py b/plinth/modules/sogo/__init__.py index 732faed6e..ba4935ad5 100644 --- a/plinth/modules/sogo/__init__.py +++ b/plinth/modules/sogo/__init__.py @@ -38,7 +38,7 @@ class SOGoApp(app_module.App): app_id = 'sogo' - _version = 2 + _version = 3 def __init__(self) -> None: """Create components for the app.""" diff --git a/plinth/modules/sogo/privileged.py b/plinth/modules/sogo/privileged.py index 7d7a13f95..39b6a198c 100644 --- a/plinth/modules/sogo/privileged.py +++ b/plinth/modules/sogo/privileged.py @@ -51,6 +51,10 @@ def _create_config(db_password: str): SOGoCalendarDefaultRoles = ("PublicViewer", "ConfidentialDAndTViewer"); SOGoAppointmentSendEMailNotifications = YES; SOGoRefreshViewCheck = "every_minute"; + /* Allow users to add their own additional IMAP accounts */ + SOGoMailAuxiliaryUserAccountsEnabled = YES; + /* Allow users to change their full name in default account */ + SOGoMailCustomFromEnabled = YES; /* Authentication */ SOGoMaximumFailedLoginCount = "10";