dovecot-2.1-pigeonhole: lib-sieve: vnd.dovecot.duplicate: Fixed ...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Wed Oct 17 23:11:20 EEST 2012


details:   http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/c3b14a8784dc
changeset: 1665:c3b14a8784dc
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Wed Oct 17 22:10:50 2012 +0200
description:
lib-sieve: vnd.dovecot.duplicate: Fixed default max period setting.

diffstat:

 src/lib-sieve/plugins/vnd.dovecot/duplicate/ext-duplicate-common.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r fd7257cb40ea -r c3b14a8784dc src/lib-sieve/plugins/vnd.dovecot/duplicate/ext-duplicate-common.c
--- a/src/lib-sieve/plugins/vnd.dovecot/duplicate/ext-duplicate-common.c	Wed Oct 17 21:49:55 2012 +0200
+++ b/src/lib-sieve/plugins/vnd.dovecot/duplicate/ext-duplicate-common.c	Wed Oct 17 22:10:50 2012 +0200
@@ -24,7 +24,8 @@
  * Extension configuration
  */
 
-#define EXT_DUPLICATE_DEFAULT_PERIOD (1*24*60*60)
+#define EXT_DUPLICATE_DEFAULT_PERIOD (12*60*60)
+#define EXT_DUPLICATE_DEFAULT_MAX_PERIOD (2*24*60*60)
 
 bool ext_duplicate_load
 (const struct sieve_extension *ext, void **context)
@@ -43,7 +44,7 @@
 
 	if ( !sieve_setting_get_duration_value
 		(svinst, "sieve_duplicate_max_period", &max_period) ) {
-		max_period = EXT_DUPLICATE_DEFAULT_PERIOD;
+		max_period = EXT_DUPLICATE_DEFAULT_MAX_PERIOD;
 	}
 
 	config = i_new(struct ext_duplicate_config, 1);


More information about the dovecot-cvs mailing list