Patch to use imap_root before imap connect (significant speedup)
|Reported by:||ziba||Owned by:||alec|
By communicating the roundcube imap_root preference to iloha imap before connecting to imap, we can take advantage of iloha's ability to skip the namespace discovery phase.
In an environment like ours (80K users, 900K mailboxes), this cuts the time it takes the backend to load a single email message from ~1.7 seconds to ~0.2 seconds (on an unloaded test system).
Please let me know if I can change anything to make this patch more acceptable. Thanks.