[dovecot-cvs] dovecot/src/lib-index mail-index.h,1.93,1.94

cras at procontrol.fi cras at procontrol.fi
Mon Oct 20 10:01:11 EEST 2003


Update of /home/cvs/dovecot/src/lib-index
In directory danu:/tmp/cvs-serv29749/lib-index

Modified Files:
	mail-index.h 
Log Message:
If maildir contains dovecot-shared file Dovecot does two things differently:
it allows some flags to be private and stored only in index file (currently
hardcoded to \Seen flag only) and new mails are created with dovecot-shared
file's mode & 0666. So if you set filesystem permissions correctly, you
should have fully functioning shared mailboxes.



Index: mail-index.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index.h,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- mail-index.h	20 Oct 2003 03:13:06 -0000	1.93
+++ mail-index.h	20 Oct 2003 06:01:08 -0000	1.94
@@ -329,6 +329,8 @@
 	mail_lock_notify_callback_t *lock_notify_cb;
 	void *lock_notify_context;
 
+	unsigned int private_flags_mask;
+
 	/* these fields are OR'ed to the fields in index header once we
 	   get around grabbing exclusive lock */
 	unsigned int set_flags;
@@ -364,7 +366,7 @@
 	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
 	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
 	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
-	0, 0, 0, 0, 0, 0, 0, 0, 0
+	0, 0, 0, 0, 0, 0, 0, 0, 0, 0
 #endif
 
 /* defaults - same as above but prefixed with mail_index_. */



More information about the dovecot-cvs mailing list