dovecot-2.2-pigeonhole: lib-sieve: file storage: Fixed handling ...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Sat Mar 14 22:21:56 UTC 2015


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/a99606c0f9bc
changeset: 2014:a99606c0f9bc
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sat Mar 14 23:21:06 2015 +0100
description:
lib-sieve: file storage: Fixed handling of invalid active script link.
The error status code wasn't set, so this was handled as an error rather than a warning in the LDA plugin.

diffstat:

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

diffs (12 lines):

diff -r 1b09618ca88d -r a99606c0f9bc src/lib-sieve/storage/file/sieve-file-storage-active.c
--- a/src/lib-sieve/storage/file/sieve-file-storage-active.c	Sat Mar 14 23:06:37 2015 +0100
+++ b/src/lib-sieve/storage/file/sieve-file-storage-active.c	Sat Mar 14 23:21:06 2015 +0100
@@ -277,6 +277,8 @@
 		 * ignore this situation and report 'no active script'.
 		 * Activation should fix this situation.
 		 */
+		sieve_storage_set_error(storage, SIEVE_ERROR_NOT_FOUND,
+			"Active script is invalid");
 		return NULL;
 	}
 


More information about the dovecot-cvs mailing list