diff -Naur cyrus-imapd-2.4.18.orig/doc/man/imapd.conf.5.html cyrus-imapd-2.4.18/doc/man/imapd.conf.5.html --- cyrus-imapd-2.4.18.orig/doc/man/imapd.conf.5.html 2015-07-06 05:49:05.000000000 +0200 +++ cyrus-imapd-2.4.18/doc/man/imapd.conf.5.html 2015-08-10 10:13:34.000000000 +0200 @@ -1954,11 +1954,10 @@ skiplist, sql
statuscache_db_path: -<none>
+{configdirectory}/volatile/statuscache.db;The absolute path to the -statuscache db file. If not specified, will be -confdir/statuscache.db
+statuscache db file.sync_authname: <none>
diff -Naur cyrus-imapd-2.4.18.orig/lib/imapoptions cyrus-imapd-2.4.18/lib/imapoptions --- cyrus-imapd-2.4.18.orig/lib/imapoptions 2015-07-06 05:38:29.000000000 +0200 +++ cyrus-imapd-2.4.18/lib/imapoptions 2015-08-10 10:13:34.000000000 +0200 @@ -1233,9 +1233,8 @@ { "statuscache_db", "skiplist", STRINGLIST("berkeley", "berkeley-nosync", "berkeley-hash", "berkeley-hash-nosync", "skiplist", "sql") } /* The cyrusdb backend to use for the imap status cache. */ -{ "statuscache_db_path", NULL, STRING } -/* The absolute path to the statuscache db file. If not specified, - will be confdir/statuscache.db */ +{ "statuscache_db_path", "{configdirectory}/volatile/statuscache.db", STRING } +/* The absolute path to the statuscache db file. */ { "sync_authname", NULL, STRING } /* The authentication name to use when authenticating to a sync server. diff -Naur cyrus-imapd-2.4.18.orig/lib/imapopts.c cyrus-imapd-2.4.18/lib/imapopts.c --- cyrus-imapd-2.4.18.orig/lib/imapopts.c 2015-07-06 05:49:04.000000000 +0200 +++ cyrus-imapd-2.4.18/lib/imapopts.c 2015-08-10 10:13:34.000000000 +0200 @@ -784,7 +784,7 @@ { "sql" , IMAP_ENUM_ZERO }, { NULL, IMAP_ENUM_ZERO } } }, { IMAPOPT_STATUSCACHE_DB_PATH, "statuscache_db_path", 0, OPT_STRING, - {(void *)(NULL)}, + {(void *)("{configdirectory}/volatile/statuscache.db")}, { { NULL, IMAP_ENUM_ZERO } } }, { IMAPOPT_SYNC_AUTHNAME, "sync_authname", 0, OPT_STRING, {(void *)(NULL)}, diff -Naur cyrus-imapd-2.4.18.orig/man/imapd.conf.5 cyrus-imapd-2.4.18/man/imapd.conf.5 --- cyrus-imapd-2.4.18.orig/man/imapd.conf.5 2015-07-06 05:49:04.000000000 +0200 +++ cyrus-imapd-2.4.18/man/imapd.conf.5 2015-08-10 10:17:27.000000000 +0200 @@ -1049,9 +1049,8 @@ The cyrusdb backend to use for the imap status cache. Allowed values: \fIberkeley\fR, \fIberkeley-nosync\fR, \fIberkeley-hash\fR, \fIberkeley-hash-nosync\fR, \fIskiplist\fR, \fIsql\fR -.IP "\fBstatuscache_db_path:\fR