On Wed, Jun 23, 2010 at 09:40:42PM +0100, Chris G wrote:
> I'm confused, what is going on, surely mutt should recognise a *new*
> file as one that has new mail in it.
>
... but maybe it doesn't. In fact how would it recognise a newly
created file as one having new mail in it, it typically looks like:-
Times for file mutt
2010-06-23 21:41:40.00 Modifed
2010-06-23 21:41:40.00 Accessed
2010-06-23 22:20:35.07 Status changed
So the access time is the same as the modified time and mutt doesn't
see it as having new mail. Since I rarely leave any mail in these
mbox files (I save mail I want to keep elsewhere) and I have
save_empty=no much of my new mail is in fact a completely new mailbox.
Maybe this is the problem I have seen in the past.
Since I have control of the writing process (my python filtering
script) I can set the modified time for the mbox file a few seconds in
the future, can anyone see any problem with doing this. I have
modified the script to do it and it *seems* to be working but I may
have overlooked something.
--
Chris Green