Dovecot maildirsize file format


















They don't usually specify users' quota limits, that's done by returning extra fields from userdb. There are different quota backends that Dovecot can use: fs : Filesystem quota. This is the most commonly used quota for virtual users. Show hidden low quality content. You must log in or register to reply here. Top Bottom. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.

By continuing to use this site, you are consenting to our use of cookies. Accept Learn more…. Nov 11, Dovecot Configuration Template Errors. Nov 8, This is required because otherwise Dovecot might temporarily see mails incorrectly deleted, which would cause trouble. Basically the problem is that if one process modifies the Maildir eg. This problem exists with all the commonly used filesystems. Because Dovecot uses its own non-standard locking dovecot-uidlist.

This means that if another MUA is updating message flags or expunging messages, Dovecot might temporarily lose some message s. After the next sync when it finds it again, an error message may be written to log and the message will receive a new UID. Create a unique filename only time.

If the stat found a file, wait 2 seconds and go back to step 1. In that case you should probably go back to step 1. All this trouble is rather pointless. Even though they might catch a problem once in a while, they give no guaranteed protection and will just as easily pass duplicate filenames through and overwrite existing mails. In step 4 the link would fail if an identical file already existed in the Maildir, right? Step 2 was pointed out to be useful if clock had moved backwards.

Maildir format is somewhat compatible with MH format. You can't rely on Dovecot noticing external changes to Maildir and updating maildirsize accordingly. This happens eventually when quota is being recalculated, but it may take a while.

Quota recalculation also currently doesn't trigger quota warning executions. Maildirsize file The maildirsize file in the Maildir root directory contains both the quota limit information and the current quota status.



0コメント

  • 1000 / 1000