[Dovecot] make imap search less verbose

Timo Sirainen tss at iki.fi
Tue Jan 24 01:19:47 EET 2012


On 24.1.2012, at 0.19, Jan-Frode Myklebust wrote:

> On Mon, Jan 23, 2012 at 11:56:49PM +0200, Timo Sirainen wrote:
>> 
>> No way to disable it without modifying code. I think SOGo should fix it anyway..
>> 
> 
> Ok, thanks. SOGo will get fixed. I was just looking for a quick
> workaround while we wait for updated sogo.

With Dovecot you can do:

diff -r 759e879c4c42 src/lib-storage/index/index-search.c
--- a/src/lib-storage/index/index-search.c	Fri Jan 20 18:59:16 2012 +0200
+++ b/src/lib-storage/index/index-search.c	Tue Jan 24 01:19:18 2012 +0200
@@ -1200,9 +1200,9 @@
 			text = t_strdup_printf("Searched %d%% of the mailbox, "
 					       "ETA %d:%02d", (int)percentage,
 					       secs/60, secs%60);
-			box->storage->callbacks.
+			/*box->storage->callbacks.
 				notify_ok(box, text,
-					  box->storage->callback_context);
+					  box->storage->callback_context);*/
 		} T_END;
 	}
 	ctx->last_notify = ioloop_timeval;


More information about the dovecot mailing list