mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 00:46:03 +03:00
[GH-ISSUE #968] Command-line interface for users and admins #825
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#825
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @almereyda on GitHub (Nov 23, 2016).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/968
Currently administrators use the Django commands to maintain an instance. The availability of an authenticated HTTP API also invites for remotely managing Modoboa from the command line
This could appear useful for shared hosting environments, where shell users may want to be able to configure their mail services directly on the terminal ( known from uberspace ). An interface like http://untroubled.org/vmailmgr/ comes to mind.
This would require making the API also available to domain administrators, in opposition to super administrators only (as per the docs).
@tonioo commented on GitHub (Nov 23, 2016):
How do you manage authentication using such a tool?
@ravensorb commented on GitHub (Dec 10, 2016):
Something like OAuth or Basic HTTP auth (over ssl) could work
@almereyda commented on GitHub (Dec 12, 2016):
Additionally, the simple Django CLI could be simplified to a single namespace.
Instead of i.e.
modo check_mxor direct unprepended jobs likecommunicate_with_public_apiorgenerate_postfix_maps.@JayBeRayBearGun commented on GitHub (Jan 8, 2017):
I like CLI been using this in my previous environment (cyrus/exim) all the time because I had no web interface. Webinterface is great but in some scenarios CLI can save the day when in a tight spot :)