Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Add a note in Incoming email integration docs.
Nikhil Maske6b34ba048dba
diff --git a/docs/production/email-gateway.md b/docs/production/email-gateway.mdindex 5bbab8b603a..530618879c3 100644--- a/docs/production/email-gateway.md+++ b/docs/production/email-gateway.md@@ -29,6 +29,15 @@ polling option is convenient for testing/developing this featurebecause it doesn't require a public IP address or setting up MXrecords in DNS.+```eval_rst+ .. note::+ Incoming emails are rate-limited, with the following limits:++ * 50 emails per minute.+ * 120 emails per 5 minutes.+ * 600 emails per hour.+ ```+## Local delivery setupZulip's Puppet configuration provides everything needed to run thisdiff --git a/zproject/computed_settings.py b/zproject/computed_settings.pyindex e7ed18deec9..eb21ef85791 100644--- a/zproject/computed_settings.py+++ b/zproject/computed_settings.py@@ -382,6 +382,8 @@ RATE_LIMITING_RULES = {# other domains, but we use this list as an extra precaution.RATE_LIMITING_DOMAINS_FOR_TORNADO = ["api_by_user"]+# These ratelimits are also documented publicly at+# https://zulip.readthedocs.io/en/latest/production/email-gateway.htmlRATE_LIMITING_MIRROR_REALM_RULES = [(60, 50), # 50 emails per minute(300, 120), # 120 emails per 5 minutes