Re: vpopmail & maildrop

Arthur Kerpician <[email protected]>
Newsgroups gmane.mail.vpopmail
Message-ID <[email protected]>
On 3/15/2010 4:50 PM, Matt Brookings wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Arthur Kerpician wrote:
>    
>> Hi,
>> I just installed vpopmail 5.5.0 especially for the domain quota function
>> which seems to be working fine. If I deliver through vdelivermail, quota
>> enforcement does it's job but if I switch to maildrop for some
>> filtering, I must apply maildrop / courier quota enforcement. Is there a
>> way to first check for quota (user and domain) using vusaged and then
>> pass the message to maildrop? I guess I have to use the .qmail file for
>> this but I don't know how to combine both (vdelivermail and maildrop).
>>      
> You can call the vusagec binary, which will return usage stats for a user or
> domain.  Unfortunately, you'd need to also parse the response for the numbers you
> want.

I didn't think of vusagec, you're right. I tried calling "vdominfo -q 
<domain>" to check quota usage for the domain but it's broken (returns 
the command help). I'll write the script using vusagec, thanks alot!

!DSPAM:4b9ea9ab32718762210992!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.