dovecot-2.2-pigeonhole: lib-sieve: result: Fixed handling of imp...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Tue Dec 22 20:31:55 UTC 2015


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/033a318a0fea
changeset: 2176:033a318a0fea
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Tue Dec 22 21:28:17 2015 +0100
description:
lib-sieve: result: Fixed handling of implicit keep for a partially executed transaction that yield a temporary failure.
It would probably result in message duplication.

diffstat:

 src/lib-sieve/sieve-result.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 37ddc42c007c -r 033a318a0fea src/lib-sieve/sieve-result.c
--- a/src/lib-sieve/sieve-result.c	Mon Dec 21 23:51:55 2015 +0100
+++ b/src/lib-sieve/sieve-result.c	Tue Dec 22 21:28:17 2015 +0100
@@ -1371,6 +1371,8 @@
 			switch ((ret=_sieve_result_implicit_keep
 				(result, ( status != SIEVE_EXEC_OK ))) ) {
 			case SIEVE_EXEC_OK:
+				if ( result_status == SIEVE_EXEC_TEMP_FAILURE )
+					result_status = SIEVE_EXEC_FAILURE;
 				break;
 			case SIEVE_EXEC_TEMP_FAILURE:
 				if (!result->executed) {


More information about the dovecot-cvs mailing list