[Dovecot] flat file in tmpfs for dict quota
ka at pacific.net
Thu Jul 4 03:56:05 EEST 2013
On 7/2/2013 8:48 AM, Steffen Kaiser wrote:
> On Thu, 27 Jun 2013, Ken A wrote:
>> I'm using dict quota like so:
>> quota = dict:User quota::file:/[path]/quotas/%u
>> [path]/quotas/ is a tmpfs.
>> The idea is to do less work on disk. Other than forcing dovecot
>> to rebuild quotas on a reboot, are there any downsides?
> I would say no, but to recalc the quota file might be more
> difficult that you think, make sure no logins or deliveries or
> automatic scripts change the content of the mail storage.
The quota files are per mailbox, and are created when the user logs in
or LDA touches a mailbox. Most mailboxes are < 1GB. Dovecot seems to
handle it very quickly.
> -- Steffen Kaiser
Pacific Internet - http://www.pacific.net
More information about the dovecot