[Dovecot] Issues with VANISHED CHANGEDSINCE

Michael M Slusarz slusarz at curecanti.org
Thu Nov 8 00:08:44 EET 2012


Quoting Timo Sirainen <tss at iki.fi>:

> On 6.11.2012, at 3.49, Michael J Rubinsky 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).

michael




More information about the dovecot mailing list