我想使用Mutt(或NeoMutt,如果有区别的话)以只读模式查看maildirs。
I know that I can use the -R
command-line argument to start Mutt in read-only mode, or press the %
key to toggle between read-only and read-write mode, but this setting seems to reset every time I open a different folder. Can I force it to stay read-only all the time? I wouldn’t want to accidentally modify the mailbox just because I forgot to hit %
after opening a folder.
Also, I don’t want to use a filesystem-based approach, e.g. chmod
ing all of the files and directories to be read-only, since they will indeed be modified by other tools – but simply reading them should not change them in any way.
To reproduce, start mutt -R
in the default mailbox. When using the default status bar, there will be a %
sign at the left, marking the mailbox to be opened read-only. Then use c
to open another (or even the same) folder. The %
sign is gone.