maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [solved] Problems with Modest and Gmail (https://talk.maemo.org/showthread.php?t=90399)

freemangordon 2013-06-13 16:58

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by peterleinchen (Post 1351679)
Oh, I just thought the almighty source force is with you ;)

Fully understood and did not expect anything. Was just a shot in the dark. Maybe you could see something similar happen when reading the imap folder list?

Anyway, thanks for your efforts to keep that gadget alive.

Estel is correct in the translation :).

And in addition, please file a bug, despite all the migration issues CSSU had, as now they are solved (mostly if not fully), we'll re-start our bug triaging meetings etc. Otherwise you risk that report to be lost/forgotten.

independent 2013-06-13 20:06

Re: Problems with Modest and Gmail
 
Working again. Thank you very much for the fix.

peterleinchen 2013-06-13 22:22

Re: Problems with Modest and Gmail
 
@freemangordon

I tried to narrow down, but could not see anything.

Here is some excerpt from gmx.de (not okay, as not complete):
Quote:

get folder info online
sending : H00007 LIST (SUBSCRIBED) "" *
received: * LIST (\Subscribed) "/" INBOX
received: H00007 OK LIST completed
get folder info offline
Thread 0 >
Get folder info(0x124758:imap://my.mail%40gmx.de@imap.gmx.net:993/, '') =
uri: imap://my.mail%40gmx.de@imap.gmx.net:993/INBOX
full_name: INBOX
flags: 00000410
< 0 >
sending : H00008 STATUS INBOX (MESSAGES UNSEEN UIDNEXT)
received: * STATUS INBOX (MESSAGES 61 UIDNEXT 2712 UNSEEN 1)
received: H00008 OK STATUS completed
and here from t-online (okay):
Quote:

get folder info online
sending : J00017 LIST (SUBSCRIBED) "" *
received: * LIST (\Subscribed) "/" Drafts
received: * LIST (\Subscribed) "/" INBOX
received: * LIST (\Subscribed) "/" INBOX/Fold2
received: * LIST (\Subscribed) "/" Fold1
received: * LIST (\Subscribed) "/" Sent
received: * LIST (\Subscribed) "/" TMO
received: * LIST (\Subscribed) "/" TMO/PM
received: * LIST (\Subscribed) "/" Trash
received: J00017 OK LIST completed
get folder info offline
sending : J00018 STATUS Trash (MESSAGES UNSEEN UIDNEXT)
received: * STATUS Trash (MESSAGES 545 UIDNEXT 1767 UNSEEN 43)
received: J00018 OK STATUS completed
sending : J00019 STATUS TMO (MESSAGES UNSEEN UIDNEXT)
received: * STATUS TMO (MESSAGES 213 UIDNEXT 215 UNSEEN 3)
received: J00019 OK STATUS completed
sending : J00020 STATUS Sent (MESSAGES UNSEEN UIDNEXT)
received: * STATUS Sent (MESSAGES 1 UIDNEXT 2 UNSEEN 0)
received: J00020 OK STATUS completed
sending : J00021 STATUS FOLD1 (MESSAGES UNSEEN UIDNEXT)
received: * STATUS FOLD1 (MESSAGES 2 UIDNEXT 3 UNSEEN 0)
received: J00021 OK STATUS completed
sending : J00022 STATUS INBOX (MESSAGES UNSEEN UIDNEXT)
received: * STATUS INBOX (MESSAGES 106 UIDNEXT 957 UNSEEN 22)
received: J00022 OK STATUS completed
sending : J00023 STATUS Drafts (MESSAGES UNSEEN UIDNEXT)
received: * STATUS Drafts (MESSAGES 0 UIDNEXT 1 UNSEEN 0)
received: J00023 OK STATUS completed
sending : J00024 STATUS TMO/PM (MESSAGES UNSEEN UIDNEXT)
received: * STATUS TMO/PM (MESSAGES 51 UIDNEXT 52 UNSEEN 0)
received: J00024 OK STATUS completed
sending : J00025 STATUS INBOX/Fold2 (MESSAGES UNSEEN UIDNEXT)
received: * STATUS INBOX/Fold2 (MESSAGES 6 UIDNEXT 7 UNSEEN 0)
received: J00025 OK STATUS completed
Is there similar debug possibilty on N9? So I may check there and maybe see what is different (assuming only to see that all folders are listed)?

fmg:
You'd like to see more?
Where to file this "bug" (bugs.maemo.org?)?

We do need all DEBs (of course not dbg neither dev)?
Hopefully no dependencies to other cssu libs?

freemangordon 2013-06-13 23:02

Re: Problems with Modest and Gmail
 
@peterleinchen - looking at that log, I'd rather say it is not modest to blame.

Code:

sending : H00007 LIST (SUBSCRIBED) "" *
received: * LIST (\Subscribed) "/" INBOX
received: H00007 OK LIST completed

Code:

sending : J00017 LIST (SUBSCRIBED) "" *
received: * LIST (\Subscribed) "/" Drafts
received: * LIST (\Subscribed) "/" INBOX
received: * LIST (\Subscribed) "/" INBOX/Fold2
received: * LIST (\Subscribed) "/" Fold1
received: * LIST (\Subscribed) "/" Sent
received: * LIST (\Subscribed) "/" TMO
received: * LIST (\Subscribed) "/" TMO/PM
received: * LIST (\Subscribed) "/" Trash
received: J00017 OK LIST completed

modest sends one and the same request, but receives different responses. It is either the sent messages differ (which is not seen it the logs) or gmail returns different responses based on some unclear criteria.

However, the place to open a bug is bugs.maemo.org . though it makes no sense to do it without a reproducible testcase.

jacktanner 2013-06-14 01:30

Re: Problems with Modest and Gmail
 
So is this what's finally going to get me to upgrade to CSSU? Or is it possible to release the bug fix to regular SSU?

TomJ 2013-06-14 01:39

Re: Problems with Modest and Gmail
 
Will the cssu update for rhe message fetching bug be pushed out in quick time? Otherwise I will have to overcome my cluelessness and work out which debs I need to install, as I could really do with a working email client again on my odessy across Australia.

PS Many, many thanks to fmg for sorting this out so quickly.

peterleinchen 2013-06-14 05:56

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by freemangordon (Post 1351855)
@peterleinchen - looking at that log, I'd rather say it is not modest to blame.

Yes, it looks like everything wents fine.
But why on earth the N900 receives the list on account GMX.DE with only the INBOX?
Code:

sending : H00007 LIST (SUBSCRIBED) "" *
received: * LIST (\Subscribed) "/" INBOX
received: H00007 OK LIST completed

But on all my other clients (incl. N9) I get the full list of folders?

Maybe the mail client identifies itself with a UserAgent or similar. And this one is outdated on this specific account gmx.de?
Some thing else???

Quote:

Originally Posted by freemangordon (Post 1351855)
modest sends one and the same request, but receives different responses. It is either the sent messages differ (which is not seen it the logs) or gmail returns different responses based on some unclear criteria.

Sorry for eventually confusing you:

This second code fragment was just an example from another account (NOT gmx.de, NOR gmail):
Code:

sending : J00017 LIST (SUBSCRIBED) "" *
received: * LIST (\Subscribed) "/" Drafts
received: * LIST (\Subscribed) "/" INBOX
received: * LIST (\Subscribed) "/" INBOX/Fold2
received: * LIST (\Subscribed) "/" Fold1
received: * LIST (\Subscribed) "/" Sent
received: * LIST (\Subscribed) "/" TMO
received: * LIST (\Subscribed) "/" TMO/PM
received: * LIST (\Subscribed) "/" Trash
received: J00017 OK LIST completed


fffffred 2013-06-14 13:59

Re: Problems with Modest and Gmail
 
Ditto, a long time user here that has never upgraded to the CSSU... but now experiencing the outlined modest issue (thought I was the only one)

This community never ceases to amaze me.

So can the bug be fixed without changing to CSSU???

Thanks.

Quote:

Originally Posted by jacktanner (Post 1351862)
So is this what's finally going to get me to upgrade to CSSU? Or is it possible to release the bug fix to regular SSU?


reinob 2013-06-14 15:01

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by peterleinchen (Post 1351875)
But why on earth the N900 receives the list on account GMX.DE with only the INBOX?
Code:

sending : H00007 LIST (SUBSCRIBED) "" *
received: * LIST (\Subscribed) "/" INBOX
received: H00007 OK LIST completed

But on all my other clients (incl. N9) I get the full list of folders?

Welcome to the wonderful, messy, world of IMAP. I am by no means an expert, but I will point you to section 3.1 of RFC5258.

IMAP includes the concept of subscriptions, so a client can subscribe to specific folders. Some clients use this (Modest?), others not (N9?). A client can either choose to see only subscribed folders or all folders. A server will do whatever it likes, as no known combination of client-server seems to be standards compliant.

sicelo 2013-06-14 15:47

Re: Problems with Modest and Gmail
 
no pichlo ;)
that was meant for peterleinchen

@peterleinchen - you need to use another email client to subscribe to the other folders you need. I used mutt a while back to do so, and voila, modest started displaying them :)


All times are GMT. The time now is 18:53.

vBulletin® Version 3.8.8