[dovecot-cvs] dovecot/src/master mail-process.c, 1.42, 1.43 master-settings.c, 1.46, 1.47 master-settings.h, 1.29, 1.30

cras at procontrol.fi cras at procontrol.fi
Sun May 23 01:36:48 EEST 2004


Update of /home/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv5990/src/master

Modified Files:
	mail-process.c master-settings.c master-settings.h 
Log Message:
Added pop3_mails_keep_recent option. Fixed recent assert crash.



Index: mail-process.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- a/mail-process.c	10 May 2004 16:05:10 -0000	1.42
+++ b/mail-process.c	22 May 2004 22:36:46 -0000	1.43
@@ -284,6 +284,8 @@
 		env_put("MAILDIR_CHECK_CONTENT_CHANGES=1");
 	if (set->mail_full_filesystem_access)
 		env_put("FULL_FILESYSTEM_ACCESS=1");
+	if (set->pop3_mails_keep_recent)
+		env_put("POP3_MAILS_KEEP_RECENT=1");
 	(void)umask(set->umask);
 
 	env_put(t_strconcat("MBOX_LOCKS=", set->mbox_locks, NULL));

Index: master-settings.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- a/master-settings.c	17 May 2004 01:32:17 -0000	1.46
+++ b/master-settings.c	22 May 2004 22:36:46 -0000	1.47
@@ -111,6 +111,9 @@
 	DEF(SET_INT, imap_max_line_length),
 	DEF(SET_STR, imap_capability),
 
+	/* pop3 */
+	DEF(SET_BOOL, pop3_mails_keep_recent),
+
 	{ 0, NULL, 0 }
 };
 
@@ -240,6 +243,9 @@
 	MEMBER(imap_max_line_length) 65536,
 	MEMBER(imap_capability) NULL,
 
+	/* pop3 */
+	MEMBER(pop3_mails_keep_recent) FALSE,
+
 	/* .. */
 	MEMBER(login_uid) 0,
 	MEMBER(listen_fd) -1,

Index: master-settings.h
===================================================================
RCS file: /home/cvs/dovecot/src/master/master-settings.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- a/master-settings.h	17 May 2004 01:32:17 -0000	1.29
+++ b/master-settings.h	22 May 2004 22:36:46 -0000	1.30
@@ -86,6 +86,9 @@
 	unsigned int imap_max_line_length;
 	const char *imap_capability;
 
+	/* pop3 */
+        int pop3_mails_keep_recent;
+
 	/* .. */
 	uid_t login_uid;
 



More information about the dovecot-cvs mailing list