<<< Date Index >>>     <<< Thread Index >>>

Re: Change unread mark without open the message



> I don't know why your 'set mark_old=no' doesn't work. Do you possibly
> have a folder-hook somewhere that overrides it?

mark_old also does not work for IMAP. I'm attaching patch fixing the
annoyance.

-- 
        Vlad
IMAP mark_old patch

diff --git a/imap/command.c b/imap/command.c
--- a/imap/command.c
+++ b/imap/command.c
@@ -895,7 +895,7 @@
         dprint (3, (debugfile, "Found %s in buffy list (OV: %d ON: %d U: 
%d)\n",
                     mailbox, olduv, oldun, status->unseen));
         
-        if (olduv && olduv == status->uidvalidity)
+        if (olduv && olduv == status->uidvalidity && option(OPTMARKOLD))
         {
           if (oldun < status->uidnext)
             inc->new = status->unseen;

Attachment: pgpF6I9I0L0Fk.pgp
Description: PGP signature