[dovecot-cvs] dovecot/src/lib-storage mail-storage.h, 1.107.2.1, 1.107.2.2
cras at dovecot.org
cras at dovecot.org
Mon Aug 7 15:42:27 EEST 2006
Update of /var/lib/cvs/dovecot/src/lib-storage
In directory talvi:/tmp/cvs-serv26162/lib-storage
Modified Files:
Tag: branch_1_0
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.107.2.1
retrieving revision 1.107.2.2
diff -u -d -r1.107.2.1 -r1.107.2.2
--- mail-storage.h 6 Aug 2006 21:43:28 -0000 1.107.2.1
+++ mail-storage.h 7 Aug 2006 12:42:24 -0000 1.107.2.2
@@ -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