mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	docs: Add a note in Incoming email integration docs.
The note states the incoming emails are rate-limited and its current limits. Fixes #17435.
This commit is contained in:
		
				
					committed by
					
						
						Alex Vandiver
					
				
			
			
				
	
			
			
			
						parent
						
							b55a77f1cd
						
					
				
				
					commit
					6b34ba048d
				
			@@ -29,6 +29,15 @@ polling option is convenient for testing/developing this feature
 | 
			
		||||
because it doesn't require a public IP address or setting up MX
 | 
			
		||||
records 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 setup
 | 
			
		||||
 | 
			
		||||
Zulip's Puppet configuration provides everything needed to run this
 | 
			
		||||
 
 | 
			
		||||
@@ -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.html
 | 
			
		||||
RATE_LIMITING_MIRROR_REALM_RULES = [
 | 
			
		||||
    (60, 50),  # 50 emails per minute
 | 
			
		||||
    (300, 120),  # 120 emails per 5 minutes
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user