[imp] newmail pop window not working for a particular user

Schmid Benoit Benoit.Schmid at adm.unige.ch
Tue May 30 05:17:32 PDT 2006


Schmid Benoit wrote:
> Michael M Slusarz wrote:
>  > Quoting Schmid Benoit <Benoit.Schmid at adm.unige.ch>:
>  >
>  >> Schmid Benoit wrote:
>  >>> Goog morning,
>  >>>
>  >>> We use imp-h3-4.1.1
>  >>>
>  >>> We have one of our user that does not have popup working
>  >>> when there are new mails.
>  >>>
>  >>> Options are ok:
>  >>> +------------+--------------+------------+
>  >>> | pref_scope | pref_name    | pref_value |
>  >>> +------------+--------------+------------+
>  >>> | imp        | nav_audio    | 1          |
>  >>> | imp        | nav_popup    | 1          |
>  >>> | imp        | refresh_time | 30         |
>  >>> +------------+--------------+------------+
>  >>> 3 rows in set (0.00 sec)
>  >>>
>  >>> I have connected on her mailbox and my mailbox.
>  >>> I have seen that it it does not work for her although it work for me
>  >>> using the same browser on the same pc.
>  >>> Therefore it seems to be related to her preferences.
>  >>>
>  >>> Would someone have a clue on which preference could make
>  >>> this behaviour change.
>  >>>
>  >>> Regards,
>  >> Hello,
>  >>
>  >> I have noticed that $imp_mailbox->newMessageCount() returns 0 when I
>  >> have the problem.
>  >
>  > Some other process running for that user is removing the 'recent' 
> flag in the IMAP mailbox.
>  >
>  > michael
>  >
>  > ___________________________________
>  > Michael Slusarz [slusarz at horde.org]
>  > --IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>  > Frequently Asked Questions: http://horde.org/faq/
>  > To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> Hello,
> 
> I have checked in the imap log for this user.
> There is a login->select->close from the webmail server.
> There does not seem to have other access to the imap server.
> I may have a bug in my php-imap module.
> But I am wondering why I have the problem with specific users
> on the same imap server.
> 
> Regards,
Hello,

I have also checked with ethereal.
It may due to the examine. Would you know if this is the cause.
If yes, would you know why the examine is done after/before the search
depending on user?
Would you have any other suggestions to trace this problem?

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

Sequence with a popup (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
+ PDM1NTU1MTI4MjguODEzOTQ1NUBldHVtYngudW5pZ2UuY2g+
ZXR1dGVzdDEgZThmZjRhZGVhMDMyNDg5MTQwMzQ5OTEzODUwYmNiYWU=
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 Junk NonJunk $Forwarded)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen Junk 
NonJunk $Forwarded \*)]
* 1 EXISTS
* 1 RECENT
* OK [UNSEEN 1]
* OK [UIDVALIDITY 1065769647]
* OK [UIDNEXT 416]
00000002 OK [READ-WRITE] Completed
00000003 LIST "" *
* LIST (\NoInferiors) "/" INBOX
* LIST (\HasNoChildren) "/" Sent
* LIST (\HasNoChildren) "/" sent-mail
00000003 OK Completed
00000004 LIST "" "Shared Folders/User/*"
00000004 OK Completed
00000005 FETCH 1 UID
* 1 FETCH (UID 415)
00000005 OK Completed
00000006 SEARCH RECENT
* SEARCH 1
00000006 OK Completed
00000007 FETCH 1 (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 (\Recent) UID 415 INTERNALDATE "30-May-2006 13:54:24 
+0200" RFC822.SIZE 894 ENVELOPE ("Tue, 30 May 2006 13:54:23 +0200 
(CEST)" NIL NIL NIL NIL ((NIL NIL "Undisclosed recipients" NIL)(NIL NIL 
NIL NIL)) NIL NIL NIL "<0J02005JXUEDOB10 at etumbx.unige.ch>") 
BODY[HEADER.FIELDS (Newsgroups Content-MD5 Content-Disposition 
Content-Language Content-Location Followup-To References)] {2}

)
00000007 OK Completed
00000008 NOOP
00000008 OK Completed
00000009 EXAMINE INBOX
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen Junk NonJunk $Forwarded)
* OK [PERMANENTFLAGS ()]
* 1 EXISTS
* 0 RECENT
* OK [UNSEEN 1]
* OK [UIDVALIDITY 1065769647]
* OK [UIDNEXT 416]
00000009 OK [READ-ONLY] Completed
0000000a UID FETCH 415 UID
* 1 FETCH (UID 415)
0000000a OK Completed
0000000b FETCH 1 (ENVELOPE BODY.PEEK[HEADER.FIELDS (Newsgroups 
Content-MD5 Content-Disposition Content-Language Content-Location 
Followup-To References)] INTERNALDATE RFC822.SIZE FLAGS)
* 1 FETCH (FLAGS () INTERNALDATE "30-May-2006 13:54:24 +0200" 
RFC822.SIZE 894 ENVELOPE ("Tue, 30 May 2006 13:54:23 +0200 (CEST)" NIL 
NIL NIL NIL ((NIL NIL "Undisclosed recipients" NIL)(NIL NIL NIL NIL)) 
NIL NIL NIL "<0J02005JXUEDOB10 at etumbx.unige.ch>") BODY[HEADER.FIELDS 
(Newsgroups Content-MD5 Content-Disposition Content-Language 
Content-Location Followup-To References)] {2}

)
0000000b OK Completed
0000000c UID SEARCH UNSEEN
* SEARCH 415
0000000c OK Completed
0000000d GETQUOTAROOT INBOX
* QUOTAROOT INBOX user/etutest1
* QUOTA user/etutest1 (STORAGE 3 102400)
0000000d OK Completed
0000000e LOGOUT
* BYE LOGOUT received
0000000e OK Completed


Thanks in advance for your help.
-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

       Benoit Schmid              Tel: (++41-22) 379-7209
       UNIGE Postmaster

       University of Geneva - Information Technology Division

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


More information about the imp mailing list