better check
Bug #12247: don't open search mailboxes on IMAP server