Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th March 2013, 17:35
abdi abdi is offline
Senior Member
 
Join Date: Sep 2012
Posts: 118
Thanks: 0
Thanked 10 Times in 6 Posts
Exclamation Mail Quota Inconsistencies

Till,

Today I noticed some mail quota inconsistencies. You will advice me if its a bug I create a bug report. Otherwise here it's

From ISPConfig Panel (Please see image attached)

While for the same records on the actual mail server the storage usage is as below:

zulu713:/var/vmail/domain.com# du -hs *
19M allan
239M barbara
101M bobwis
35M documentation.msa
2.6M john
4.3M joshua
61M kenneth.msa
36M livercot
821M malaba
17M martha.msa
349M maurice.msa
652M mnareeba
443M mombasa
6.6M mwanza
19M shamim
40M shipping.msa
19M smartson
818M tanzania

As you may have noticed, the actual storage on the server is way to different from what ISPConfig3 reports.

IE the last record is reported in ISPConfig as using 2.01 MB while on the server its actually consuming 818MB.

Is this a BUG?

Joseph
Attached Images
 
Reply With Quote
Sponsored Links
  #2  
Old 4th March 2013, 17:40
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

This can have many different resaons and is not nescessarily a bug.
- Do you use courier or dovecot as imap server?
- Is the server.sh cript running correctly once a minute on the mail server?
- Is this a multiserver setup? Ifyes, did yu choose to update permissions in master database while updating the slave?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 4th March 2013, 17:53
abdi abdi is offline
Senior Member
 
Join Date: Sep 2012
Posts: 118
Thanks: 0
Thanked 10 Times in 6 Posts
Default

Till:
-I use Dovcot as IMAP server
-Yes, server.sh is running just fine and actually all services like mailboxes are created just fine.
-Yes, this is a multiserver set-up. About the permissions am NOT sure I did, as I went with the default which I guess was NOT to update permissions. (Never the less i can do this now ..)
Reply With Quote
  #4  
Old 4th March 2013, 17:58
abdi abdi is offline
Senior Member
 
Join Date: Sep 2012
Posts: 118
Thanks: 0
Thanked 10 Times in 6 Posts
Default

I have re-updated the slave and choose Yes for "Reconfigure Permissions in master database?"

Changes have not yet taken effect though ...
Reply With Quote
  #5  
Old 4th March 2013, 19:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

Do you have a file /var/vmail/domain/user/.quotausage or /var/vmail/domain/user/Maildir/.quotausage in your mailboxes? If yes, then this file is used by ispconfig to get the quota usage, its a file written and updated by dovecot.

Quote:
-Yes, this is a multiserver set-up. About the permissions am NOT sure I did, as I went with the default which I guess was NOT to update permissions. (Never the less i can do this now ..)
It might be that the slave server (mail server) is not able to update the stats in the master server then. rerun the update on the mail server and choose to update permissions in master db.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 4th March 2013, 19:55
abdi abdi is offline
Senior Member
 
Join Date: Sep 2012
Posts: 118
Thanks: 0
Thanked 10 Times in 6 Posts
 
Default

Till, any ideas on how I can re-calculate ALL mail quota usage on a postfix + dovecote server?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix/courier/Centos 6 cant send email to external email servers maxtorzito Installation/Configuration 14 7th October 2011 11:56
ISPconfig 3.0.3.2 postfix not relaying outgoing attachments mychoice2009 Installation/Configuration 3 13th April 2011 18:42
ISPconfig 3 some users cannot send email to outside Rockblade Installation/Configuration 7 29th April 2010 02:40
421 Unexpected failure Lizard King Installation/Configuration 20 7th July 2009 21:43
procmail can't write Hellbound General 27 8th June 2009 22:51


All times are GMT +2. The time now is 07:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.