[dovecot-cvs] dovecot-lda/src deliver.c,1.24,1.25

cras at dovecot.org cras at dovecot.org
Fri Sep 30 21:55:44 EEST 2005


Update of /var/lib/cvs/dovecot-lda/src
In directory talvi:/tmp/cvs-serv7393

Modified Files:
	deliver.c 
Log Message:
Use MAILBOX_OPEN_NO_INDEX_FILES when opening stdin as mbox, so it doesn't
tried to get indexed to files



Index: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot-lda/src/deliver.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- deliver.c	29 Sep 2005 04:41:31 -0000	1.24
+++ deliver.c	30 Sep 2005 18:55:42 -0000	1.25
@@ -552,7 +552,8 @@
 	mbox_storage = mail_storage_create("mbox", "/tmp", destination, 0,
 					   MAIL_STORAGE_LOCK_FCNTL);
 	input = create_mbox_stream(0);
-	box = mailbox_open(mbox_storage, "Dovecot Delivery Mail", input, 0);
+	box = mailbox_open(mbox_storage, "Dovecot Delivery Mail", input,
+			   MAILBOX_OPEN_NO_INDEX_FILES);
 	if (box == NULL)
 		i_fatal("Can't open delivery mail as mbox");
         if (sync_quick(box) < 0)



More information about the dovecot-cvs mailing list