mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-18 08:33:41 +00:00
- Install postfix and manage the service - Import ugettext - Dummy forms and views - <module>.version (integer) is required [sunil: Disable the app until remaining issues are worked out] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
16 lines
448 B
Python
16 lines
448 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
import plinth
|
|
from . import forms
|
|
|
|
|
|
class EmailServerView(plinth.views.AppView):
|
|
"""Server configuration page"""
|
|
app_id = 'email_server'
|
|
form_class = forms.EmailServerForm
|
|
|
|
def form_valid(self, form):
|
|
# old_settings = form.initial
|
|
# new_status = form.cleaned_data
|
|
# plinth.actions.superuser_run('email_server', ['--help'])
|
|
return super().form_valid(form)
|