maildirsize file problem

Salman Riaz <[email protected]> Sat, 26 Feb 2011 12:16:49 +0500
Newsgroups gmane.mail.vqadmin
Message-ID <[email protected]>
--_bd5d82df-a80a-47db-82e4-df7c8c0001cc_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit


Hi,

I have set the quota of each email address on qmail server. But the maildirsize file is not updating properly.  For Example:

I have set the 6MB quota by vsetuserquota command of an email address then following is the result of maildirsize file:
6291456S
0 0

When I sent only one email, this file update twice and gives the following result:
6291456S
2157743 1
2157815 1

Only
 one email is in the directory but maildirsize shows that there are 2 
emails with above bytes. When I delete this email then only one entry is
 removed:
6291456S
2157743 1
2157815 1
    -2157815           -1

There is no email in my directory but maildirsize shows that 2157743 bytes quota is still full:

Tell me why maildirsize is writing wrong entry. How can I get rid of this problem?

Regards,
Salman... 		 	   		  

!DSPAM:4d68a8e732718343622055!

--_bd5d82df-a80a-47db-82e4-df7c8c0001cc_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>I have set the quota of each email address on qmail server. But the maildirsize file is not updating properly.&nbsp; For Example:<br><br>I have set the 6MB quota by vsetuserquota command of an email address then following is the result of maildirsize file:<br>6291456S<br>0 0<br><br>When I sent only one email, this file update twice and gives the following result:<br>6291456S<br>2157743 1<br>2157815 1<br><br>Only
 one email is in the directory but maildirsize shows that there are 2 
emails with above bytes. When I delete this email then only one entry is
 removed:<br>6291456S<br>2157743 1<br>2157815 1<br>&nbsp;&nbsp;&nbsp; -2157815&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1<br><br>There is no email in my directory but maildirsize shows that 2157743 bytes quota is still full:<br><br>Tell me why maildirsize is writing wrong entry. How can I get rid of this problem?<br><br>Regards,<br>Salman... 		 	   		  
!DSPAM:4d68a8e732718343622055!

</body>
</html>


--_bd5d82df-a80a-47db-82e4-df7c8c0001cc_--