Re: [vchkpw] maildirsize problem

2011-03-02 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/02/2011 01:21 AM, Salman Riaz wrote:
 Dear Matt,
 
 I have configure the POP as following in my qmail

Have you patched qmail to support Maildir++?
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1uSVkACgkQIwet2/rgZywg6ACfYzfLNw7DzJgC3xGw+WVj3ynk
GlIAn2mDRjBXhgr4qkSU0X0rStB8mcWq
=zNAl
-END PGP SIGNATURE-


Re: [vchkpw] maildirsize problem

2011-03-01 Thread Alessio Cecchi

Il 01/03/2011 10:07, Salman Riaz ha scritto:

Dear Matt,

I have tested the new vpopmail-5.4.33. When I use pop protocol to
download the emails then it does not update the maildirsize file. When I
have check the email via IMAP it shows no email but still quota is
showing some usage Can you please advice me regarding this?

Regards,
Salman...


Hi Salman,

for pop3 or imap what daemon are you running? I'm using vpopmail 5.4.33 
and dovecot without problem.


Try to reset the file maildirsize : 
/home/vpopmail/domains/dom.com/user/maildirsize and after re set the 
quota with ~vpopmail/bin/vmoduser -q100M u...@dom.com


--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - Socio http://www.lolug.net

!DSPAM:4d6cba8632711357414660!



RE: [vchkpw] maildirsize problem

2011-03-01 Thread Salman Riaz

Dear Alessio,
Its now working fine. I am using courier imap with vpopmail-5.4.33. I have also 
checked the code of maildirquota.c. It majorly depends on the recalculating 
time of quota not on the size (5120 bytes or more) of emails. If we reduce this 
time it will results load in the server. It is set as 15 minutes for the 
optimum load on the server. 

When I have use IMAP then it updates the quota at the same time. When I use POP 
then it updates the quota after 15 minutes. Currently I am conducting more 
tests  to understand the working of this vpopmail. 

Regards,
Salman...




 Date: Tue, 1 Mar 2011 10:21:07 +0100
 From: ales...@skye.it
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] maildirsize problem
 
 Il 01/03/2011 10:07, Salman Riaz ha scritto:
  Dear Matt,
 
  I have tested the new vpopmail-5.4.33. When I use pop protocol to
  download the emails then it does not update the maildirsize file. When I
  have check the email via IMAP it shows no email but still quota is
  showing some usage Can you please advice me regarding this?
 
  Regards,
  Salman...
 
 Hi Salman,
 
 for pop3 or imap what daemon are you running? I'm using vpopmail 5.4.33 
 and dovecot without problem.
 
 Try to reset the file maildirsize : 
 /home/vpopmail/domains/dom.com/user/maildirsize and after re set the 
 quota with ~vpopmail/bin/vmoduser -q100M u...@dom.com
 
 -- 
 Alessio Cecchi is:
 @ ILS - http://www.linux.it/~alessice/
 on LinkedIn - http://www.linkedin.com/in/alessice
 Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
 @ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
 @ LOLUG - Socio http://www.lolug.net
 
 
 
  

!DSPAM:4d6ccb8a32711767568997!


Re: [vchkpw] maildirsize problem

2011-03-01 Thread Alessio Cecchi

Il 01/03/2011 11:33, Salman Riaz ha scritto:

Dear Alessio,
Its now working fine. I am using courier imap with vpopmail-5.4.33. I
have also checked the code of maildirquota.c. It majorly depends on the
recalculating time of quota not on the size (5120 bytes or more) of
emails. If we reduce this time it will results load in the server. It is
set as 15 minutes for the optimum load on the server.

When I have use IMAP then it updates the quota at the same time. When I
use POP then it updates the quota after 15 minutes. Currently I am
conducting more tests to understand the working of this vpopmail.

Regards,
Salman...


Hi Salman,

please if you find some helpful information share with us :-)

Thanks
--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - Socio http://www.lolug.net

!DSPAM:4d6cefa932711602510419!



Re: [vchkpw] maildirsize problem

2011-03-01 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/01/2011 03:07 AM, Salman Riaz wrote:
 Dear Matt,
 
 I have tested the new vpopmail-5.4.33. When I use pop protocol to
 download the emails then it does not update the maildirsize file. When

That's the fault of your POP server.  Whatever POP server you're using
needs to support Maildir++.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1s82sACgkQIwet2/rgZyySjQCfcmtKuWCoX+nv6SDar8aQsZqu
F3QAnA1X/KKzNg4hOYvGmNcoUFcyipWc
=cIo4
-END PGP SIGNATURE-


Re: [vchkpw] maildirsize problem

2011-03-01 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/01/2011 04:33 AM, Salman Riaz wrote:
 Dear Alessio,
 Its now working fine. I am using courier imap with vpopmail-5.4.33. I
 have also checked the code of maildirquota.c. It majorly depends on
 the recalculating time of quota not on the size (5120 bytes or more)
 of emails. If we reduce this time it will results load in the server.
 It is set as 15 minutes for the optimum load on the server.
 
 When I have use IMAP then it updates the quota at the same time. When
 I use POP then it updates the quota after 15 minutes. Currently I am
 conducting more tests  to understand the working of this vpopmail.

The reason it updates after 15 minutes is because any process that
looks at the maildirsize file must update it completely if it was
created 15 minutes ago or more.

It sounds like your POP server doesn't support Maildir++.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1s878ACgkQIwet2/rgZyxpHgCcD7AJYR0GoF0X3dXt+Tg5Ko+R
/FAAoIMzgjtpCQq/szBRbOVqv4mKY+2C
=ryOX
-END PGP SIGNATURE-


Re: [vchkpw] maildirsize problem

2011-02-28 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/26/2011 01:15 AM, Salman Riaz wrote:
 There is no email in my directory but maildirsize shows that 2157743
 bytes quota is still full:

vpopmail doesn't delete messages, and so, the process that is
responsible for this, is likely the responsible party here.

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

What vpopmail version are you using?
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1rqjkACgkQIwet2/rgZyxMcACfQ6JVUYWiO5rA9OVrLhjTC4/C
oZYAnia33mHDqEzd0v30pcyPSCgPDVmM
=5KV5
-END PGP SIGNATURE-


Re: [vchkpw] maildirsize problem

2011-02-28 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/27/2011 10:48 PM, ke...@kens.fm wrote:
 I revise it in this way and use it.

I am looking over this.  Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1rtAQACgkQIwet2/rgZyzGwgCeIpx2chLLw2oQICpxkCB+iBSg
WKUAn1lrrRhuiFrtUHcokhW9dgmm2Wj0
=kjU4
-END PGP SIGNATURE-


Re: [vchkpw] maildirsize problem

2011-02-28 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/2011 08:41 AM, Matt Brookings wrote:
 On 02/27/2011 10:48 PM, ke...@kens.fm wrote:
 I revise it in this way and use it.
 
 I am looking over this.  Thanks!

It's amazing this went undetected as long as it did.  I've added this
patch is Subversion, and I'll be updating the 5.4.33 tarball on
SourceForge shortly.

Thanks again!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1rtXIACgkQIwet2/rgZyy+lACdGXvIZ9rhfzNo5d38blADpn1n
sGcAmwUOriOpM9Xe5sLrM2cPgJ6D/RHE
=itIN
-END PGP SIGNATURE-


RE: [vchkpw] maildirsize problem

2011-02-28 Thread Salman Riaz

Dear Kenji,

I have also the same configurationbut i think the problem is not in the 
maildirquota.c. It lies in anyother file..

Regards,
Salman



 Date: Mon, 28 Feb 2011 13:48:29 +0900
 From: ke...@kens.fm
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] maildirsize problem
 
 I revise it in this way and use it.
 
 
 
 --- maildirquota.c.orig 2010-12-07 13:37:06.0 +0900
 +++ maildirquota.c  2010-12-07 13:37:54.0 +0900
 @@ -293,7 +293,7 @@
  if (quotafd = 0)   close(quotafd);
  ret_value = 1;
  } else {
 -maildir_addquota(dir, quotafd, q, stat_buf.st_size, 
 1);
 +//   maildir_addquota(dir, quotafd, q, 
 stat_buf.st_size, 1);
  if (quotafd = 0)   close(quotafd);
  ret_value = 0;
  }
 
 
 
 Do you serve as a reference?
 
 
 
 -- 
 Kenji ke...@kens.fm
 
 
 
 
  

!DSPAM:4d6be5ab32712325434248!


RE: [vchkpw] maildirsize problem

2011-02-28 Thread Salman Riaz

Dear Matt,
I am using vpopmail 5.4.32...

Regards,
Salman...


 Date: Mon, 28 Feb 2011 07:59:21 -0600
 From: m...@inter7.com
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] maildirsize problem
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 02/26/2011 01:15 AM, Salman Riaz wrote:
  There is no email in my directory but maildirsize shows that 2157743
  bytes quota is still full:
 
 vpopmail doesn't delete messages, and so, the process that is
 responsible for this, is likely the responsible party here.
 
  Tell me why maildirsize is writing wrong entry. How can I get rid of
  this problem?
 
 What vpopmail version are you using?
 - -- 
 /*
 Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
 Software developer Systems technician
 Inter7 Internet Technologies, Inc. (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAk1rqjkACgkQIwet2/rgZyxMcACfQ6JVUYWiO5rA9OVrLhjTC4/C
 oZYAnia33mHDqEzd0v30pcyPSCgPDVmM
 =5KV5
 -END PGP SIGNATURE-
  

!DSPAM:4d6be5e132715219618295!


Re: [vchkpw] maildirsize problem

2011-02-28 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/2011 12:13 PM, Salman Riaz wrote:
 Dear Matt,
 I am using vpopmail 5.4.32...

Please try the latest 5.4.33.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1r5e8ACgkQIwet2/rgZyxA+QCdHXUhYZtMkB8ycv94VbFDR/Ce
JX0AnjlzE8dDKV3T796BbamvfgtKoSf2
=tKSW
-END PGP SIGNATURE-


RE: [vchkpw] maildirsize problem

2011-02-28 Thread Salman Riaz

Dear Matt,
I am using vpopmail 5.4.32. The problem is also same in 5.4.25 I have 
check it on both versions of vpopmail.

Regards,
Salman...




 Date: Mon, 28 Feb 2011 07:59:21 -0600
 From: m...@inter7.com
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] maildirsize problem
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 02/26/2011 01:15 AM, Salman Riaz wrote:
  There is no email in my directory but maildirsize shows that 2157743
  bytes quota is still full:
 
 vpopmail doesn't delete messages, and so, the process that is
 responsible for this, is likely the responsible party here.
 
  Tell me why maildirsize is writing wrong entry. How can I get rid of
  this problem?
 
 What vpopmail version are you using?
 - -- 
 /*
 Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
 Software developer Systems technician
 Inter7 Internet Technologies, Inc. (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAk1rqjkACgkQIwet2/rgZyxMcACfQ6JVUYWiO5rA9OVrLhjTC4/C
 oZYAnia33mHDqEzd0v30pcyPSCgPDVmM
 =5KV5
 -END PGP SIGNATURE-
  

!DSPAM:4d6be6b632711569410968!


RE: [vchkpw] maildirsize problem

2011-02-28 Thread Salman Riaz

Dear Matt,

I have used vpopmail 5.4.25 and also 5.4.32 I think that maildirsize lies 
with courier-imap not with vpopmail Am I right?? I have not find any clue 
in the vpopmail to write maildirsize file when an email is received.

The file which write maildirsize is maildirquota.c and maildirquota.c is 
responsible for updating the record in this

Regards,
Salman...




 Date: Mon, 28 Feb 2011 12:14:07 -0600
 From: m...@inter7.com
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] maildirsize problem
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 02/28/2011 12:13 PM, Salman Riaz wrote:
  Dear Matt,
  I am using vpopmail 5.4.32...
 
 Please try the latest 5.4.33.
 - -- 
 /*
 Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
 Software developer Systems technician
 Inter7 Internet Technologies, Inc. (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAk1r5e8ACgkQIwet2/rgZyxA+QCdHXUhYZtMkB8ycv94VbFDR/Ce
 JX0AnjlzE8dDKV3T796BbamvfgtKoSf2
 =tKSW
 -END PGP SIGNATURE-
  

!DSPAM:4d6be85132718194817495!


Re: [vchkpw] maildirsize problem

2011-02-28 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/2011 12:24 PM, Salman Riaz wrote:
 Dear Matt,
 
 I have used vpopmail 5.4.25 and also 5.4.32 I think that
 maildirsize lies with courier-imap not with vpopmail Am I right??
 I have not find any clue in the vpopmail to write maildirsize file
 when an email is received.
 
 The file which write maildirsize is maildirquota.c and maildirquota.c
 is responsible for updating the record in this

You are reporting issues with older versions.  Please try the latest
version, and let us know if the issue continues.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1r6c0ACgkQIwet2/rgZyzkFQCfXBpNvhcih79s9/depPZ7qcsC
1bsAn3UJ1ZwiT5lDZYwr3wVRbBl4nHCP
=sBeI
-END PGP SIGNATURE-


RE: [vchkpw] maildirsize problem

2011-02-27 Thread Salman Riaz

Dear Romeo,
Trash is also empty  I think the problem lies in the reception of an email. 
As the email is received then it writes two entries in the maildirsize and 
sometimes it writes only one. Deletion process is working fine...

Regards,
Salman


 From: r...@italy1.com
 Date: Sat, 26 Feb 2011 07:41:48 -0700
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] maildirsize problem
 
 Did you msg end up in the trash? Must be empty otherwise it counts 
 
 Check that and see 
 
 Remo
 
 Inviato da iPhone
 
 Il giorno 26/feb/2011, alle ore 00:15, Salman Riaz 
 salmanriaz...@hotmail.com ha scritto:
 
  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:4d6a602e32711447712336!


Re: [vchkpw] maildirsize problem

2011-02-27 Thread ke...@kens.fm
I revise it in this way and use it.



--- maildirquota.c.orig 2010-12-07 13:37:06.0 +0900
+++ maildirquota.c  2010-12-07 13:37:54.0 +0900
@@ -293,7 +293,7 @@
 if (quotafd = 0)   close(quotafd);
 ret_value = 1;
 } else {
-maildir_addquota(dir, quotafd, q, stat_buf.st_size, 1);
+//   maildir_addquota(dir, quotafd, q, 
stat_buf.st_size, 1);
 if (quotafd = 0)   close(quotafd);
 ret_value = 0;
 }



Do you serve as a reference?



-- 
Kenji ke...@kens.fm


!DSPAM:4d6b292d32714862750127!



Re: [vchkpw] maildirsize problem

2011-02-26 Thread Remo Mattei
Did you msg end up in the trash? Must be empty otherwise it counts 

Check that and see 

Remo

Inviato da iPhone

Il giorno 26/feb/2011, alle ore 00:15, Salman Riaz salmanriaz...@hotmail.com 
ha scritto:

 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:4d69113332712851120595!



RE: [vchkpw] maildirsize problem

2002-09-05 Thread Tren Blackburn

Did you patch your pop3 server to handle Maildir++ style quotas?  If not
do that as that's the real solution to your problem.  Read the
README.quotas in the vpopmail distribution for the answer to your
question.

Regards,

Tren

 -Original Message-
 From: Jens Gassmann [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, September 05, 2002 3:58 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] maildirsize problem
 
 
 Hi,
 
 i have run qmail and vpopmail for a long time along without the 
 maildirsizepatch now the mailboxes says full and accept not 
 mails. How 
 can i simple update the maildirsize to the new current size? 
 Can i only 
 delete the maildirsize or what must i do?
 
 
 Greetz,
 
 Jens Gassmann