<<< Date Index >>>     <<< Thread Index >>>

Re: ~O patterns are terribly inaccurate



And the clouds parted, and Justin Gombos said...
> * Michael Tatge <Michael.Tatge@xxxxxx> [2004-11-12 11:57]:
> > * On Fri, Nov 12, 2004 Justin Gombos (mindfuq@xxxxxxxxxxxxxx) muttered:
> > > * Michael Tatge <Michael.Tatge@xxxxxx> [2004-11-12 09:04]:
> > > > 
> > > > Well it matches all messages flagged as "old". What else did you
> > > > expect?
> > > 
> > > in my case ~O is matching messages that are brand spanking new,
> > > despite having current timestamps (like inbound messages from the
> > > mutt-users mailing list, for example).
> > 
> > That is indeed strange. What type of folders are you using? mbox?
> 
> Yes, this is the mbox format, so file access times should (hopefully)
> be ignored.  
> 
> Ultimately I think this is a defect in mutt, but it's hard to analyze
> without knowing how mutt decides to mark something as old.  It's doing
> something strange, and it's appearantly not using any of the dates in
> the header.  Mutt was properly marking new inbound mail as 'N', then
> switched started marking new inbound mail with the 'O' flag as soon as
> I switched ISPs.


"Old" messages are usually those which have the "O" flag set in the
"Status:" header.  This status typically means that the message is
currently unread and was unread last time the mailbox was closed and
written.  (Eg - exiting mutt w/unread messages will switch them from
showing as "N" to "O".)

See
http://www.expita.com/header1.html
about halfway down the page for the description of this header and a
list of possible values.  It's RFC2822 _compliant_, but not standard.

If you didn't see this before switching ISPs, are you (or they) by
chance doing any processing of the incoming messages on the new ISP's
server?  I'm just wondering if the mail is passing through anything
that might set the flag on its way to final delivery.

HTH-
Brian


  /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
 | Brian Gerard                    I love the way Microsoft follows       |
 | First initial + 'lists'      standards. In much the same manner that   |
 | at technobrat dot com            fish follow migrating caribou.        |
 |                                          -Paul Tomblin                 |
  \______________________________________________________________________/