Emails dont count to quota problem

sirwiz

Verified User
Joined
Mar 5, 2008
Messages
41
I saw strange problem today, as show on picture below. Emails are counted but DA dont count emails to total quota of user account. Any ideas why ?

email.jpg
 
Everything should be counted against the user. It might be a miss-calculation. Does the user really have that much email?

I would just run the du command in their home directory:

Code:
du -h --max-depth=1 /home/username

You could do this too:

http://help.directadmin.com/item.php?id=222
 
Yes this user have so much emails. But problem dont effect only one account but all. Other accounts have 1.55 GB emails, 156 MB total, 256 MB emails, 14 MB total, etc. etc. etc..
 
Did you follow the suggested link? With the guide you can see debug output on how directadmin counts disk space usage. So if you want further assistance you should either give us more information including debug output, or let somebody to check the things on your server (for free or as a commerce service). Here what you are asked to do:

Code:
cd /usr/local/directadmin
 echo "action=tally&value=username&type=user" >> data/task.queue
 ./dataskq d800

Where username is the name of the user in question.
This will run the tally for that account and dump out all the bits that are added together to come to the final value (system quota, email, database, etc.).

http://help.directadmin.com/item.php?id=222
 
Yes i do it before posting here.
/home/xxx/Maildir is 3162112 : realtotal: 3162112
/home/xxx/imap is 12574314496 : realtotal: 12577476608
/home/xxx/.spamassassin/spam is 0 : total: 0 realtotal: 12577476608
/home/xxx/.spamassassin/user_spam is 0 : total: 0 realtotal: 12577476608
/var/spool/virtual/xxxxx is 0 : total: 0 realtotal: 12577476608
Majordomo usage for /etc/virtual/xxxxx/majordomo : 0
databases for xxx
DAdminUsage.bytes for xxx
Counting found totals for xxx
total bw is 2522023200.000000 from 2522023200 (long long: 2522023200)
bw in meg: 2405.188751
meg converted to a string: 2405.2
spaceused: 142540800.000000 (just quota)
spaceused: 153981900.000000 (add dbtotal 11441100)
spaceused: 153981900.000000 (add emltotal 0) (fyi: realemltotal: 12577476608)
spaceused: 153981900.000000 (add apachetotal 0)
spaceused: 153981900.000000 (add anonftptotal 0)
spaceused, in meg: 146.848583
meg to temp: 146.8
user.usage quota: 146.8 actual: 146.848583 (should match)
user.uagae email_quota: 12577476608 actual: 12577476608 (should match)
Tally User xxx Complete
done queue

And still it count OK all catalogs but dont count properly user quota.
 
Last edited:
Back
Top