what I have set up might be a little different from you have, but take a look
at this:
# ls -al
total 26
On Fri, 11 Mar 2005 [EMAIL PROTECTED] wrote:
this is a listing of a sample Maildir directory on my server. it has all
these files and directories that have to do with courier IMAP. while
they don't take much in some cases, sometimes they can take a couple of
percent from the overall quota. in
but wait, there is more!. :)
in squirrelmail try moving a big email from inbox to some folder. open that
folder and delete the email. quota usage won't change as it should.
effectively, deletion from any folder other than INBOX will not change quota
usage.
there is plenty of inconsistencies
Charles J. Boening wrote:
How about this?
snip filename='/home/vpopmail/bin/overquota.sh'
#!/bin/sh
for i in `/home/vpopmail/bin/vpopbull -n -V`;
do echo `/home/vpopmail/bin/vuserinfo -Q $i` $i
done
/snip
Called like this
/home/vpopmail/bin/overquota.sh | grep 100% | mail -s Overquota
How about the following the following
command here | grep -v ^[0-9]%
Should work.
Charlie
-Original Message-
From: Rainer Duffner [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 10, 2005 11:56 AM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] listing over-quota users
Charles J
On Wed, 9 Mar 2005 [EMAIL PROTECTED] wrote:
this method is of course fast and dirty, but it might not work for
everyone out there.
the best aproach is to write a perl script that runs queries on a
database, gets path to a user's mailbox on the server, uses File::Find
to include only files in
Charles J. Boening wrote:
How about the following the following
command here | grep -v ^[0-9]%
Should work.
Yup.
I always get confused where I have to set the quotes...
Thanks.
Rainer
--
===
~ Rainer Duffner - [EMAIL PROTECTED] ~
~
Here's what I do. I don't have too many domains or users do it doesn't
take too long.
du -sk /home/vpopmail/domains/*/*/Maildir /tmp/maildirusage du -sk
/home/vpopmail/domains/*/*/*/Maildir /tmp/maildirusage cat
/tmp/maildirusage | sort -n | tail -n50 | sort -n -r | mail -s Mail
User Quota
this method is of course fast and dirty, but it might not work for everyone out
there.
the best aproach is to write a perl script that runs queries on a database,
gets path to a user's mailbox on the server, uses File::Find to include only
files in Maildir/cur and Maildir/new as well as
On Mar 9, 2005, at 6:15 PM, [EMAIL PROTECTED] wrote:
the best aproach is to write a perl script that runs queries on a
database, gets path to a user's mailbox on the server, uses File::Find
to include only files in Maildir/cur and Maildir/new as well as
:subfolders:/cur and :subfolders:/new
-addy
Charlie
-Original Message-
From: Tom Collins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005 4:52 PM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] listing over-quota users
On Mar 9, 2005, at 6:15 PM, [EMAIL PROTECTED] wrote:
the best aproach is to write a perl
11 matches
Mail list logo