On Thursday 06 March 2003 09:49, Brian Kolaci wrote:
>   > Howdy list,
>   >
>   > I'm just wondering a few things about the new domain wide quotas:
>   >
>   > Are these quotas implemented in vdelivermail?
>
> Yes.

Ok.

>
>   > Or are they implemented with system quotas?
>
> You can do that also if you wish, however you'll need to
> supply your own scripts for that.

So, basically, no? What would I have to supply to use system
quotas?


>
>   > Will I still be able to use maildrop to filter my mail?
>
> I'm unsure about maildrop.  If it delivers the mail via
> vdelivermail, then yes, but if it writes directly to the
> file system, it needs to be patched to enforce the quotas.
> I've updated libvpopmail.a to include the quota code, so
> you should be able to patch it if needed.

Maildrop is maildir++ compatible. I assume that this new code
deviates from the maildir++ standard?


>
>   > When are the quotas recalculated? (If maildrop deletes a message,
>   > will it throw the quotas off?)
>
> The domain quota code recalculates the quota each time on the fly.
> One big benefit now is its use of the maildirsize files, if they're
> there.  This is a big performance gain.  But if you don't have anything
> creating & maintaining these files (and they don't exist), then the
> performance would be pretty bad if people "leave mail on server", and
> you constantly have to sum up thousands of files.  I haven't used maildrop,
> and I see the maildirsize files in each user's Maildir so I assume
> vdelivermail is maintaining them.  You'll need to try it out and see
> what kind of performance you get.  In my copy, I have syslog()'s
> logging the clock over these and I typically see about 0.001s
> when the cache files are there, and up to 7s when they're not (but
> then they suddenly appear, so it must be creating them by default).
> The 7 seconds was due to a user with a few thousand messages still in there
> and no maildirsize file.

OK. So, when vdelivermail delivers a message to the maildir, it just
modify's the quota based on the email's size, correct? It doesn't
actually recalculate the entire quota?

What happens when an IMAP or POP server deletes a message from the
maildir? Is the quota then incorrect? I use Courier-IMAP.

Is there a way to recalculate a user's maildir quota via command line?
(For instance, so that all of my user's quotas could be recalculated at
4 AM from scratch via a shell script or Perl script?)

Thanks for all the info!



>
> Thanks,
>
> Brian

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.



Reply via email to