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