On Wed, 27 Aug 2003 23:06:25 +0200 (CEST), Andreas Aardal Hanssen
<[EMAIL PROTECTED]> wrote:
On Wed, 27 Aug 2003, Henry Baragar wrote:
When I run Opera7 against bincIMAP with the latest patches on OpenBSD
3.2, I don't always get notified of new messages in a timely fashion.
When I look at the Opera7 log file, I see that it issues a "STATUS"
command get issued for each mail folder and that bincIMAP replies with a
"STATUS "INBOX" (MESSAGES 691 UIDNEXT 783 RECENT 1)" for the INBOX
(wihch I believe indicates that I have one "unread" message but no
"unseen" messages). When
Actually, it means that Opera has only asked for the number of messages,
the next UID value and the number of recent messages. Opera can also ask
for UNSEEN, but it doesn't.
So, Opera sends a "STATUS INBOX (MESSAGES UIDNEXT RECENT)". Should it send
a "STATUS INBOX (MESSAGES UIDNEXT RECENT UNSEEN)"? Is there something else
it should send (in your opinion)?
But the status response "RECENT 1" should ring
a bell for Opera.
See below.
Could it be that you have found three bugs in Opera in the same couple of
hours? :-)
OK... three bug reports to Opera tonight.
I select the INBOX, Opera7 sends a "SELECT INBOX" that bincIMAP replies
with a "1 RECENT", a "OK [UNSEEN 674] Message 674 is first unseen", and
a few more lines (see the log file).
From this evidence, I would conclude that bincIMAP does not actually
check for new messages when it gets a "STATUS" command, but does when it
gets a "SELECT" command. Is this the expected behaviour?
Actually, the '1 RECENT' means that one message has arrived in the
mailbox
that Opera has never seen before. It denotes a recent delivery, and most
email clients use this (and a changed MESSAGES or UNSEEN) to report a
recent delivery.
Er, except that Opera does not mark a message read until the user
explicitly marks the message as being read. The '1 recent' refered to a
message that Opera downloaded and that I saw (ok read) but did not actually
mark the message as being read. In qmail terms, the message has been moved
from "new" to "cur" but the "S" suffix has not yet been added to the file
name. In this case, there was one unread message in "cur" and another
unread message in "new" that was also unseen.
I have no idea why Opera does not report the recent delivery.
Maybe you'd want to file a bug report to Opera?
Andy :-)
--
Henry Baragar
Principal, Technical Architecture
416-453-5626
Instantiated Software Inc.
http://www.instantiated.ca