[Dovecot] make imap search less verbose
We have an imap-client (SOGo) that doesn't handle this status output while searching:
* OK Searched 76% of the mailbox, ETA 0:50
Is there any way to disable this output on the dovecot-side?
-jf
On 23.1.2012, at 23.48, Jan-Frode Myklebust wrote:
We have an imap-client (SOGo) that doesn't handle this status output while searching:
- OK Searched 76% of the mailbox, ETA 0:50
Is there any way to disable this output on the dovecot-side?
No way to disable it without modifying code. I think SOGo should fix it anyway..
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;
participants (2)
-
Jan-Frode Myklebust
-
Timo Sirainen