# we need to issue a NOOP command or go back to AUTH state since the
# LIST command may not report the correct HIGHESTMODSEQ value for
# the mailbox currently selected
+ # RFC3501: "The STATUS command MUST NOT be used as a "check for
+ # new messages in the selected mailbox" operation"
if (defined $MAILBOX) {
# Prefer UNSELECT over NOOP commands as it requires a single command per cycle
if ($lIMAP->incapable('UNSELECT') or $rIMAP->incapable('UNSELECT')) {