Re: vpopmail & maildrop

Matt Brookings <[email protected]>
Newsgroups gmane.mail.vpopmail
Message-ID <[email protected]>
-----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.
- --
/*
    Matt Brookings <[email protected]>       GnuPG Key FAE0672C
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkueSUoACgkQIwet2/rgZyy+ZgCfSuDQcLMlE/xlc5ZCNjgCbMCP
j7gAn1Ae45NsZHKR1yWuajPSI8Io7JGs
=z3s5
-----END PGP SIGNATURE-----
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.