Ken, et al --

...and then Ken Weingold said...
% 
...
% 
% I don't have a setting for mark_old at all.  I see sometimes something
% flash about new mail, but the status bar never says anything, or
% moving the indicator bar or something makes it disappear.  Could the
% server (Panix) be running something that is messing up mutt with
% respect to reporting new mail?

It's certainly possible...  Forgive the upcoming review of how mutt
determines the "new-mail-ness" of a folder, but since this has been
discussed numerous times and the question still comes up it seems worth
it.

When a mail folder is read, it access time (atime) is updated.  That
"clears the count", so to speak, and mutt figures that that's the last
time the folder was seen and so that's the "time to beat" for new mail.

When a mail folder is written, such as by new mail delivery, the
modification time (mtime) is updated.  mutt compares the mtime with the
atime and if the former is later then it figures you have had new mail
arrive and it so marks the folder.

This method of checking is a good thing, because it doesn't matter how
big the folder is; the time to check is fixed.  It is not so good,
though, because anything that updates the atime will "break" it.  Past
experience has shown that there are *lots* of things that can update the
atime.  Your mission, should you choose to accept it, is to find what's
doing that and stop it.  It could be your shell, a biff program, a backup
program, or who knows what.

You can test out this theory by using touch to update the atime backwards
or the mtime forwards to force the "new mail condition" and then have
mutt look at it and see whether or not it's flagged.  Hey, it's possible
that your mutt has a problem; let's find out.

You may recall your own problems with this on your nfs-mounted mail spool
some time back.  Another possibility is that the disk server's clock and
the login server's clock are not in sync.


% 
% Thanks.

HTH & HAND


% 
% 
% -Ken

Man, it must be "put things in quotes" day here at my house.  Weird.


:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg30397/pgp00000.pgp
Description: PGP signature

Reply via email to