[SOLVED] Disk Quota Issue

15 posts / 0 new
Last post
#1 Tue, 02/23/2010 - 12:12

[SOLVED] Disk Quota Issue

Hi, I have a small problem, I have two user accounts which show that the quota of 50MB has been reached even though the inbox is pretty much empty. and they can not receive any emails. They use outlook 2007 to retrieve their emails from the server. Any ideas as to what is going on?

Log entry of the account, when someone sends email to

Feb 23 09:49:21 domain postfix/local[3110]: 0BA957E186: to=name.domain@domain.ca, orig_to=name@domain.ca, relay=local, delay=14, delays=10/0.01/0/3.8, dsn=5.2.0, status=bounced (can't create user output file)

any help will be appreciated

Tue, 02/23/2010 - 12:16

You may want to look in other email folders they own, such as the spam folder.

Also, there may be other files on the filesystem owned by them. For example, sometimes programs can create temp files in /tmp owned as the user... you may want to take a peek in there, and delete any files you don't need.


Tue, 02/23/2010 - 12:36 (Reply to #2)

i checked the total size of the folder for the users its 54.9kb, and the quota is set to 50MB. and their temp folders are empty

More Logs

Feb 23 11:58:04 Domain dovecot: imap-login: Login: user=<name.domain>, method=PLAIN, rip=, lip=, secured
Feb 23 11:58:04 Domain dovecot: IMAP(name.domain): mkdir(/home/domain/homes/name/Maildir/.sent/cur) failed: Disk quota exceeded
Feb 23 11:58:04 domain dovecot: IMAP(name.domain): mkdir(/home/domain/homes/name/Maildir/.drafts/cur) failed: Disk quota exceeded
Tue, 02/23/2010 - 12:43

It definitely sounds like there's some files somewhere on the file system owned as those users, the key is to figure out where those are :-)

Try running this command:

find / -user USERNAME

Where "USERNAME" is the actual username of the user who's quota is full -- that should help you track down what's chewing up the space.


Tue, 02/23/2010 - 12:50 (Reply to #4)

did that in terminal and

administrator@domain:~$ find/ -user aileenp
bash: find/: No such file or directory
Tue, 02/23/2010 - 12:52

There should be a space between "find" and "/" :-)


Tue, 02/23/2010 - 12:56 (Reply to #6)
administrator@domain:~$ find / -user aileenp
find: invalid argument `aileenp' to `-user'
Tue, 02/23/2010 - 12:58 (Reply to #7)

maybe i'm doing it wrong. i cant find the dir i know are there, i get the same message in terminal. I'm using ubuntu 8.04 if that helps at all

Tue, 02/23/2010 - 13:02

You'd get that particular error if the user you're passing in doesn't exist.

Are you sure that the user is "aileenp", and not "aileenp.domain"?


Tue, 02/23/2010 - 13:14 (Reply to #9)

you are right, it is aileep.domain, but this does not tell me which one is taking up space

find: /proc/9429/task/9429/fd/4: No such file or directory
find: /proc/9429/task/9429/fdinfo/4: No such file or directory
find: /proc/9429/fd/4: No such file or directory
find: /proc/9429/fdinfo/4: No such file or directory
find: /home/administrator/.gvfs: Permission denied
Tue, 02/23/2010 - 13:16

So now the key is to review the files it found, and figure out what's using up the space.

I'd probably start by taking a look at those /tmp/clamav* directories.


Tue, 02/23/2010 - 13:20 (Reply to #11)

ok so the clamav folder is about 50MB, is that folder associated with the account? should i delete it? how did it get so big, i have accounts with million times more activity than this account and they never get filled like this.

Tue, 02/23/2010 - 13:28

Howcome other users do not have the clamav folders? even though the option to scan for viruses and spam is enabled on all accounts.

Tue, 02/23/2010 - 13:50

Yeah, I'd recommend just deleting those folders.

One way to prevent them from being created is to use the ClamAV daemon rather than the standalone program... you can set that in Email Messages -> Spam and Virus Scanning -> Virus scanning program.

I'd recommend setting it to "Server Scanner" if you aren't seriously constrained on RAM.


Tue, 02/23/2010 - 14:11

problem solved. thank you sir once again...

Topic locked