mail_index_lookup_first() didn't always find the result. This caused SELECT not to return UNSEEN number always.
mail_index_lookup_first() didn't always find the result.
This caused SELECT not to return UNSEEN number always.

--HG--
branch : HEAD

dscho/dovecot,dscho/dovecot,dscho/dovecot,dscho/dovecot,dscho/dovecot