Re: [qmailtoaster] Quota warning even though account is set to noquota

2023-04-07 Thread Eric Broch

Maybe this will help:

https://doc.dovecot.org/configuration_manual/quota/quota_maildir/

Maildirsize File
The maildirsize file in the Maildir root directory contains both the 
quota limit information and the current quota status. It contains a 
header in format:


S,C
If you don’t configure any quota limits in Dovecot (quota=maildir with 
no other settings), Dovecot takes the limits from the header. If the 
file does not exist, quota isn’t enforced.


If you configure quota limits in Dovecot, Dovecot makes sure that this 
header is kept up to date. If the file does not exist, it’s simply rebuilt.


Once the maildirsize reaches 5120 bytes, the quota is recalculated and 
the file is recreated. This makes sure that if quota happens to be 
broken (e.g. externally deleted files) it won’t stay that way forever.




On 4/7/2023 2:17 PM, Eric Broch wrote:

I've done this on QMT on RHEL 7/8/9 derivatives.

On 4/7/2023 2:10 PM, Eric Broch wrote:
When I set NOQUOTA for a user it removes Maildir/maildirsize for that 
user.


On 4/7/2023 10:49 AM, Kevin Katz wrote:

/home/vpopmail/bin/vmoduser -q NOQUOTA


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Quota warning even though account is set to noquota

2023-04-07 Thread Eric Broch

I've done this on QMT on RHEL 7/8/9 derivatives.

On 4/7/2023 2:10 PM, Eric Broch wrote:
When I set NOQUOTA for a user it removes Maildir/maildirsize for that 
user.


On 4/7/2023 10:49 AM, Kevin Katz wrote:

/home/vpopmail/bin/vmoduser -q NOQUOTA


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Quota warning even though account is set to noquota

2023-04-07 Thread Eric Broch

When I set NOQUOTA for a user it removes Maildir/maildirsize for that user.

On 4/7/2023 10:49 AM, Kevin Katz wrote:

/home/vpopmail/bin/vmoduser -q NOQUOTA


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Quota warning even though account is set to noquota

2023-04-07 Thread Kevin Katz
I also tried to run /home/vpopmail/bin/vmoduser -q NOQUOTA 
u...@domain.com.  The command completed successfully, but still no joy.  
I did notice that this made some sort of change to the users maildirsize 
file, but unsure what it changed. I also noticed that this user's 
maildirsize file has a different layout than the other user's file ( see 
below ).  Can this file be delete?  Will vpop rebuild this file if I do so?


Problem User's maildirsize file contents

41943040S,4000C
1325561288 4848

Working User's maildirsize file contents

0S
6896410036 15625
8219 1
3550 1
67080 1
41559 1
24218 1
24218 1
-24218 -1
.



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com