summaryrefslogtreecommitdiffstats
path: root/mx.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-07-26 13:57:57 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-07-26 13:57:57 +0000
commitf8777dad17ba170a526e850daa5c0677b821014d (patch)
tree785e8d3f49e45847e1afcfd845c8a008e62c79ed /mx.c
parentb2ab265dd42ff9672e6c7a01a480af2277c38a7a (diff)
Assorted IMAP fixes. From Brendan Cully <brendan@kublai.com>,
message <19990725150346.A19750@xanadu.kublai.com>.
Diffstat (limited to 'mx.c')
-rw-r--r--mx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mx.c b/mx.c
index 01ad6d41..b685b9af 100644
--- a/mx.c
+++ b/mx.c
@@ -700,7 +700,8 @@ static int sync_mailbox (CONTEXT *ctx)
#ifdef USE_IMAP
case M_IMAP:
- rc = imap_sync_mailbox (ctx);
+ /* extra argument means EXPUNGE */
+ rc = imap_sync_mailbox (ctx, M_YES);
break;
#endif /* USE_IMAP */
}
@@ -787,7 +788,7 @@ int mx_close_mailbox (CONTEXT *ctx)
}
#ifdef USE_IMAP
- /* IMAP doesn't support an OLD flag */
+ /* IMAP servers manage the OLD flag themselves */
if (ctx->magic != M_IMAP)
#endif
if (option (OPTMARKOLD))