[dovecot-cvs] dovecot/src/lib-storage mail-storage.h,1.113,1.114

cras at dovecot.org cras at dovecot.org
Mon Aug 7 15:42:42 EEST 2006


Update of /var/lib/cvs/dovecot/src/lib-storage
In directory talvi:/tmp/cvs-serv16694/lib-storage

Modified Files:
	mail-storage.h 
Log Message:
Added MAILBOX_OPEN_MBOX_ONE_MSG_ONLY flag for mailbox_open() which makes it
ignore all but the first From-line in a mbox. This kludge is required for
deliver which builds a temporary mbox stream from the input. Later it
should be fixed to use some plain-mailbox format instead of mbox.



Index: mail-storage.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- mail-storage.h	6 Aug 2006 21:43:29 -0000	1.113
+++ mail-storage.h	7 Aug 2006 12:42:37 -0000	1.114
@@ -45,7 +45,9 @@
 	/* Don't create index files for the mailbox */
 	MAILBOX_OPEN_NO_INDEX_FILES	= 0x10,
 	/* Keep mailbox exclusively locked all the time while it's open */
-	MAILBOX_OPEN_KEEP_LOCKED	= 0x20
+	MAILBOX_OPEN_KEEP_LOCKED	= 0x20,
+	/* FIXME: Kludge for deliver: Ignore all but the first From-line */
+	MAILBOX_OPEN_MBOX_ONE_MSG_ONLY	= 0x40
 };
 
 enum mailbox_list_flags {



More information about the dovecot-cvs mailing list