more efficient :)
- -
- -
- - Charlie
- -
- -
- -
- -
- -
- - From: Tanmaya Anand [mailto:[EMAIL PROTECTED]
- - Sent: Tuesday, March 08, 2005 11:44 PM
- - To: vchkpw@inter7.com
- - Subject: [vchkpw] listing over-quota users
- -
- -
- -
- - Hi
- -
- - I need
@inter7.com
- - Subject: [vchkpw] listing over-quota users
- -
- -
- -
- - Hi
- -
- - I need to list all over-quota users on the system for all
- - domains.
- - Can anyone help me with some similiar perl / shell script to get
- - this done.
- -
- - Regards
Anand [mailto:[EMAIL PROTECTED]
- - - Sent: Tuesday, March 08, 2005 11:44 PM
- - - To: vchkpw@inter7.com
- - - Subject: [vchkpw] listing over-quota users
- - -
- - -
- - -
- - - Hi
- - -
- - - I need to list all over-quota users on the system for all
- - - domains
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
-
-
-
-
-
- From: Tanmaya Anand [mailto:[EMAIL PROTECTED]
- Sent: Tuesday, March 08, 2005 11:44 PM
- To: vchkpw@inter7.com
- Subject: [vchkpw] listing over-quota users
-
-
-
- Hi
-
- I need to list all over-quota users on the system for all
- domains.
- Can anyone help me with some
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] ~
~
From: Tanmaya Anand [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 08, 2005 11:44 PM
To: vchkpw@inter7.com
Subject: [vchkpw] listing over-quota users
Hi
I need to list all over-quota users on the system
: Tanmaya Anand [mailto:[EMAIL PROTECTED]
- Sent: Tuesday, March 08, 2005 11:44 PM
- To: vchkpw@inter7.com
- Subject: [vchkpw] listing over-quota users
-
-
-
- Hi
-
- I need to list all over-quota users on the system for all
- domains.
- Can anyone help me
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