<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rate-Limit Archives - Vavai&#039;s Personal Notes</title>
	<atom:link href="https://www.vavai.net/tag/rate-limit/feed/" rel="self" type="application/rss+xml" />
	<link>https://vavai.net/tag/rate-limit/</link>
	<description>Life is our precious gift</description>
	<lastBuildDate>Sun, 09 Feb 2014 07:51:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Zimbra Tips : Rate-Limit Sending Message with PolicyD</title>
		<link>https://www.vavai.net/zimbra-tips-rate-limit-sending-message-with-policyd/</link>
					<comments>https://www.vavai.net/zimbra-tips-rate-limit-sending-message-with-policyd/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Sun, 09 Feb 2014 07:51:49 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PolicyD]]></category>
		<category><![CDATA[Rate-Limit]]></category>
		<category><![CDATA[Zimbra]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1514</guid>

					<description><![CDATA[<p>Previous Article : Zimbra Tips : Installing &#38; Configuring PolicyD on Zimbra 8 Zimbra Tips : Securing PolicyD Web Admin After installing, configuring and securing PolicyD, we can apply some policy rule on PolicyD, such as setting up maximum number of emails that can be sent by any account in a certain time interval. For example, each...</p>
<p>The post <a href="https://www.vavai.net/zimbra-tips-rate-limit-sending-message-with-policyd/">Zimbra Tips : Rate-Limit Sending Message with PolicyD</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Previous Article :</p>
<ol>
<li><a href="http://v2.vavai.net/2014/02/zimbra-tips-policyd-rate-limit-sending-message-implementation-on-zimbra-8/">Zimbra Tips : Installing &amp; Configuring PolicyD on Zimbra 8</a></li>
<li><a href="http://v2.vavai.net/2014/02/zimbra-tips-how-to-secure-policyd-web-admin/">Zimbra Tips : Securing PolicyD Web Admin</a></li>
</ol>
<p><span style="line-height: 1.5em;">After installing, configuring and securing PolicyD, we can apply some policy rule on PolicyD, such as setting up maximum number of emails that can be sent by any account in a certain time interval. For example, each user can only send a maximum of 300 emails per hour, so if there are some compromised account they cannot send email beyond the limit.</span></p>
<p style="text-align: center;"><a href="http://54.254.121.108/wp-content/uploads/2014/02/policyd_logo.png"><img decoding="async" class="size-medium wp-image-1515 aligncenter" alt="policyd_logo" src="http://v2.vavai.net/wp-content/uploads/2014/02/policyd_logo-300x130.png" width="300" height="130" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/policyd_logo-300x130.png 300w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/policyd_logo.png 369w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p><strong><span id="more-1514"></span>CONFIGURING POLICY</strong></p>
<ol>
<li>Open the Administration Web PolicyD page, <span style="line-height: 1.5em;">http://lpServerZimbra:7780/webui/index.php</span></li>
<li><span style="line-height: 1.5em;">Select <strong>Quotas | Configure</strong> menu</span></li>
<li><span style="line-height: 1.5em;">In the <strong>Action</strong> options, select <strong>Add</strong> and enter the details as below :<br />
</span><span style="line-height: 1.5em;"><strong>Name</strong> : Delivery Per User<br />
</span><span style="line-height: 1.5em;"><strong>Track</strong> : Select <strong>Sender@domain</strong>. This means that policy will be applies to each user on the domain<br />
</span><span style="line-height: 1.5em;"><strong>Period</strong> : The length of time that given in seconds. Ideally is in counts per hour or 3600 seconds<br />
</span><span style="line-height: 1.5em;"><strong>Link to policy</strong> : Select Default<br />
</span><span style="line-height: 1.5em;"><strong>Verdict</strong> : The rules that will be apply if it meets the period, such as <strong>defer</strong> (hold the messages until next time interval)<br />
</span><span style="line-height: 1.5em;"><strong>Data</strong> : Information that is given if it meets the rule, for example the information is a &#8220;<em><strong>Maximum 2 email delivery per minute</strong></em>&#8221; or &#8220;<em><strong>Maximum 300 emails delivery  per hour</strong></em>&#8221;<br />
</span><span style="line-height: 1.5em;"><strong>Stop processing here</strong> : choose Yes, means that rule will not processing another rule<br />
</span><span style="line-height: 1.5em;"><strong>Comment</strong> : can be filled with anything you like<br />
<a href="http://54.254.121.108/wp-content/uploads/2014/02/vavai-setting-up-policyd-rule.jpg"><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-1543" alt="vavai-setting-up-policyd-rule" src="http://54.254.121.108/wp-content/uploads/2014/02/vavai-setting-up-policyd-rule.jpg" width="523" height="341" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-setting-up-policyd-rule.jpg 523w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-setting-up-policyd-rule-300x196.jpg 300w" sizes="(max-width: 523px) 100vw, 523px" /></a><br />
</span></li>
<li>Click <strong>Submit<br />
</strong></li>
<li>by default, the newly created rule set in the disabled state. Set it enable by choose <span style="line-height: 1.5em;">PolicyD that you just created, and then on the <strong>Action</strong> option, select <strong>change<br />
<a href="http://54.254.121.108/wp-content/uploads/2014/02/vavai-enable-policyd-rule.jpg"><img decoding="async" class="alignnone size-full wp-image-1544" alt="vavai-enable-policyd-rule" src="http://54.254.121.108/wp-content/uploads/2014/02/vavai-enable-policyd-rule.jpg" width="853" height="166" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-enable-policyd-rule.jpg 853w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-enable-policyd-rule-300x58.jpg 300w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-enable-policyd-rule-768x149.jpg 768w" sizes="(max-width: 853px) 100vw, 853px" /></a><br />
</strong></span></li>
<li><span style="line-height: 1.5em;">Change the parameter <strong>Disable=&#8217;Yes&#8217;</strong> to <strong>Disable=&#8217;No&#8217;</strong> on the Disabled option and click submit</span></li>
<li><span style="line-height: 1.5em;">Select the newly created policy again  and then select <strong>Limits</strong> on the <strong>Action</strong> option</span></li>
<li><span style="line-height: 1.5em;">Select <strong>Add</strong>, then select the <strong>Message Count</strong> and fill in with the number of maximum emails  on <strong>Counter Limit<br />
<a href="http://54.254.121.108/wp-content/uploads/2014/02/vavai-set-policyd-rule-limits.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1545" alt="vavai-set-policyd-rule-limits" src="http://54.254.121.108/wp-content/uploads/2014/02/vavai-set-policyd-rule-limits.jpg" width="309" height="153" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-set-policyd-rule-limits.jpg 309w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-set-policyd-rule-limits-300x149.jpg 300w" sizes="auto, (max-width: 309px) 100vw, 309px" /></a><br />
</strong></span></li>
<li><span style="line-height: 1.5em;">Click <strong>Back to Limits</strong> and choose the rule that you have just created. Select <strong>Change </strong>In the <strong>Action</strong> option</span></li>
<li><span style="line-height: 1.5em;">Change the parameter <strong>&#8216;Yes&#8217;</strong> to <strong>&#8216;No&#8217;</strong> on the <strong>Disabled</strong> option and click submit</span></li>
</ol>
<p>Try to send emails beyond the limit. On the above screenshot, I&#8217;ve set maximum 2 emails for each user per minute. This is for example only so it wasn&#8217;t too long to see match condition for the above rule. for production use, better to set maximum emails limit  per hour rather than per minutes, to consider the possibility email in CC or BCC which also counted as a single email.<br />
The following is an example screenshot while PolicyD block email from being sent because because the sender has exceeded the maximum limit of sending email quota.</p>
<p>The post <a href="https://www.vavai.net/zimbra-tips-rate-limit-sending-message-with-policyd/">Zimbra Tips : Rate-Limit Sending Message with PolicyD</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/zimbra-tips-rate-limit-sending-message-with-policyd/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 27/52 objects using Disk
Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: d3b35uem336dgh.cloudfront.net
Lazy Loading (feed)
Minified using Disk
Database Caching 14/31 queries in 0.013 seconds using Disk

Served from: www.vavai.net @ 2026-11-12 11:59:45 by W3 Total Cache
-->