tmp->msgcount = imap_mailbox_check (tmp->path, 0);
tmp->new = imap_mailbox_check (tmp->path, 1);
tmp->msg_unread = imap_mailbox_check (tmp->path, 2);
tmp->msgcount = imap_mailbox_check (tmp->path, 0);
tmp->new = imap_mailbox_check (tmp->path, 1);
tmp->msg_unread = imap_mailbox_check (tmp->path, 2);