Mercurial > dovecot > core-2.2
changeset 3796:c4efa2acbf7c HEAD
Removed X-UIDL after all from hide list. Updated comment + small cleanup.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 31 Dec 2005 15:49:19 +0200 |
parents | e6c42de08336 |
children | 1a80323df9c1 |
files | src/lib-storage/index/mbox/mbox-storage.c |
diffstat | 1 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/mbox/mbox-storage.c Sat Dec 31 15:43:13 2005 +0200 +++ b/src/lib-storage/index/mbox/mbox-storage.c Sat Dec 31 15:49:19 2005 +0200 @@ -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;