email: Simplify setting up postfix

- Reduce complexity by removing the diagnosis approach.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2022-03-02 07:38:05 -05:00
1 parent bbd0b629f3
commit c8d1f614da
2 files changed
+12 -84

No files matched your search

-6
View File
@@ -147,12 +147,6 @@ class EmailApp(plinth.app.App):
domain_added.connect(on_domain_added)
domain_removed.connect(on_domain_removed)
def diagnose(self):
"""Run diagnostics and return the results"""
results = super().diagnose()
results.extend([r.summarize() for r in audit.ldap.get()])
return results
def get_domains():
"""Return the list of domains configured."""