Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Mutt automatically remove 'N' flag from e-mail after it was opened. I don't want to mark this flag again after I saw content of mail. It would be better to override Mutt 'mark as read' behavior only when I enter specific command or particular rule applied i.e. content has been seen over 10s.

How to disable Mutt automatic 'N' flag removal ? Is it possible to apply rules to trigger 'mark as read' ?

share|improve this question
Hi, did you manage to resolve this? I'd like to disable that too :) – Guido May 2 '14 at 16:59
I didn't. When I want to keep e-mail unread to do something with it in future I simply change its state to new by typing 'N' after reading it. – Piotr Król May 2 '14 at 23:13

The imap_peek option might be what you're looking for.

share|improve this answer
Unfortunately this is not what I'm looking for. Disabling this option cause mutt not to sync in real time, synchronization with IMAP server is performed on folder change or sync-mailbox. – Piotr Król May 25 '13 at 22:45

I'm looking for a good solution to this as well.

Here is one (imperfect) solution that I tried:

macro index <return> "<previous-unread><next-unread><enter><set-flag>N"  "go to unread message and mark as new"
macro pager j "<next-unread><set-flag>N" "j- marking emails as new"
macro pager k "<previous-unread><set-flag>N" "k- marking emails as new"

This kinda works if you don't care about trampling over the old flag. (eg: if you are already using unset mark_old anyways)

Another thing that is possible is to set read_only in muttrc- but obviously there are huge limitations here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.