On Sun, Dec 26, 2010 at 11:58:27AM +0000, Chris G wrote: > Is there any way I can force mutt to scan all files in 'mailboxes' for > new mail? > > In general during the day everything works fine, new mail is detected in > the normal way by seeing if the access time is before the modified time. > > However when I come to read mail in the morning the incoming E-Mail has > been accessed by my backup system and the above mechanism doesn't work. > I know one way to solve the problem would be to make the backup system a > bit cleverer but that's rather difficult at the moment. > > If I look in the individual mbox files the new mail *is* actually marked > as N[ew] by the mail delivery program. So, is there a way to get mutt > to scan the mbox files in my mailboxes list and flag up which ones have > new mail? ... and is the only reason for not doing this by default that > it would be slow? > No answers? Is that because this is a really silly question or what?
What I want is a means to ask mutt to scan the individual messages in each mbox file in the mailboxes list to look for messages which have 'N' in the Status: header. Since my mail is delivered to the local hard disk it'll be quite fast enough. -- Chris Green
