Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th June 2008, 03:46
Jorem Jorem is offline
Senior Member
 
Join Date: Oct 2005
Posts: 139
Thanks: 5
Thanked 4 Times in 4 Posts
Default empty maildir /tmp after quota problem clamav

I had the clamav quota problem with the mailusers. I solved this with the switch to clamd. But the mail users are still near to there max on quota.

When I delete an account and make a new one everything works fine and quota stays normal. Is there a way how to clean the Maildir of a user without having to delete and create the account again.

The clamav problem had something to do with the tmp files. Can they be cleaned with a command for example? I tried a reboot but that did not work for the users.
Reply With Quote
Sponsored Links
  #2  
Old 18th June 2008, 09:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

I dont think that the files are in the maildir. When you recreate the user, he gets a new userid, thats why the quota is normal then. But the original files are most likely still on your harddisk. Do you have any directories starting wih "clamav" in /tmp ? If yes, delete them.

Do you have mbox files with a size > 0 in /var/spool/mail/ ?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 18th June 2008, 11:53
Jorem Jorem is offline
Senior Member
 
Join Date: Oct 2005
Posts: 139
Thanks: 5
Thanked 4 Times in 4 Posts
Default

Do you have any directories starting wih "clamav" in /tmp ? If yes, delete them?
Yes, I deleted them but this did not help.

Do you have mbox files with a size > 0 in /var/spool/mail/ ?

No

I only have this problem with the account that had antivirus on. Now I have turned it off, but the quota keeps telling me that there account is full.
When I check the Maildir of the user ( /home/www/web13/user/hugo ) I see that there are no mails in new, cur and the other folders.
But when I do a quota check in Webmin it sais that the user used 16MB of space.
Reply With Quote
  #4  
Old 19th June 2008, 16:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's the output of
Code:
repquota -avug
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 19th June 2008, 16:57
Jorem Jorem is offline
Senior Member
 
Join Date: Oct 2005
Posts: 139
Thanks: 5
Thanked 4 Times in 4 Posts
Default

This is a part of the quota check:

web84 -- 1840 51200 52224 175 0 0
web89 -- 141528 307200 308224 1649 0 0
web39 -- 12376 51200 52224 423 0 0
web83 -- 1672 5120 6144 174 0 0
web3 -- 203836 1024000 1025024 16173 0 0
web140 -- 20708 102400 103424 338 0 0
web22 -- 586348 1024000 1025024 6230 0 0
web104 -- 10908 102400 103424 158 0 0
web66 -- 156216 256000 257024 12273 0 0
web17 -- 338976 2560000 2561024 11553 0 0
web82 -- 12600 102400 103424 591 0 0

I updated all the users already and set the quota 10MB higher. web66 for example has 15MB, but when I go to the user folders I don't see any files there.
Reply With Quote
  #6  
Old 20th June 2008, 13:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

web66 is a group which means that all users that belong to that group have used 15MB of space.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
About installing ddclient satimis Server Operation 32 21st December 2006 03:51
ISPConfig-2.2.2 installation problem (empty mysql db after installation) sfrank Installation/Configuration 4 25th May 2006 14:56
Mail quota Problem krishol Installation/Configuration 11 6th April 2006 10:12
Problem with Quota spang HOWTO-Related Questions 11 25th February 2006 22:45
webmail klient quota problem? jernis Installation/Configuration 9 30th November 2005 22:14


All times are GMT +2. The time now is 02:54.


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