Sam Varshavchik <[email protected]> (Sun Mar 13 18:00:53 2011): > Heiko Schlittermann writes: > > >If I understood the exim implementation, it just removed and that's it. > >The quota for a later recreation comes from the configuration file. > > > >Having no quota for a limited frame of time would be no problem, but > >loosing the quota at all, definitivly is a problem. > > Since exim is the one that's removing the file, and exim is the one > that's doing the delivery, then after removing the file the next > delivery attempt will result in exim recalculate the quota, from > scratch. > > There's nothing wrong with that approach.
You're right. If It wasn't the last delivery for a long period of time AND if the mailbox filled mainly by the delivery agent. But partly we have other use patterns - usage of the mailbox mainly for IMAP STORE, IMAP COPY. Thus, if the maildirsize file is lost, than no quota is applied anymore. > >Ok, if I understand well, Courier always relies on an existing quota > >file and never ever will exit w/o creating a new one. But if no quota > >file is found, no quota will apply. > > > >The userdb option quota is not used at all, is it? > > It's "there" to be used. The standalone build of maildrop, if the > courier-authlib hook is used, maildrop should end up retrieving the > set quota from courier-authlib. The fallback is to use MAILDIRQUOTA > from the environment. Ah, ok. But I'm not talking about the delivery (it's done by exim for various reasons), I'm talking about the IMAP/POP3 part of Courier. > Courier itself will use the quota, whether it comes from userdb or > from somewhere else. If Courier runs an external mail delivery > agent, it sets MAILDIRQUOTA and leaves it up to the external mail > delivery agent to use it. It looks as if the imapd/popd never gets passed the quota setting from the userdb. Seems to be the locical conclusion, if we suppose, that Courier will find the current active quota settings in the first line of the maildirsize file. -- Heiko :: dresden : linux : SCHLITTERMANN.de GPG Key 48D0359B : 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
