+--- a/mx.c
++++ b/mx.c
+@@ -1005,6 +1005,8 @@
+ {
+ if (!ctx->quiet)
+ mutt_message _("Mailbox is unchanged.");
++ if (ctx->magic == M_MBOX || ctx->magic == M_MMDF)
++ mbox_reset_atime (ctx, NULL);
+ mx_fastclose_mailbox (ctx);
+ return 0;
+ }
+--- a/mx.h
++++ b/mx.h
+@@ -59,6 +59,7 @@
+ int mmdf_parse_mailbox (CONTEXT *);
+ void mbox_unlock_mailbox (CONTEXT *);
+ int mbox_check_empty (const char *);
++void mbox_reset_atime (CONTEXT *, struct stat *);
+
+ int mh_read_dir (CONTEXT *, const char *);
+ int mh_sync_mailbox (CONTEXT *, int *);