LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-16-2006, 11:57 AM   #1
teamchachi
LQ Newbie
 
Registered: Mar 2005
Location: Calgary Alberta Canada
Posts: 22

Rep: Reputation: 15
Cyrus Mailbox Sizes?


Okay, so I've got a Cyrus IMAP server that's been running for a couple of years. Most people use POP3 so they don't have much mail on the server. However, I know that I have a few pretty obnoxious IMAP users with big mailboxes.

Here's my question: Is there a command I can run that will show me a list of all the mailboxes and their respective sizes? I need some real data.

Thanks!
 
Old 08-17-2006, 01:09 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
I run the following command to get a quick view of the total space taken by every big mailbox:

du -h --max-depth=3 /var/spool/imap | grep user/. | grep [0-9]M | sort | less

Mare sure you run it as root. It will shows me which mailboxes have mega megabytes.

Let me know if it works for you.
 
Old 08-18-2006, 10:33 PM   #3
teamchachi
LQ Newbie
 
Registered: Mar 2005
Location: Calgary Alberta Canada
Posts: 22

Original Poster
Rep: Reputation: 15
Awesome!

That worked really well and the command totally makes sense. I feel a little silly for asking now. I assumed that there was probably some Cyrus command that I was missing.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
cyrus imapd user.root mailbox [GOD]Anck Linux - Software 1 03-24-2005 03:56 AM
Mailbox Migration from MCIS to Cyrus mcTwix Linux - General 0 05-06-2004 05:11 PM
Convert uw-imap mailbox to cyrus avatar1966 Linux - Software 0 07-09-2003 02:50 PM
evolution-mailbox athenerx Linux - Newbie 3 03-21-2002 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration