6.0.0-beta1
10/17/25

[#3987] New mail popup not working
Summary New mail popup not working
Queue IMP
Queue Version 4.1.1
Type Bug
State Resolved
Priority 1. Low
Owners
Requester benoit.schmid (at) adm (dot) unige (dot) ch
Created 05/31/2006 (7079 days ago)
Due
Updated 05/31/2006 (7079 days ago)
Assigned
Resolved 05/31/2006 (7079 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/31/2006 10:03:15 PM Michael Slusarz Comment #3
State ⇒ Resolved
Reply to this comment
To the extent this issue was caused by IMP switching between 
mailboxes, this has been resolved in IMP HEAD (i.e. IMP 4.2).   
However, this commit touches so much code, and the IMP core codebase 
in general has changed so much since IMP 4.1.x, that I am not 
comfortable backporting any of this to IMP 4.2.  So you will either 
have to use a CVS snapshot or wait for IMP 4.2 to see this.



Just in case you wanted to try to backport this, the relevant changes 
to HEAD are located here:

http://lists.horde.org/archives/cvs/Week-of-Mon-20060529/058435.html
05/31/2006 06:03:14 PM Michael Slusarz Comment #2 Reply to this comment
You wouldn't happen to have $conf['server']['cache_folders'] set to 
false (in imp/config/conf.php) would you?
05/31/2006 08:13:36 AM benoit (dot) schmid (at) adm (dot) unige (dot) ch Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ New mail popup not working
Queue ⇒ IMP
Reply to this comment
Hello,



With the latest version of imp, the popup window

for new mail does not work because new mails (recent)

are not detected.

I have done a trace of the imap dialogue to find out the source.

imp does a select inbox.

This reset the recent flags of new mail.

Then it does a examine inbox and search recent.

There are no recent msgs as flags

have been cleared by the previous select inbox.

I can forward a sequence that works if you want.

When it works I have select -> list -> fetch -> search recent.

I do not have select -> list -> noop -> examine -> fetch -> search recent



This is the trace:

Sequence without a popup (not working fine):

* OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS 
CHILDREN BINARY UNSELECT LANGUAGE STARTTLS XSENDER X-NETSCAPE 
XSERVERINFO AUTH=DIGEST-MD5 AUTH=PLAIN AUTH=CRAM-MD5] etumbx.unige.ch 
IMAP4 service (University of Geneva / Authorized use only)

00000000 AUTHENTICATE CRAM-MD5

+ PDI4Mzg1NjAyNjYuODEzODgzOEBldHVtYngudW5pZ2UuY2g+

YmVzIDg2YjFjZDcwODFlYjY0NzBiZWM0YjMyOWU3NGZmZmE3

00000000 OK User logged in

00000001 CAPABILITY

* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS 
CHILDREN BINARY UNSELECT LANGUAGE STARTTLS XSENDER X-NETSCAPE 
XSERVERINFO

00000001 OK Completed

00000002 SELECT INBOX

* FLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded)

* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded \*)]

* 5 EXISTS

* 1 RECENT

* OK [UNSEEN 1]

* OK [UIDVALIDITY 1077265978]

* OK [UIDNEXT 38]

00000002 OK [READ-WRITE] Completed

00000003 LIST "" *

* LIST (\NoInferiors) "/" INBOX

* LIST (\HasNoChildren) "/" Brouillon

* LIST (\HasNoChildren) "/" "El&AOk-ments envoy&AOk-s"

* LIST (\HasNoChildren) "/" Sent

* LIST (\HasNoChildren) "/" Trash

* LIST (\HasNoChildren) "/" sent-mail

00000003 OK Completed

00000004 LIST "" "Shared Folders/User/*"

00000004 OK Completed

00000005 NOOP

00000005 OK Completed

00000006 EXAMINE INBOX

* FLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded)

* OK [PERMANENTFLAGS ()]

* 5 EXISTS

* 0 RECENT

* OK [UNSEEN 1]

* OK [UIDVALIDITY 1077265978]

* OK [UIDNEXT 38]

00000006 OK [READ-ONLY] Completed

00000007 FETCH 1,2:5 UID

* 1 FETCH (UID 33)

* 2 FETCH (UID 34)

* 3 FETCH (UID 35)

* 4 FETCH (UID 36)

* 5 FETCH (UID 37)

00000007 OK Completed

00000008 FETCH 1:5 (UID ENVELOPE BODY.PEEK[HEADER.FIELDS (Newsgroups 
Content-MD5 Content-Disposition Content-Language Content-Location 
Followup-To References)] INTERNALDATE RFC822.SIZE FLAGS)

* 1 FETCH (FLAGS () UID 33 INTERNALDATE "26-May-2006 16:18:22 +0200"

.........

00000008 OK Completed

00000009 SEARCH RECENT

* SEARCH

00000009 OK Completed

0000000a UID SEARCH UNSEEN

* SEARCH 33 34 35 36 37

0000000a OK Completed

0000000b GETQUOTAROOT INBOX

* QUOTAROOT INBOX user/bes

* QUOTA user/bes (STORAGE 91 102400)

0000000b OK Completed

0000000c LOGOUT

* BYE LOGOUT received

0000000c OK Completed


Saved Queries