cf58a5c
diff -Naur cyrus-imapd-2.3.1.orig/imap/make_md5.c cyrus-imapd-2.3.1/imap/make_md5.c
cf58a5c
--- cyrus-imapd-2.3.1.orig/imap/make_md5.c	2005-12-13 16:31:08.000000000 +0100
cf58a5c
+++ cyrus-imapd-2.3.1/imap/make_md5.c	2006-01-16 11:27:29.000000000 +0100
cf58a5c
@@ -811,7 +811,7 @@
cf58a5c
     if (!md5_dir) md5_dir = config_getstring(IMAPOPT_MD5_DIR);
cf58a5c
 
cf58a5c
     if (!md5_dir)
cf58a5c
-        md5_dir = xstrdup("/var/imap/md5");
cf58a5c
+        md5_dir = xstrdup("/var/lib/imap/md5");
cf58a5c
 
cf58a5c
     if (((uid_file = config_getstring(IMAPOPT_MD5_USER_MAP)) != NULL) &&
cf58a5c
         ((uid_fd=open(uid_file, O_RDONLY)) < 0)) {
cf58a5c
diff -Naur cyrus-imapd-2.3.1.orig/lib/imapoptions cyrus-imapd-2.3.1/lib/imapoptions
cf58a5c
--- cyrus-imapd-2.3.1.orig/lib/imapoptions	2005-12-13 20:36:11.000000000 +0100
cf58a5c
+++ cyrus-imapd-2.3.1/lib/imapoptions	2006-01-16 11:26:54.000000000 +0100
cf58a5c
@@ -527,10 +527,14 @@
cf58a5c
    mailspool, but each have their own "replicated" copy of
cf58a5c
    mailboxes.db. */
cf58a5c
 
cf58a5c
-{ "md5_dir", NULL, STRING }
cf58a5c
+{ "md5_dir", "/var/lib/imap/md5", STRING }
cf58a5c
 /* Top level directory for MD5 store manipulated by make_md5. File
cf58a5c
    structure within this directory is one file for each user on the system,
cf58a5c
-   hashed on the first letter of the userid (e.g: /var/imap/md5/d/dpc22). */
cf58a5c
+   hashed on the first letter of the
cf58a5c
+   userid (e.g: /var/lib/imap/md5/d/dpc22).
cf58a5c
+.PP
cf58a5c
+   Note: This Invoca RPM build uses \fI/var/lib/imap/md5\fR by default
cf58a5c
+   instead of \fI/var/imap/md5\fR for \fBmd5_dir\fR. */
cf58a5c
 
cf58a5c
 { "md5_user_map", NULL, STRING }
cf58a5c
 /* Map file (cdb) to allow partial make_md5 runs. Maps username to UID */