[dovecot-cvs] dovecot/src/master mail-process.c,1.6,1.7 master-settings.c,1.9,1.10 master-settings.h,1.3,1.4

cras at procontrol.fi cras at procontrol.fi
Fri Feb 14 10:00:54 EET 2003


Update of /home/cvs/dovecot/src/master
In directory danu:/tmp/cvs-serv13828/src/master

Modified Files:
	mail-process.c master-settings.c master-settings.h 
Log Message:
Added setting to limit length of custom flag names.



Index: mail-process.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- mail-process.c	11 Feb 2003 20:08:23 -0000	1.6
+++ mail-process.c	14 Feb 2003 08:00:52 -0000	1.7
@@ -162,6 +162,8 @@
 				set->mailbox_check_interval));
 	env_put(t_strconcat("CLIENT_WORKAROUNDS=",
 			    set->client_workarounds, NULL));
+	env_put(t_strdup_printf("MAIL_MAX_FLAG_LENGTH=%u",
+				set->mail_max_flag_length));
 
 	if (set->mail_save_crlf)
 		env_put("MAIL_SAVE_CRLF=1");

Index: master-settings.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- master-settings.c	11 Feb 2003 19:37:16 -0000	1.9
+++ master-settings.c	14 Feb 2003 08:00:52 -0000	1.10
@@ -56,6 +56,7 @@
 	DEF(SET_STR, client_workarounds),
 	DEF(SET_INT, mailbox_check_interval),
 	DEF(SET_BOOL, mail_full_filesystem_access),
+	DEF(SET_INT, mail_max_flag_length),
 	DEF(SET_BOOL, mail_save_crlf),
 	DEF(SET_BOOL, mail_read_mmaped),
 	DEF(SET_BOOL, maildir_copy_with_hardlinks),
@@ -159,6 +160,7 @@
 	MEMBER(client_workarounds) NULL,
 	MEMBER(mailbox_check_interval) 0,
 	MEMBER(mail_full_filesystem_access) FALSE,
+	MEMBER(mail_max_flag_length) 50,
 	MEMBER(mail_save_crlf) FALSE,
 	MEMBER(mail_read_mmaped) FALSE,
 	MEMBER(maildir_copy_with_hardlinks) FALSE,

Index: master-settings.h
===================================================================
RCS file: /home/cvs/dovecot/src/master/master-settings.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- master-settings.h	11 Feb 2003 19:37:16 -0000	1.3
+++ master-settings.h	14 Feb 2003 08:00:52 -0000	1.4
@@ -40,6 +40,7 @@
 	const char *client_workarounds;
 	unsigned int mailbox_check_interval;
 	int mail_full_filesystem_access;
+	int mail_max_flag_length;
 	int mail_save_crlf;
 	int mail_read_mmaped;
 	int maildir_copy_with_hardlinks;




More information about the dovecot-cvs mailing list