move management into a daemon service running as root
* Created a new Python/flask-based management daemon. * Moved the mail user management core code from tools/mail.py to the new daemon. * tools/mail.py is a wrapper around the daemon and can be run as a non-root user. * Adding a new initscript for the management daemon. * Moving dns_update.sh to the management daemon, called via curl'ing the daemon's API. This also now runs the DNS update after mail users and aliases are added/removed, which sets up new domains' DNS as needed.
Showing
conf/management-initscript
0 → 100755
management/daemon.py
0 → 100755
management/dns_update.py
0 → 100755
management/mailconfig.py
0 → 100644
setup/dns_update.sh
deleted
100755 → 0
setup/management.sh
0 → 100755
Please register or sign in to comment