Opened 3 years ago

Closed 3 years ago

#1487121 closed Bugs (fixed)

hMailserver: Inserting message row on new messages stopped working (AJAX)

Reported by: rosali Owned by:
Priority: 5 Milestone: 0.5-beta
Component: User Interface Version: 0.4.2
Severity: normal Keywords:
Cc:

Description

If I comment the status check in line 36 of check_recent.inc it starts working again.

if ($mbox_name == $current){// && ($status = $IMAP->mailbox_status

Log snippet:

[10-Nov-2010 07:02:31 +0100]: C: A0004 STATUS INBOX (MESSAGES UNSEEN)
[10-Nov-2010 07:02:31 +0100]: S: * STATUS "INBOX" (MESSAGES 46 UNSEEN 3)
[10-Nov-2010 07:02:31 +0100]: S: A0004 OK Status completed
[10-Nov-2010 07:02:31 +0100]: C: A0005 SELECT INBOX
[10-Nov-2010 07:02:31 +0100]: S: * 46 EXISTS
[10-Nov-2010 07:02:31 +0100]: S: * 2 RECENT

It looks like the problem is the detection of maxuid. $_SESSIONfolders?:

[10-Nov-2010 08:03:56 +0100]: array (
  'INBOX' => 
  array (
    'cnt' => 51,
    'maxuid' => NULL,
  ),
  'Sent' => 
  array (
    'cnt' => 11,
    'maxuid' => NULL,
  ),
  'Junk' => 
  array (
    'cnt' => 20,
    'maxuid' => NULL,
  ),
  'Papierkorb' => 
  array (
    'cnt' => 361,
    'maxuid' => NULL,
  ),
  'Drafts' => 
  array (
    'cnt' => 1,
    'maxuid' => NULL,
  ),
)

Change History (2)

comment:1 Changed 3 years ago by dziobak

I don't know if I understand Rosali, but for me the new messages doesn't display too, although the new messages counter works well. (I use dovecot 1.2.14)

comment:2 Changed 3 years ago by alec

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

It's working for rosali after update to current trunk.

Note: See TracTickets for help on using tickets.