fliu aaa6342f93
email: Basic app to manage an email server
- 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>
2021-08-17 19:42:26 -07:00

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)