<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Email alert to admin When users mailbox quota exceeds the limit.]]></title>
		<link>http://www.iredmail.org/forum/topic3740-email-alert-to-admin-when-users-mailbox-quota-exceeds-the-limit.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic3740.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Email alert to admin When users mailbox quota exceeds the limit..]]></description>
		<lastBuildDate>Tue, 29 Jan 2013 12:26:50 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Email alert to admin When users mailbox quota exceeds the limit.]]></title>
			<link>http://www.iredmail.org/forum/post20090.html#p20090</link>
			<description><![CDATA[<p>- Please paste output of command &quot;dovecot -n&quot;, your script, and related dovecot/sieve log (/var/log/dovecot.log, /var/log/sieve.log) here to help troubleshoot.<br />- We set Dovecot to execute quota warning script when mailbox is 85%, 90% or 95% full. Check your dovecot config file please.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 29 Jan 2013 12:26:50 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post20090.html#p20090</guid>
		</item>
		<item>
			<title><![CDATA[Re: Email alert to admin When users mailbox quota exceeds the limit.]]></title>
			<link>http://www.iredmail.org/forum/post20051.html#p20051</link>
			<description><![CDATA[<p>this not working for me either, and without changes the script is not even sending warnings to the users, when is the script being executed?</p>]]></description>
			<author><![CDATA[null@example.com (gibzon)]]></author>
			<pubDate>Mon, 28 Jan 2013 11:34:14 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post20051.html#p20051</guid>
		</item>
		<item>
			<title><![CDATA[Re: Email alert to admin When users mailbox quota exceeds the limit.]]></title>
			<link>http://www.iredmail.org/forum/post19797.html#p19797</link>
			<description><![CDATA[<div class="quotebox"><cite>cedbiella wrote:</cite><blockquote><p>i have the same problem with pro version.<br />If i lanch the script all works, so i suppose that the script is ok<br />What i&#039;ve to do for work?</p></blockquote></div><br /><p>Still not function, any idea.</p><p>dovecot.conf is different, because i&#039;ve dovecot 2.x installed</p>]]></description>
			<author><![CDATA[null@example.com (cedbiella)]]></author>
			<pubDate>Thu, 10 Jan 2013 08:31:07 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19797.html#p19797</guid>
		</item>
		<item>
			<title><![CDATA[Re: Email alert to admin When users mailbox quota exceeds the limit.]]></title>
			<link>http://www.iredmail.org/forum/post18154.html#p18154</link>
			<description><![CDATA[<p>i have the same problem with pro version.<br />If i lanch the script all works, so i suppose that the script is ok<br />What i&#039;ve to do for work?</p>]]></description>
			<author><![CDATA[null@example.com (cedbiella)]]></author>
			<pubDate>Tue, 11 Sep 2012 13:53:26 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post18154.html#p18154</guid>
		</item>
		<item>
			<title><![CDATA[Re: Email alert to admin When users mailbox quota exceeds the limit.]]></title>
			<link>http://www.iredmail.org/forum/post17580.html#p17580</link>
			<description><![CDATA[<p>Why not simply copy the code in the script to send to admin?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 13 Aug 2012 06:55:28 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17580.html#p17580</guid>
		</item>
		<item>
			<title><![CDATA[Re: Email alert to admin When users mailbox quota exceeds the limit.]]></title>
			<link>http://www.iredmail.org/forum/post17578.html#p17578</link>
			<description><![CDATA[<p>Hi Zhang,</p><p>I have set BCC to admin@mydomain.com in dovecot-quota-warning.sh file.</p><p>Only perticular user is getting email alert not to admin@mydomain.com.</p><p>Kindly advise me how it can be achieved.</p><p>Thanks &amp; regards,</p><p>PineMail11</p><br /><p> </p><div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>iRedMail enables Dovecot plugin and service &quot;quota_warning&quot; by default, you can find settings in dovecot.conf like below:<br /></p><div class="codebox"><pre><code>plugins {
    ...
    # Quota warning.                                                               
    # If user suddenly receives a huge mail and the quota jumps from               
    # 85% to 95%, only the 95% script is executed.                                 
    quota_warning = storage=85%% quota-warning 85 %u                                                                          
    quota_warning2 = storage=90%% quota-warning 90 %u                              
    quota_warning3 = storage=95%% quota-warning 95 %u     
    ...
}

service quota-warning {
    executable = script /usr/local/bin/dovecot-quota-warning.sh
    ...
}</code></pre></div><p>Please edit /usr/local/bin/dovecot-quota-warning.sh, insert a BCC header above &quot;Subject:&quot; line like below:<br /></p><div class="quotebox"><blockquote><p>From: no-reply@demo.iredmail.org<br /><span style="color: red">BCC: postmaster@your_domain.com</span><br />Subject: Mailbox Quota Warning: ${PERCENT}% Full.</p><p>Your mailbox is now ${PERCENT}% full, please clean up some mails for<br />further incoming mails.</p></blockquote></div><p>Let me know whether it works for you or not. If it doesn&#039;t work, you can also add similar command in dovecot-quota-warning.sh to send an email to admin.</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (PineMail11)]]></author>
			<pubDate>Mon, 13 Aug 2012 06:53:16 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17578.html#p17578</guid>
		</item>
		<item>
			<title><![CDATA[Re: Email alert to admin When users mailbox quota exceeds the limit.]]></title>
			<link>http://www.iredmail.org/forum/post17328.html#p17328</link>
			<description><![CDATA[<p>iRedMail enables Dovecot plugin and service &quot;quota_warning&quot; by default, you can find settings in dovecot.conf like below:<br /></p><div class="codebox"><pre><code>plugins {
    ...
    # Quota warning.                                                               
    # If user suddenly receives a huge mail and the quota jumps from               
    # 85% to 95%, only the 95% script is executed.                                 
    quota_warning = storage=85%% quota-warning 85 %u                                                                          
    quota_warning2 = storage=90%% quota-warning 90 %u                              
    quota_warning3 = storage=95%% quota-warning 95 %u     
    ...
}

service quota-warning {
    executable = script /usr/local/bin/dovecot-quota-warning.sh
    ...
}</code></pre></div><p>Please edit /usr/local/bin/dovecot-quota-warning.sh, insert a BCC header above &quot;Subject:&quot; line like below:<br /></p><div class="quotebox"><blockquote><p>From: no-reply@demo.iredmail.org<br /><span style="color: red">BCC: postmaster@your_domain.com</span><br />Subject: Mailbox Quota Warning: ${PERCENT}% Full.</p><p>Your mailbox is now ${PERCENT}% full, please clean up some mails for<br />further incoming mails.</p></blockquote></div><p>Let me know whether it works for you or not. If it doesn&#039;t work, you can also add similar command in dovecot-quota-warning.sh to send an email to admin.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 31 Jul 2012 05:15:28 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17328.html#p17328</guid>
		</item>
		<item>
			<title><![CDATA[Email alert to admin When users mailbox quota exceeds the limit.]]></title>
			<link>http://www.iredmail.org/forum/post17324.html#p17324</link>
			<description><![CDATA[<p>==== Provide required information ====<br />- iRedMail version and backend (LDAP/MySQL/PGSQL):<br />- Linux/BSD distribution name and version:<br />- Any related log? Log is helpful for troubleshooting.<br />==== </p><p>Hi Zhang,<br />How to get Email alert to admin and users when users mailbox quota exceeds the limit for dovecot ldap backend.</p><p>please advise.</p><p>Regards,<br />PineMail11</p>]]></description>
			<author><![CDATA[null@example.com (PineMail11)]]></author>
			<pubDate>Tue, 31 Jul 2012 04:18:52 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17324.html#p17324</guid>
		</item>
	</channel>
</rss>
