aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fetchmail.man3
-rw-r--r--imap.c7
2 files changed, 6 insertions, 4 deletions
diff --git a/fetchmail.man b/fetchmail.man
index fae705aa..13e94071 100644
--- a/fetchmail.man
+++ b/fetchmail.man
@@ -1077,8 +1077,7 @@ IMAP2/IMAP2BIS:
RFC 1176, RFC 1732
.TP 5
IMAP4:
-RFC 1730, RFC 1731, RFC 1732, RFC 2060
+RFC 1730, RFC 1731, RFC 1732, RFC 2060, RFC 2061
.TP 5
ETRN:
RFC 1985
-
diff --git a/imap.c b/imap.c
index f6a68ea9..d1ebe156 100644
--- a/imap.c
+++ b/imap.c
@@ -259,9 +259,12 @@ static int imap_delete(FILE *sockfp, struct query *ctl, int number)
/* expunges change the fetch numbers */
number -= deletecount;
- /* use SILENT if possible as a minor throughput optimization */
+ /*
+ * Use SILENT if possible as a minor throughput optimization.
+ * Note: this has been dropped from IMAP4rev1.
+ */
if ((ok = gen_transact(sockfp,
- imap_version >= IMAP4
+ imap_version == IMAP4
? "STORE %d +FLAGS.SILENT (\\Deleted)"
: "STORE %d +FLAGS (\\Deleted)",
number)))