aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinterimap2
1 files changed, 2 insertions, 0 deletions
diff --git a/interimap b/interimap
index 150c754..eccd3ab 100755
--- a/interimap
+++ b/interimap
@@ -1208,6 +1208,8 @@ while (1) {
# 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')) {