<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Throttle is not working]]></title>
		<link>https://forum.iredmail.org/topic21161-throttle-is-not-working.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic21161.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Throttle is not working.]]></description>
		<lastBuildDate>Wed, 17 Jun 2026 14:06:15 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Throttle is not working]]></title>
			<link>https://forum.iredmail.org/post92039.html#p92039</link>
			<description><![CDATA[<p>Cannot help more if you insist in your own config.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 17 Jun 2026 14:06:15 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92039.html#p92039</guid>
		</item>
		<item>
			<title><![CDATA[Re: Throttle is not working]]></title>
			<link>https://forum.iredmail.org/post92038.html#p92038</link>
			<description><![CDATA[<p>Dear Zhang,</p><p>smtpd_sender_restrictions =<br />&nbsp; &nbsp; #ADDED JUNE 16, 2026<br />&nbsp; &nbsp; check_policy_service inet:127.0.0.1:7777 - ***this i deleted already***<br />&nbsp; &nbsp; #TILL HERE<br />&nbsp; &nbsp; permit_mynetworks<br />&nbsp; &nbsp; permit_sasl_authenticated<br />&nbsp; &nbsp; #ADDED JUNE 15, 2026 FOR THROTTLE<br />&nbsp; &nbsp; reject_unauth_destination<br />&nbsp; &nbsp; #check_policy_service inet:127.0.0.1:7777<br />&nbsp; &nbsp; #TILL HERE<br />&nbsp; &nbsp; check_sender_access pcre:/etc/postfix/sender_access.pcre<br />&nbsp; &nbsp; # To check outgoing messages<br />&nbsp; &nbsp; #Added August 28, 2023<br />&nbsp; &nbsp; # add entry in /etc/postfix/internal_clients_filter - check<br />&nbsp; &nbsp; #check_client_access cidr:/etc/postfix/internal_clients_filter<br />&nbsp; &nbsp; ##<br />&nbsp; &nbsp; reject_non_fqdn_sender<br />&nbsp; &nbsp; reject_unlisted_sender<br />&nbsp; &nbsp; #Added August 28, 2023<br />&nbsp; &nbsp; reject_unknown_sender_domain<br />&nbsp; &nbsp; reject_sender_login_mismatch<br />&nbsp; &nbsp; reject_unknown_reverse_client_hostname<br />&nbsp; &nbsp; reject_unknown_client_hostname</p><p># Recipient restrictions<br />smtpd_recipient_restrictions =<br />&nbsp; &nbsp; #ADDED JUNE 16, 2026<br />&nbsp; &nbsp; check_policy_service inet:127.0.0.1:7777<br />&nbsp; &nbsp; #TILL HERE<br />&nbsp; &nbsp; #orig entry (when disabled and enable the permit_mynetworks and permit_sasl_authenticated below - i am not able to send email)<br />&nbsp; &nbsp; permit_mynetworks<br />&nbsp; &nbsp; permit_sasl_authenticated<br />&nbsp; &nbsp; #TILL HERE<br />&nbsp; &nbsp; reject_non_fqdn_recipient<br />&nbsp; &nbsp; #ADDED JUNE 16, 2026<br />&nbsp; &nbsp; reject_unknown_recipient_domain<br />&nbsp; &nbsp; check_recipient_access pcre:/etc/postfix/recipient_access.pcre<br />&nbsp; &nbsp; check_recipient_access pcre:/opt/iredmail/custom/postfix/recipient_access.pcre<br />&nbsp; &nbsp; #TILL HERE<br />&nbsp; &nbsp; reject_unlisted_recipient<br />&nbsp; &nbsp; reject_unauth_destination<br />&nbsp; &nbsp; #Added August 28, 2023<br />&nbsp; &nbsp; reject_invalid_hostname<br />&nbsp; &nbsp; #reject_unknown_recipient_domain<br />&nbsp; &nbsp; reject_unauth_pipelining<br />&nbsp; &nbsp; #Added Augst 29, 2023<br />&nbsp; &nbsp; reject_non_fqdn_recipient<br />&nbsp; &nbsp; reject_non_fqdn_sender<br />&nbsp; &nbsp; #reject_unKown_sender_domain<br />&nbsp; &nbsp; #ADDED JUNE 16, 2026<br />&nbsp; &nbsp; #permit_mynetworks&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ***&nbsp; &nbsp;if it is enabled, i cannot sent message***<br />&nbsp; &nbsp; #permit_sasl_authenticated&nbsp; &nbsp; &nbsp; ***if it is enabled, i cannot send message***<br />&nbsp; &nbsp; #TILL HERE<br />&nbsp; &nbsp; check_policy_service inet:127.0.0.1:12340<br />&nbsp; &nbsp; #Added December 1, 2024<br />&nbsp; &nbsp; reject_rbl_client zen.spamhaus.org=127.0.0.[2..11]<br />&nbsp; &nbsp; reject_rbl_client b.barracudacentral.org=127.0.0.2</p><p># END-OF-MESSAGE restrictions<br />smtpd_end_of_data_restrictions =<br />&nbsp; &nbsp; check_policy_service inet:127.0.0.1:7777</p><br /><p>note: if the permit_mynetworks and permit_sasl_authentication is enabled in the middle part of the configuration located in the &quot;ADDED JUNE 16, 2026&quot;. I am not able to send email</p>]]></description>
			<author><![CDATA[null@example.com (jung)]]></author>
			<pubDate>Wed, 17 Jun 2026 12:30:42 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92038.html#p92038</guid>
		</item>
		<item>
			<title><![CDATA[Re: Throttle is not working]]></title>
			<link>https://forum.iredmail.org/post92037.html#p92037</link>
			<description><![CDATA[<p>WARNING: The order of restriction rules matter a lot, you cannot simply add rule 1 / 2 / 3 randomly. Postfix applies the rule one by one, you should understand what the rule is used for and when you should apply it.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 17 Jun 2026 10:00:03 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92037.html#p92037</guid>
		</item>
		<item>
			<title><![CDATA[Re: Throttle is not working]]></title>
			<link>https://forum.iredmail.org/post92036.html#p92036</link>
			<description><![CDATA[<p>1: Your setting is a mess.<br />2: Do not add it in smtpd_sender_restrictions.<br />3: I suggest restore smtpd_recipient_restrictions to the one in my first reply. If your server was not deployed with iRedMail Easy or iRedMail Enterprise Edition, please remove the rules with &quot;/opt/iredmail/custom/...&quot; path.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 17 Jun 2026 09:59:05 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92036.html#p92036</guid>
		</item>
		<item>
			<title><![CDATA[Re: Throttle is not working]]></title>
			<link>https://forum.iredmail.org/post92035.html#p92035</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>You should enable iredapd in smtpd_end_of_data_restrictions and smtpd_recipient_restrictions. For example:<br /></p><div class="codebox"><pre><code>smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777
smtpd_recipient_restrictions = reject_unknown_recipient_domain reject_non_fqdn_recipient reject_unlisted_recipient check_recipient_access pcre:/etc/postfix/recipient_access.pcre check_recipient_access pcre:/opt/iredmail/custom/postfix/recipient_access.pcre check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated reject_unauth_destination check_policy_service inet:127.0.0.1:12340</code></pre></div></blockquote></div><br /><p>Dear Zhang,</p><p>- smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777 -&nbsp; is already in main.cf by default.</p><p>i added the below entry under (smtpd_recipient_restrictions)<br />-reject_unlisted_recipient check_recipient_access&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; pcre:/etc/postfix/recipient_access.pcre <br />-check_recipient_access pcre:/opt/iredmail/custom/postfix/recipient_access.pcre<br />-reject_unauth_destination check_policy_service inet:127.0.0.1:12340</p><p>after restarting the iredapd, nginx, mysql and postfix then login and start sending 4 messages in 1 minute and throttle let me sent 4 message within a minute</p><p>please see below /etc/postfix/main.cf<br />smtpd_sender_restrictions =<br />&nbsp; &nbsp; #ADDED JUNE 16, 2026<br />&nbsp; &nbsp; check_policy_service inet:127.0.0.1:7777<br />&nbsp; &nbsp; #TILL HERE<br />&nbsp; &nbsp; permit_mynetworks<br />&nbsp; &nbsp; permit_sasl_authenticated<br />&nbsp; &nbsp; #ADDED JUNE 15, 2026 FOR THROTTLE<br />&nbsp; &nbsp; reject_unauth_destination<br />&nbsp; &nbsp; #check_policy_service inet:127.0.0.1:7777<br />&nbsp; &nbsp; #TILL HERE<br />&nbsp; &nbsp; check_sender_access pcre:/etc/postfix/sender_access.pcre<br />&nbsp; &nbsp; # To check outgoing messages<br />&nbsp; &nbsp; #Added August 28, 2023<br />&nbsp; &nbsp; # add entry in /etc/postfix/internal_clients_filter - check<br />&nbsp; &nbsp; #check_client_access cidr:/etc/postfix/internal_clients_filter<br />&nbsp; &nbsp; ##<br />&nbsp; &nbsp; reject_non_fqdn_sender<br />&nbsp; &nbsp; reject_unlisted_sender<br />&nbsp; &nbsp; #Added August 28, 2023<br />&nbsp; &nbsp; reject_unknown_sender_domain<br />&nbsp; &nbsp; reject_sender_login_mismatch<br />&nbsp; &nbsp; reject_unknown_reverse_client_hostname<br />&nbsp; &nbsp; reject_unknown_client_hostname</p><p># Recipient restrictions<br />smtpd_recipient_restrictions =<br />&nbsp; &nbsp; #ADDED JUNE 16, 2026<br />&nbsp; &nbsp; check_policy_service inet:127.0.0.1:7777<br />&nbsp; &nbsp; #TILL HERE<br />&nbsp; &nbsp; #orig entry (when disabled and enable the permit_mynetworks and permit_sasl_authenticated below - i am not able to send email)<br />&nbsp; &nbsp; permit_mynetworks<br />&nbsp; &nbsp; permit_sasl_authenticated<br />&nbsp; &nbsp; #TILL HERE<br />&nbsp; &nbsp; reject_non_fqdn_recipient<br />&nbsp; &nbsp; #ADDED JUNE 16, 2026<br />&nbsp; &nbsp; reject_unknown_recipient_domain<br />&nbsp; &nbsp; check_recipient_access pcre:/etc/postfix/recipient_access.pcre<br />&nbsp; &nbsp; check_recipient_access pcre:/opt/iredmail/custom/postfix/recipient_access.pcre<br />&nbsp; &nbsp; #TILL HERE<br />&nbsp; &nbsp; reject_unlisted_recipient<br />&nbsp; &nbsp; reject_unauth_destination<br />&nbsp; &nbsp; #Added August 28, 2023<br />&nbsp; &nbsp; reject_invalid_hostname<br />&nbsp; &nbsp; #reject_unknown_recipient_domain<br />&nbsp; &nbsp; reject_unauth_pipelining<br />&nbsp; &nbsp; #Added Augst 29, 2023<br />&nbsp; &nbsp; reject_non_fqdn_recipient<br />&nbsp; &nbsp; reject_non_fqdn_sender<br />&nbsp; &nbsp; #reject_unKown_sender_domain<br />&nbsp; &nbsp; #ADDED JUNE 16, 2026<br />&nbsp; &nbsp; #permit_mynetworks<br />&nbsp; &nbsp; #permit_sasl_authenticated<br />&nbsp; &nbsp; #TILL HERE<br />&nbsp; &nbsp; check_policy_service inet:127.0.0.1:12340<br />&nbsp; &nbsp; #Added December 1, 2024<br />&nbsp; &nbsp; reject_rbl_client zen.spamhaus.org=127.0.0.[2..11]<br />&nbsp; &nbsp; reject_rbl_client b.barracudacentral.org=127.0.0.2</p><p># END-OF-MESSAGE restrictions<br />smtpd_end_of_data_restrictions =<br />&nbsp; &nbsp; check_policy_service inet:127.0.0.1:7777</p>]]></description>
			<author><![CDATA[null@example.com (jung)]]></author>
			<pubDate>Tue, 16 Jun 2026 12:42:25 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92035.html#p92035</guid>
		</item>
		<item>
			<title><![CDATA[Re: Throttle is not working]]></title>
			<link>https://forum.iredmail.org/post92034.html#p92034</link>
			<description><![CDATA[<p>You should enable iredapd in smtpd_end_of_data_restrictions and smtpd_recipient_restrictions. For example:<br /></p><div class="codebox"><pre><code>smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777
smtpd_recipient_restrictions = reject_unknown_recipient_domain reject_non_fqdn_recipient reject_unlisted_recipient check_recipient_access pcre:/etc/postfix/recipient_access.pcre check_recipient_access pcre:/opt/iredmail/custom/postfix/recipient_access.pcre check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated reject_unauth_destination check_policy_service inet:127.0.0.1:12340</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 16 Jun 2026 11:10:26 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92034.html#p92034</guid>
		</item>
		<item>
			<title><![CDATA[Throttle is not working]]></title>
			<link>https://forum.iredmail.org/post92033.html#p92033</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.6.4<br />- Deployed with iRedMail Easy or the downloadable installer?<br />- Linux/BSD distribution name and version: ubuntu 22.04<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql<br />- Web server (Apache or Nginx):nginx<br />- Manage mail accounts with iRedAdmin-Pro? free<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>Dear iRedmail community, </p><p>I configured throttle to limit 1 user from sending 3 messages within 1 minute, what i did was :<br />-enabled throttle in iredapd (iredapd version 5.3)<br />-insert into throttle (account, kind, period, priority, max_msgs, msg_size) values (&#039;emailaddress@domain.com&#039;, outbound, 60, 255, 3, 0);<br />-check_policy_service inet:127.0.0.1:7777&nbsp; was added just after smtpd_sender_restrictions and smtpd_recipient_restrictions<br />-restarted mysql, iredapd, nginx and postfix</p><p>throttle did not stop me from sending 5 messages or more within 1 minute.</p><p>your advice is highly appreciated. Thanks</p>]]></description>
			<author><![CDATA[null@example.com (jung)]]></author>
			<pubDate>Tue, 16 Jun 2026 09:48:52 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92033.html#p92033</guid>
		</item>
	</channel>
</rss>
