[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.c,
1.130, 1.131
cras at dovecot.org
cras at dovecot.org
Sat Dec 31 15:49:22 EET 2005
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv32150
Modified Files:
mbox-storage.c
Log Message:
Removed X-UIDL after all from hide list. Updated comment + small cleanup.
Index: mbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -d -r1.130 -r1.131
--- mbox-storage.c 31 Dec 2005 13:14:38 -0000 1.130
+++ mbox-storage.c 31 Dec 2005 13:49:19 -0000 1.131
@@ -22,7 +22,10 @@
#define CREATE_MODE 0770 /* umask() should limit it more */
-/* NOTE: must be sorted for istream-header-filter. */
+/* NOTE: must be sorted for istream-header-filter. Note that it's not such
+ a good idea to change this list, as the messages will then change from
+ client's point of view. So if you do it, change all mailboxes' UIDVALIDITY
+ so all caches are reset. */
const char *mbox_hide_headers[] = {
"Content-Length",
"Status",
@@ -30,10 +33,10 @@
"X-IMAPbase",
"X-Keywords",
"X-Status",
- "X-UID",
- "X-UIDL"
+ "X-UID"
};
-unsigned int mbox_hide_headers_count = 7;
+unsigned int mbox_hide_headers_count =
+ sizeof(mbox_hide_headers) / sizeof(mbox_hide_headers[0]);
extern struct mail_storage mbox_storage;
extern struct mailbox mbox_mailbox;
More information about the dovecot-cvs
mailing list