(email) disk quote exceeded

5 posts / 0 new
Last post
#1 Tue, 05/12/2009 - 05:12
paul.kelly

(email) disk quote exceeded

On one virtual server, I have set myself a 50mb limit. This is showing as used up/exceeded in 'Mail and FTP Users'.

When I go into the mailbox, there is only 14mb shown!

The user is only set up for mail and I cant find any spam/junk folder, so I am a bit confused as to why a full quote is being reported!

Anyone with some thoughts?

Tue, 05/12/2009 - 05:25
andreychek

Howdy,

Well, I was going to suggest that the email could be in a spam, trash, or even sent folder, or some other folder there.

You could always manually check from the command line where the usage is coming from.

If you log in over SSH, and go into the users home directory (something like /home/VIRTUAL_SERVER_OWNER/homes/EMAIL_USER/Maildir), and you type "ls -a", you'll see a list of all the IMAP folder (the directories starting with a . character).

So, to check how much disk space the spam folder is using, you could type:

du -sh .spam

Hopefully that'll help you track down where the usage is :-)
-Eric

Tue, 05/12/2009 - 07:37 (Reply to #2)
paul.kelly

Hi Eric,

spam folder is zero!

I even ftp'd into the folder and can see nothing different to usermin!

Tue, 05/12/2009 - 07:53 (Reply to #3)
andreychek

Hmm, are any of the other folders causing the trouble though?

Perhaps this will help us discover if it's an email issue or not -- what if you simply go into the users homedir, and type this:

du -sh Maildir

How much space does it show being used in there?
-Eric

Tue, 05/12/2009 - 11:34
Joe
Joe's picture

So, generally Linux disk quotas don't make up numbers. There are very likely files located somewhere on that partition that consume 50MB.

find /home -user username

Will show you if there are any files you don't know about somewhere in /home (note that if you only have /, you could also have files in /var and /tmp, and maybe even other places, owned by the user...and they also consume quota). So, if / is the partition where folks live and where quotas are applied you need to look there, too.

--

Check out the forum guidelines!

Topic locked