Commit Graph

11 Commits

Author SHA1 Message Date
Joshua Tauberer c54b0cbefc 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.
2014-06-03 13:56:40 +00:00
Joshua Tauberer 304bf3d360 update for Ubuntu 14.04 2014-04-17 20:17:24 -04:00
Joshua Tauberer 6d1d9e1cc9 remove old Amazon EC2-related things since no one should ever deploy a mail server to EC2 (IPs have bad reputation) 2014-03-17 01:11:07 +00:00
vzvenyach e600d01e44 Fixed usage description
Was linking to the wrong path/filename
2014-03-16 16:29:47 -04:00
Joshua Tauberer 7f63c199a6 move the sieve script configuration to tools/mail.py 2013-09-01 10:40:12 -04:00
Joshua Tauberer acaa29e8db mail.py: check that mailboxes don't exist before creating them 2013-09-01 10:40:12 -04:00
Joshua Tauberer 4a06e93b1e put all DKIM on the primary hostname since that's the only one guaranteed to be actually hosted (DNS) here; give new users a Spam folder too 2013-08-31 18:52:13 +00:00
Joshua Tauberer 560cd73b80 add a new mail user/alias configuration tool 2013-08-31 14:51:23 +00:00
Joshua Tauberer 97b2105a1f spamassassin 2013-08-23 11:59:28 -04:00
Joshua Tauberer eb47a1471b mail seems to work 2013-08-21 09:37:33 -04:00
Joshua Tauberer d3a20b3369 initial commit of some preliminary notes 2013-08-20 22:27:32 -04:00