dovecot-2.1-pigeonhole: LDA Sieve plugin: fixed sieve_before bug...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Fri May 4 12:40:51 EEST 2012
details: http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/aa611f912da6
changeset: 1620:aa611f912da6
user: Stephan Bosch <stephan at rename-it.nl>
date: Fri May 04 11:40:39 2012 +0200
description:
LDA Sieve plugin: fixed sieve_before bug that made it only work when mail_debug=yes.
diffstat:
src/plugins/lda-sieve/lda-sieve-plugin.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r 7f9218fe9fac -r aa611f912da6 src/plugins/lda-sieve/lda-sieve-plugin.c
--- a/src/plugins/lda-sieve/lda-sieve-plugin.c Wed May 02 01:17:49 2012 +0200
+++ b/src/plugins/lda-sieve/lda-sieve-plugin.c Fri May 04 11:40:39 2012 +0200
@@ -653,9 +653,9 @@
setting_name = "sieve_before";
sieve_before = mail_user_plugin_getenv(mdctx->dest_user, setting_name);
while ( sieve_before != NULL && *sieve_before != '\0' ) {
- if ( debug && lda_sieve_multiscript_get_scripts
+ if ( lda_sieve_multiscript_get_scripts
(svinst, setting_name, sieve_before, master_ehandler,
- &script_sequence) == 0 ) {
+ &script_sequence) == 0 && debug ) {
sieve_sys_debug(svinst, "%s location not found: %s",
setting_name, sieve_before);
}
More information about the dovecot-cvs
mailing list