[Dovecot] Issues with VANISHED CHANGEDSINCE
Timo Sirainen
tss at iki.fi
Thu Nov 8 00:23:37 EET 2012
On 8.11.2012, at 0.08, Michael M Slusarz wrote:
>> These defines in mail-transaction-log-private.h anyway can be changed to make it much less likely to see your problem:
>>
>> /* Rotate when log is older than ROTATE_TIME and larger than MIN_SIZE */
>> #define MAIL_TRANSACTION_LOG_ROTATE_MIN_SIZE (1024*32)
>> /* If log is larger than MAX_SIZE, rotate regardless of the time */
>> #define MAIL_TRANSACTION_LOG_ROTATE_MAX_SIZE (1024*1024)
>> #define MAIL_TRANSACTION_LOG_ROTATE_TIME (60*5)
>>
>> /* Delete .log.2 files older than this many seconds. Don't be too eager,
>> older files are useful for QRESYNC and dsync. */
>> #define MAIL_TRANSACTION_LOG2_STALE_SECS (60*60*24*2)
>>
>> Maybe the defaults could be changed..
>
> I'm not sure changing the defaults is a good idea. But if someone does want to use a particular dovecot server as the backend for activesync clients, for example, it would probably make sense to allow these values to be tweaked via the config files. (I can see an organization having a "normal" IMAP server and a "activesync" IMAP server that differ in these details, and also in things like IDLE timeouts).
Well .. I hate adding more settings. :) There are way too many already. Ideally Dovecot would automatically do the right thing anyway. Just like it already caches only those things that are needed. It could also increase these values when QRESYNC is used, or even better to actually have the separate expunge log that I mentioned.
More information about the dovecot
mailing list