Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi everybody,
I wondered if a tool managing mailbox in maildir format exists.
I installed a new mail server a month ago.
Before, mailbox was in mbox format so it was easy for me to know mailbox size and sort them. But now mailbox are in maildir format and I'm not able to mange mailbox as before.
What's your experience about that?
Thx
Syl20
I'd like to know mailbox size of each user.
With mbox format, 'ls-l /var/spool/mail/' allowed me to see the size of every mailbox.
'ls -l /var/spool/mail/ | sort -n -k +6 allowed me to sort them.
But now, I'm no more able to know size of any mailbox, instead of typing ls -l /var/spool/mail/toto/maildir/new and cur for each mailbox.
I can write a script which allow me to do that automatically, redirect in a file, and sort in the file.
But I thought that something exists to help me.
Excellent, that's what I wanted.
I didn't know what MasterC give me, but now I know, but I used
'du -bs /var/spool/mail/* | sort -n' that's exactly what I need
Thx Yves and MasterC, have a good day.
Syl20
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.