<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Incorrect domain quota and usage information]]></title>
		<link>https://forum.iredmail.org/topic20256-incorrect-domain-quota-and-usage-information.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic20256.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Incorrect domain quota and usage information.]]></description>
		<lastBuildDate>Thu, 22 Feb 2024 11:55:52 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Incorrect domain quota and usage information]]></title>
			<link>https://forum.iredmail.org/post88261.html#p88261</link>
			<description><![CDATA[<p>Thank you for your help! All seems to be working now!</p><div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>The problem was caused due to migration(?), when i login to “vmail” database as “vmailadmin” user, and tried to insert a new record, it reported error:<br /></p><div class="codebox"><pre><code>MariaDB [vmail]&gt; insert into used_quota (username,bytes,messages,domain) values (&quot;test&quot;, 1,1,&quot;a.io&quot;);
ERROR 1449 (HY000): The user specified as a definer (&#039;root&#039;@&#039;%&#039;) does not exist</code></pre></div><p>This table was created by sql user “root”@“%”, instead of default “root”@“localhost” (or “127.0.0.1”).<br />I dropped the table and re-created it, then the issue is gone.</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (grupow)]]></author>
			<pubDate>Thu, 22 Feb 2024 11:55:52 +0000</pubDate>
			<guid>https://forum.iredmail.org/post88261.html#p88261</guid>
		</item>
		<item>
			<title><![CDATA[Re: Incorrect domain quota and usage information]]></title>
			<link>https://forum.iredmail.org/post88259.html#p88259</link>
			<description><![CDATA[<p>The problem was caused due to migration(?), when i login to “vmail” database as “vmailadmin” user, and tried to insert a new record, it reported error:<br /></p><div class="codebox"><pre><code>MariaDB [vmail]&gt; insert into used_quota (username,bytes,messages,domain) values (&quot;test&quot;, 1,1,&quot;a.io&quot;);
ERROR 1449 (HY000): The user specified as a definer (&#039;root&#039;@&#039;%&#039;) does not exist</code></pre></div><p>This table was created by sql user “root”@“%”, instead of default “root”@“localhost” (or “127.0.0.1”).<br />I dropped the table and re-created it, then the issue is gone.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 22 Feb 2024 08:23:28 +0000</pubDate>
			<guid>https://forum.iredmail.org/post88259.html#p88259</guid>
		</item>
		<item>
			<title><![CDATA[Re: Incorrect domain quota and usage information]]></title>
			<link>https://forum.iredmail.org/post88161.html#p88161</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>grupow wrote:</cite><blockquote><p>Is this correct?</p></blockquote></div><p>Correct.<br />You can move cursor on the numbers, it will popup a tooltip with some more text.</p></blockquote></div><p>Upon further investigation, I discovered that the quota is not working as expected on a user level. </p><p>Domains that show 0 usage actually have several users storing emails on the server and it&#039;s just not showing the actual disk usage in iRedadmin. </p><p>Domains that are showing some usage are basically from suspended users that haven&#039;t been deleted from the server. However, several other users from the same domain occupy space on the server, being reported as zero.</p><p>Attached is a screenshot of an example of a suspended user showing usage, but all other users are at zero, although they are using space on the server.</p><p>I have also checked the quota and usage of another email via the doveadm command on the command line and can see the number of emails, usage, and limit, as expected. Please find the screenshot attached.</p><p>However, when I search for that information on Mysql, the used_quota is empty. See screenshot.</p><p>It looks like email cannot record the information in the database.</p><p>All usernames and passwords are working correctly. The screenshots of the database check were done using the username and passwords configured in /etc/dovecot/dovecot-used-quota.conf</p><p>Have you experienced something similar? Any ideas?</p>]]></description>
			<author><![CDATA[null@example.com (grupow)]]></author>
			<pubDate>Mon, 22 Jan 2024 18:44:04 +0000</pubDate>
			<guid>https://forum.iredmail.org/post88161.html#p88161</guid>
		</item>
		<item>
			<title><![CDATA[Re: Incorrect domain quota and usage information]]></title>
			<link>https://forum.iredmail.org/post88151.html#p88151</link>
			<description><![CDATA[<div class="quotebox"><cite>grupow wrote:</cite><blockquote><p>Is this correct?</p></blockquote></div><p>Correct.<br />You can move cursor on the numbers, it will popup a tooltip with some more text.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 22 Jan 2024 02:26:02 +0000</pubDate>
			<guid>https://forum.iredmail.org/post88151.html#p88151</guid>
		</item>
		<item>
			<title><![CDATA[Re: Incorrect domain quota and usage information]]></title>
			<link>https://forum.iredmail.org/post88096.html#p88096</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>In your screenshot, first row displays 2 progress bars, first one is percentage of actual used quota, second one is percentage of allocated quota.<br />Second and third rows display only percentage of allocated quota because there&#039;s no actual usage at all (0).</p></blockquote></div><p>Thanks for getting back to me!<br />I can see the mistake now. It looks like we misunderstood the definitions of the elements of the Quota.</p><p>So when I see the following:<br />73% (0 / 7.32 GB) / 10 GB</p><p>73% means allocated quota to users (not actual used space)<br />The 0 means actually disk usage<br />7.32 GB is the total allocated space to users<br />10 GB is the total allocate quota for the domain</p><p>Is this correct?</p>]]></description>
			<author><![CDATA[null@example.com (grupow)]]></author>
			<pubDate>Mon, 15 Jan 2024 11:28:32 +0000</pubDate>
			<guid>https://forum.iredmail.org/post88096.html#p88096</guid>
		</item>
		<item>
			<title><![CDATA[Re: Incorrect domain quota and usage information]]></title>
			<link>https://forum.iredmail.org/post88066.html#p88066</link>
			<description><![CDATA[<p>In your screenshot, first row displays 2 progress bars, first one is percentage of actual used quota, second one is percentage of allocated quota.<br />Second and third rows display only percentage of allocated quota because there&#039;s no actual usage at all (0).</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 14 Jan 2024 14:24:06 +0000</pubDate>
			<guid>https://forum.iredmail.org/post88066.html#p88066</guid>
		</item>
		<item>
			<title><![CDATA[Re: Incorrect domain quota and usage information]]></title>
			<link>https://forum.iredmail.org/post88065.html#p88065</link>
			<description><![CDATA[<p>Excuse me, what do you mean &quot;the percentage of usage but not the actual usage&quot;?<br />Could you please describe it with more details? Or even better, attach a screenshot with some text to explain the issue.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 14 Jan 2024 14:22:45 +0000</pubDate>
			<guid>https://forum.iredmail.org/post88065.html#p88065</guid>
		</item>
		<item>
			<title><![CDATA[Re: Incorrect domain quota and usage information]]></title>
			<link>https://forum.iredmail.org/post88051.html#p88051</link>
			<description><![CDATA[<p>Any comments?</p>]]></description>
			<author><![CDATA[null@example.com (grupow)]]></author>
			<pubDate>Thu, 11 Jan 2024 11:58:54 +0000</pubDate>
			<guid>https://forum.iredmail.org/post88051.html#p88051</guid>
		</item>
		<item>
			<title><![CDATA[Incorrect domain quota and usage information]]></title>
			<link>https://forum.iredmail.org/post88039.html#p88039</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.6.7 MARIADB edition.<br />- Deployed with iRedMail Easy or the downloadable installer? downloadable installer<br />- Linux/BSD distribution name and version: Ubuntu 20.04.6 LTS<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL):&nbsp; MySQL<br />- Web server (Apache or Nginx): Nginx<br />- Manage mail accounts with iRedAdmin-Pro? Yes<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>We are facing a strange issue with domain and user quotas.</p><p>In some domains, we can see the quota and current usage, but some other domains show the quota, the percentage of usage but not the actual usage. Please see the attached screenshot for an example.</p><p>I have already run the Force Dovecot to recalculate mailbox quota command as described here:<br /><a href="https://docs.iredmail.org/recalculate.mailbox.quota.html">https://docs.iredmail.org/recalculate.m … quota.html</a></p><p>But the issue persists.</p><p>Any thoughts on how to fix this?</p>]]></description>
			<author><![CDATA[null@example.com (grupow)]]></author>
			<pubDate>Tue, 09 Jan 2024 12:20:22 +0000</pubDate>
			<guid>https://forum.iredmail.org/post88039.html#p88039</guid>
		</item>
	</channel>
</rss>
