quota setting

2001-05-15 Thread Jati



 
Could you help me how to :
 -set quota for each user
 -block receiving mail if : used space + size 
of incoming mail >= 5MB
 
Until this time i've used this 
rules :
 
|if [ `du |tail -1|awk '{print $1}'` -ge `cat 
../../mailquota-limit` ] ; then /var/qmail/bin/bouncesaying "User quota 
exceeded" ; fi
 
 
Best Regards
 
Klateno


Re: quota setting

2001-05-15 Thread Tim

Use vdelivermail (part of vpopmail at http://www.inter7.com/qmail) or
maildrop (http://courier.sourceforge.net)

I am assuming that you are running under single UID, of course.

Tim

On Tue, May 15, 2001 at 10:07:45AM -, Jati wrote:
> 
> Could you help me how to :
>  -set quota for each user
>  -block receiving mail if : used space + size of incoming mail >= 5MB
> 
> Until this time i've used this rules :
> 
> |if [ `du |tail -1|awk '{print $1}'` -ge `cat ../../mailquota-limit` ] ; then 
>/var/qmail/bin/bouncesaying "User quota exceeded" ; fi
> 
> 
> Best Regards
> 
> Klateno



Re: quota setting

2001-05-17 Thread Paul Gregg

Or [he said following the top posting]...

mailquotacheck:  http://www.pgregg.com/projects/qmail/mailquotacheck/

Paul.

/me wonders why searching for "quota" on www.qmail.org is so tough...

In article <[EMAIL PROTECTED]> you wrote:
> Use vdelivermail (part of vpopmail at http://www.inter7.com/qmail) or
> maildrop (http://courier.sourceforge.net)
> 
> I am assuming that you are running under single UID, of course.
> 
> Tim
> 
> On Tue, May 15, 2001 at 10:07:45AM -, Jati wrote:
>> 
>> Could you help me how to :
>>  -set quota for each user
>>  -block receiving mail if : used space + size of incoming mail >= 5MB
>> 
>> Until this time i've used this rules :
>> 
>> |if [ `du |tail -1|awk '{print $1}'` -ge `cat ../../mailquota-limit` ] ; then 
>/var/qmail/bin/bouncesaying "User quota exceeded" ; fi
>> 
>> 
>> Best Regards
>> 
>> Klateno
> 

-- 
| Paul Gregg|T: +44 (0) 28 90424190
| Technical Director|F: +44 (0) 28 90424709
| The Internet Business Ltd |W: http://www.tibus.com
| Holywood House, Innis Court   |E: [EMAIL PROTECTED]
| Holywood, Co Down, BT18 9HF   |P: [EMAIL PROTECTED]