zer0
February 23, 2010, 6:12pm
1
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
Eric
February 23, 2010, 6:16pm
2
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.
-Eric
zer0
February 23, 2010, 6:36pm
3
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=127.0.0.1, lip=127.0.0.1, 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
Eric
February 23, 2010, 6:43pm
4
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.
-Eric
Eric
February 23, 2010, 6:52pm
6
There should be a space between “find” and “/”
-Eric
zer0
February 23, 2010, 6:56pm
7
administrator@domain:~$ find / -user aileenp
find: invalid argument `aileenp' to `-user'
zer0
February 23, 2010, 6:58pm
8
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
Eric
February 23, 2010, 7:02pm
9
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”?
-Eric
zer0
February 23, 2010, 7:14pm
10
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
/home/domain/homes/aileenp
/home/domain/homes/aileenp/.usermin
/home/domain/homes/aileenp/.usermin/mailbox
/home/domain/homes/aileenp/.usermin/mailbox/dsnreplies.dir
/home/domain/homes/aileenp/.usermin/mailbox/dsnreplies.pag
/home/domain/homes/aileenp/.usermin/mailbox/inbox.imap
/home/domain/homes/aileenp/.usermin/mailbox/attach.pag
/home/domain/homes/aileenp/.usermin/mailbox/delreplies.pag
/home/domain/homes/aileenp/Maildir
/home/domain/homes/aileenp/Maildir/new
/home/domain/homes/aileenp/Maildir/.spam
/home/domain/homes/aileenp/Maildir/.spam/new
/home/domain/homes/aileenp/Maildir/.spam/tmp
/home/domain/homes/aileenp/Maildir/.spam/cur
/home/domain/homes/aileenp/Maildir/dovecot.index.log
/home/domain/homes/aileenp/Maildir/dovecot.index
/home/domain/homes/aileenp/Maildir/dovecot-uidlist
/home/domain/homes/aileenp/Maildir/dovecot.index.cache
/home/domain/homes/aileenp/Maildir/tmp
/home/domain/homes/aileenp/Maildir/cur
/home/domain/homes/aileenp/Maildir/cur/1265925050.23454_1.domain.ca:2,S
/home/domain/homes/aileenp/Maildir/cur/1265942713.859_0.domain.ca:2,S
/home/domain/homes/aileenp/Maildir/.trash
/home/domain/homes/aileenp/Maildir/.trash/new
/home/domain/homes/aileenp/Maildir/.trash/tmp
/home/domain/homes/aileenp/Maildir/.trash/cur
/home/domain/homes/aileenp/.spamassassin
/home/domain/homes/aileenp/.spamassassin/bayes_seen
/home/domain/homes/aileenp/.spamassassin/bayes_toks
/home/domain/homes/aileenp/.spamassassin/user_prefs
/home/domain/homes/aileenp/.spamassassin/auto-whitelist
find: /home/administrator/.gvfs: Permission denied
/tmp/clamav-87371eb231f4b9a7f2eed34a07a8e470
/tmp/clamav-87371eb231f4b9a7f2eed34a07a8e470/main.db
/tmp/clamav-87371eb231f4b9a7f2eed34a07a8e470/main.hdb
/tmp/clamav-87371eb231f4b9a7f2eed34a07a8e470/main.info
/tmp/clamav-87371eb231f4b9a7f2eed34a07a8e470/main.mdb
/tmp/clamav-87371eb231f4b9a7f2eed34a07a8e470/COPYING
/tmp/clamav-87371eb231f4b9a7f2eed34a07a8e470/main.ndb
/var/mail/aileenp.domain
/etc/webmin/mailboxes/maildircache/_home_domain_homes_aileenp_Maildir
Eric
February 23, 2010, 7:16pm
11
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.
-Eric
zer0
February 23, 2010, 7:20pm
12
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.
zer0
February 23, 2010, 7:28pm
13
Howcome other users do not have the clamav folders? even though the option to scan for viruses and spam is enabled on all accounts.
Eric
February 23, 2010, 7:50pm
14
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.
-Eric
zer0
February 23, 2010, 8:11pm
15
problem solved. thank you sir once again…