Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#1486044 closed Bugs (worksforme)

Message List fills up with duplicate messages when checking for recent mails

Reported by: rosali Owned by:
Priority: 5 Milestone: 0.4-beta
Component: User Interface Version: 0.3-rc1
Severity: major Keywords:
Cc: suporte@…

Description

Steps to reproduce:

  • Select a folder other than INBOX which contains at least one message
  • Click on "Check for new messages"

-> Result: Message List is duplicated

IMAP-Server: hMail 5.2
Browser: IE 6-8 / Firefox

This bug was reported in the Forum several times. But I never was able to reproduce until I noticed that this behaviour occurs only on folders other than INBOX.

Change History (10)

comment:1 Changed 4 years ago by Lazlo

Can't reproduce it with Dovecot and Firefox. I think this is a hMail issue.

comment:2 Changed 4 years ago by netbit

  • Cc suporte@… added

Can't reproduce this bug here with Dovecot 1.2.1 / RC trunk 2814 / Firefox 3.5.2

comment:5 Changed 4 years ago by rosali

Please review hMailServer Forum topic @ http://hmailserver.com/forum/viewtopic.php?f=7&t=15978&p=92443#p92443

hMailServer Developer claims that RoundCube method for checking for new messages is not fail safe.

comment:6 Changed 4 years ago by knafve

.. for a bunch of different reasons.

In short, the IMAP RFC allows IMAP servers to set the \Recent flag on messages even if they are not recent. It's against the recommendation, but not forbidden. Hence, an IMAP client can't expect all \Recent messages to be recent. The client need to compare the UID's of the messages with the already received UID's as well, to prevent duplicates.

Second, the IMAP RFC does not explictly specify what "recent" means. It could mean a lot of different things.

Third, neither GMail nor Mercury32 seems to set the \Recent flag on new messages so in these the "Check for new mail" doesn't appear to work. MailEnable? doesn't reset it when the client is logged out, so when using MailEnable? duplicate messages will appear.

comment:7 Changed 4 years ago by Cube8

So, why doesn't is happen in the Inbox folder?

comment:8 Changed 4 years ago by richard.scott

I get this happening in 3.0.1 in my inbox if (and only if) i tick the "check for messages in all boxes" option

comment:9 Changed 3 years ago by alec

  • Resolution set to worksforme
  • Status changed from new to closed

hMailServer's users need update to version 5.3 Build 362. Others should try with svn-trunk version.

comment:10 Changed 3 years ago by richard.scott

but I don't have a "hMailServer"
I have a courier-imap server.

Note: See TracTickets for help on using tickets.