aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-11-22 19:38:36 +0100
committerGuilhem Moulin <guilhem@fripost.org>2016-11-22 19:38:36 +0100
commitd33c699343282fae32e0b966c17377595ee52db0 (patch)
tree00ab2a8a7119d16379050a6809e4c401f766184b
parent063af8ae790e4e67087aa1ed51aceae1a3b77be0 (diff)
wibble
-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')) {