zulip/puppet
K.Kanakhin e3e52e7284 email-mirror: Move postfix email mirror integration to separate script.
This fixes a performance problem where we were previously starting up
a full Django process (~0.7s even on a fast machine) every time a new
email came in, potentially allowing users to accidentally DoS a Zulip
server.  Now, we just post over HTTPS, allowing the existing thread
pool support to do its job.

- Add script wrapper to communicate postfix pipe with django web server
  over HTTP(S). It uses shared_secret authentication mode.
- Add django view to process messages from email mirror server.
- Clean management command `email-mirror`. Left just functional
  for cron email processing.
- Add routes for new tornado view.
- Change pipe script in master process postfix config template
  based on updated script.
- Add tests.

Tweaked by tabbott to adjust the directory and set better defaults.

Fixes #2421.
2017-04-24 21:24:23 -07:00
..
apt Fix missing newlines at ends of JSON files. 2016-04-14 10:48:52 -07:00
stdlib Remove some some duplicate words in copy. 2017-01-23 23:15:04 -08:00
zulip email-mirror: Move postfix email mirror integration to separate script. 2017-04-24 21:24:23 -07:00
zulip_ops Replace timezone.now with timezone_now. 2017-04-16 12:28:56 -07:00