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)

marmistrz 2013-06-08 11:37

[solved] Problems with Modest and Gmail
 
Hi,

I was using modest for quite a long time. From time to time I had problems opening e-mails, but re-adding the account did the trick. But now the problems are counter-attacking... :)

When I try to open any e-mail received lately I get errors like:

"Message (title) not available on the server"

Re-adding the account doesn't fix anything.

What may be going on? Thanks.

EDIT: Now the solution is available

CSSU users: Just update the CSSU

Nokia SSU users: http://talk.maemo.org/showpost.php?p...7&postcount=13 or use CSSU

EDIT2: the fix is now in cssu stable.

sicelo 2013-06-08 16:19

Re: Problems with Modest and Gmail
 
works for me.
can any other mail client open your gmail correctly? there are other mail clients available for fremantle which could be used to compare.

does any connection type also do this?

marmistrz 2013-06-08 16:33

Re: Problems with Modest and Gmail
 
Which one of the counterparts would have a wizard to quickly set up the gmail account?

nokiabot 2013-06-08 17:35

Re: Problems with Modest and Gmail
 
@woody according to your post you should help people or clear out the mess from the mail client:)

king Ralphred 2013-06-08 18:17

Re: Problems with Modest and Gmail
 
Same here. My last 2 emails come up as not found on server.

marmistrz 2013-06-08 19:16

Re: Problems with Modest and Gmail
 
log from modest. It's fetching the message but thinks that the message doesnt exist
Code:

Authentication-Results: mx.google.com;
      spf=pass (google.com: best guess record for domain of webmaster@talk.maemo.org designates 213.128.137.28 as permitted sender) smtp.mail=webmaster@talk.maemo.org
Received: by talk.maemo.org (Postfix, from userid 33)
        id 317DC403DA; Sat,  8 Jun 2013 18:17:18 +0000 (UTC)
To: marmistrzmar@gmail.com
Subject: Reply to thread 'Problems with Modest and Gmail'
X-PHP-Originating-Script: 33:class_mail.php
From: "maemo.org - Talk" <webmaster@talk.maemo.org>
Auto-Submitted: auto-generated
Message-ID: <20130608181716.cc9ee9f57049@talk.maemo.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-Mailer: vBulletin Mail via PHP
Date: Sat,  8 Jun 2013 18:17:18 +0000 (UTC)

Dear marmistrz,

king Ralphred has just replied to a thread you have subscribed to entitled - Problems with Modest and Gmail - in the Maemo 5 / Fremantle forum of maemo.org - Talk.

This thread is located at:
http://talk.maemo.org/showthread.php?t=90399&goto=newpost

Here is the message that has just been posted:
***************
Same here. My last 2 emails come up as not found on server.
***************


There may also be other replies, but you will not receive any more notifications until you visit the forum again.

All the best,
maemo.org - Talk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unsubscription information:

To unsubscribe from this thread, please visit this page:
http://talk.maemo.org/subscription.php?do=removesubscription&type=thread&subscriptionid=141930&auth=81c90e5a71544c27862d6a5f7d4fe702

To unsubscribe from ALL threads, please visit this page:
http://talk.maemo.org/subscription.php?do=viewsubscription&folderid=all
<--
received: )
received: G00007 OK Success
CamelException.setv(0x42d99d58, 109, 'Message with UID 22526 does not exists')


marmistrz 2013-06-09 15:53

Re: Problems with Modest and Gmail
 
Problem persists even after reflash (combined image)
Doesn't workm even with mobile internet

Can anybody help me?

Estel 2013-06-09 17:24

Re: Problems with Modest and Gmail
 
Try pestering CSSU, they were touching modest lately.

marmistrz 2013-06-09 18:23

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by Estel (Post 1350749)
Try pestering CSSU, they were touching modest lately.

downgraded even to the ssu version, but the problem persisting. tracker-processes -r and send&receive doesn't fix anything. maybe it's something corrupt in tracker (wants to save downloaded message with an nonexistent ID?

gorgezilla 2013-06-09 20:28

Re: Problems with Modest and Gmail
 
gmail within the nokia messaging stopped working for me since february. i posted in a thread but no one came to help. so i went to google account by itself.

marmistrz 2013-06-09 20:29

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by gorgezilla (Post 1350776)
gmail within the nokia messaging stopped working for me since february. i posted in a thread but no one came to help. so i went to google account by itself.

I'm not using nokia messaging, but the built-in e-mail client, modest. It started to fail on Friday.

mekenig 2013-06-09 21:15

Re: Problems with Modest and Gmail
 
Same problem here. Worked find for 3.5 years, but started to fail with the "unable to find message" on Friday June 7th. GMail via Nokia messaging works. No change to modest or any installed software, I suspect it is something to do with a gmail change.

Copernicus 2013-06-09 22:16

Re: Problems with Modest and Gmail
 
If it's a GMail change, it hasn't propagated to me yet; Modest on my N900 is working fine handling my GMail account today. (I'm using the vanilla SSU Modest.)

emotion 2013-06-09 22:45

Re: Problems with Modest and Gmail
 
I have this problem about 3 months ago. I have a CSSU 21.2011.38-1Tmaemo7.2 + kernel thumb1 and 51r. I think the problem is only in the Gmail account in my Nokia Messaging. In my Yahoo and Hotmail account I have no problem.
When I tried the reflash and using kernel stock , the same situation. Actually, when someone sends me an email (Gmail), I read it just fine, but if forwarding it, may never come to the sender.

mekenig 2013-06-10 00:39

Re: Problems with Modest and Gmail
 
Thankfully, Nokia Messaging is working fine for me sync'ing with my GMail account so I won't have to ditch my N900 because I can't read incoming gmail.com emails. Still would like to get to the root of it and back to the direct imap gmail access.

peterleinchen 2013-06-10 07:16

Re: Problems with Modest and Gmail
 
It seems this has hit me, too!
I get the same error message since Saturday after reenabling my account due to lock (too many foreign access tries).
At first I was not afraid as I have this same behaviour sometimes with other imap accounts, but it always settled itself with hours (a few logins).
But now it seems modest with manual setup of gmail (NOT using Nokia) keeps failing.

I really hope someone have an idea?
(this would be the second imap mail account becoming unusable on my N900 :()


Quote:

Originally Posted by Copernicus (Post 1350795)
If it's a GMail change, it hasn't propagated to me yet; Modest on my N900 is working fine handling my GMail account today. (I'm using the vanilla SSU Modest.)

Did you send yourself a new test mail and you could fetch it from gmail?
Are you using IMAP?
I am also on stock SSU (of course with PK) and stock modest.

AliasXZ 2013-06-10 11:48

Re: Problems with Modest and Gmail
 
Hey all

With my N900, I have 2 Gmail accounts, both working for years.

First account is a googlemail one (old)
second account is a gmail one.

The googlemail one stopped working where as the gmail one was fine.
I solved it by accessing the 2 accounts via POP3 instead of imap. (Set up mail using Other not pre-configured Google Mail)

Doesn't solve the issue, but that's how I got mail back on my phone.
Does everyone who has this problem have an old googlemail email before they migrated to Gmail?

it has nothing (as far as I can tell) to do with the CSSU/CSSU-thumb.

Copernicus 2013-06-10 12:04

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by peterleinchen (Post 1350827)
Did you send yourself a new test mail and you could fetch it from gmail?
Are you using IMAP?
I am also on stock SSU (of course with PK) and stock modest.

Just tried again now, and yeah, no problems sending or receiving. Yup, I am using IMAP, and stock SSU/modest. (Stock kernel too, though that shouldn't matter.)

freemangordon 2013-06-10 13:30

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by Copernicus (Post 1350881)
Just tried again now, and yeah, no problems sending or receiving. Yup, I am using IMAP, and stock SSU/modest. (Stock kernel too, though that shouldn't matter.)

Just tried, no problem sending and receiving mail from me to me.

CSSU-T 21.2011.38-1Tmaemo8.1 on top of the latest CSSU-thumb

marmistrz 2013-06-10 13:42

Re: Problems with Modest and Gmail
 
Is there any way to debug the mysterious "no message with id" after message has been fetched exception (on previous page)

disappear 2013-06-10 13:51

Re: Problems with Modest and Gmail
 
Strange thing,yes it's not problem to receiving and sending,but when i wanna read some message this I get "Message not available on server"
Is there someone with the same problem

marmistrz 2013-06-10 14:46

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by disappear (Post 1350900)
Strange thing,yes it's not problem to receiving and sending,but when i wanna read some message this I get "Message not available on server"
Is there someone with the same problem

It's exactly my problem.

freemangordon 2013-06-10 15:02

Re: Problems with Modest and Gmail
 
By "receive" I meant "receive and read" ;)

qwazix 2013-06-10 16:09

Re: Problems with Modest and Gmail
 
working here fine too

emotion 2013-06-10 21:01

Re: Problems with Modest and Gmail
 
The problem is a random situation when I send a email. Sometimes send mail and reaches to the recipient.
Sometimes I can send mail but the recipient who sent, not received ever. However in "sent", from my N900, show that the mail was sent successfully.
So now I do not trust Gmail from my N900. Only Yahoo and Hotmail work fine.

independent 2013-06-10 23:04

Re: Problems with Modest and Gmail
 
Have this problem as well. message *** not available on server.

Only on one of my gmail accounts (the one I use). Not on the other. Tried everything (that I could think of), googlemail username..
Imported imap google cert manually. updated ca-certs.. Reinstalled modest, nokiamessaging. Full reflash.. Nothing works.

My feeling (just a guess mind you) is the problem is, as is mentioned several times on this thread, on gmails side and no amount of tinkering will get my email account working working with a N900.

Copernicus 2013-06-10 23:42

Re: Problems with Modest and Gmail
 
It could be somehow related to the size of the Gmail message ID numbers. I took a look at the headers of some of my Gmail messages; here's the "Message-ID" field from an email sent yesterday:

Message-ID: <51AE1BD8.4050905@gmail.com>

And, here's one from a message sent back in 2008:

Message-ID: <48CE8D81.50506@gmail.com>

The portion after the dot has grown significantly. Perhaps some Gmail accounts have even larger ID values, and are overrunning some string size limit in modest; or, perhaps some versions of modest can't handle the larger string size?

EDIT: I'm probably barking up the wrong tree here, the message ID in Marmistrz' example is:

Quote:

Message-ID: <20130608181716.cc9ee9f57049@talk.maemo.org>
Which, of course, isn't even a Gmail ID to begin with...

independent 2013-06-11 00:17

Re: Problems with Modest and Gmail
 
It appears the whole of the email is downloaded before it tells me it isn't on the server. Noted this behaviour with an email with a large-ish attachment

Copernicus 2013-06-11 02:50

Re: Problems with Modest and Gmail
 
Hey, if possible, could someone having this problem send me an example "bad" e-mail? (Preferably one constructed just for testing, so as not to have any personal data in it. :) ) I'd like to see if I can reproduce the problem in my copy of modest.

My Gmail account is jpietrzak8 at gmail.com.

Thanks!

independent 2013-06-11 03:10

Re: Problems with Modest and Gmail
 
Every single email! It's completely unusable for me.

reinob 2013-06-11 06:38

Re: Problems with Modest and Gmail
 
I also use gmail, but combined with offlineimap and dovecot, so that both modest and alpine only ever talk to dovecot.

So far I have never noticed any problem such as the one reported here.

Note that the "Message (title) not available on the server" as reported on the first post happens (AFAIK) when you are too quickly notified of a new message (e.g. with Nokia Messaging, which I used for a long time in the past) and *then* Google applies whatever filter it makes it move to another folder. When modest then tries to fetch the message, it's not there anymore.

panjgoori 2013-06-11 06:44

Re: Problems with Modest and Gmail
 
no problem here. checked few emails on my gmail account and i haven't faced any problem.

marmistrz 2013-06-11 17:39

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by independent (Post 1351013)
Every single email! It's completely unusable for me.

Can you post your log? You can get it by

Code:

export CAMEL_DEBUG="all"
maemo-summoner /usr/bin/modest -s

We need to find, what's common for all the ppl with the problem.

Any modest devs here? Maybe they'd know anything...

freemangordon 2013-06-11 17:46

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by marmistrz (Post 1351211)
.
.
.
We need to find, what's common for all the ppl with the problem.

Any modest devs here? Maybe they'd know anything...

Once there is any clue what happens, I guess we'll find developers to fix the bug. If it is in modest.

marmistrz 2013-06-11 17:50

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by freemangordon (Post 1351214)
Once there is any clue what happens, I guess we'll find developers to fix the bug. If it is in modest.

But, we know more or less what happens. The message is fetched and right then an error. The problem is: is it gmail's or modest's problem. Anyway, google won't give a damn to fix it for N900, so the maemo devs will have to fix it nevertheless :P

Copernicus 2013-06-11 18:15

Re: Problems with Modest and Gmail
 
Aha!!! I've just received a message from Marmistrz that exhibits the problem in my copy of Modest. I'm personally betting that the problem lies in the truly enormous ID string being used for the message:

Message-ID: <CANaCrST0DBGwq7i5iP--aek15eqrRpY-YQ8a0eawo2XVBTzdwA@mail.gmail.com>

I think there's something like 66 characters all told in that ID, if I counted right.

EDIT: Drat, I've got another message with the same size ID, and that one has no problems, so it can't be the raw size. That one doesn't have any dashes in the ID, though... I'll check the rest of the header for anything suspicious.

EDIT 2: I've just noticed that a message from maemo.org earlier this morning also triggers the error. Checking the log, I just see a message like Marmistrz had on the first page of this thread...

EDIT 3: From the log, I'm getting the following sequence:

Code:

sending : C00000 CAPABILITY
received: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH AUTH=XOAUTH2
received: C00000 OK Thats all she wrote! m8if529565ibg.26
sending : C00001 LOGIN xxx xxx
received: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH
received: C00001 OK jpietrzak8@gmail.com John Pietrzak authenticated (Success)
sending : C00002 CAPABILITY
received: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH
received: C00002 OK Success
sending : C00003 ENABLE CONDSTORE
received: * ENABLED CONDSTORE
received: C00003 OK Success
sending : C00004 NAMESPACE
received: * NAMESPACE (("" "/")) NIL NIL
received: C00004 OK Success
sending : C00005 SELECT INBOX (CONDSTORE)
received: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen Junk NonJunk $Forwarded $MDNSent)
received: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen Junk NonJunk $Forwarded $MDNSent \*)] Flags permitted.
received: * OK [UIDVALIDITY 3] UIDs valid.
received: * 287 EXISTS
received: * 0 RECENT
received: * OK [UIDNEXT 353] Predicted next UID.
received: * OK [HIGHESTMODSEQ 277626]
received: C00005 OK [READ-WRITE] INBOX selected. (Success)
sending : C00006 NOOP
received: C00006 OK Success
sending : C00007 UID FETCH 352 BODY.PEEK[]

After which the full body of message 352 comes down. But, after that, comes this log item:

Code:

received: C00007 OK Success
CamelException.setv(0x43f9ad48, 109, 'Message with UID 352 does not exists')

So, not sure what is going on here...

EDIT 4: Ok, here we go. As of about noon today, my copy of Modest on my main N900 began exhibiting the bad behavior after receiving a particular message from Marmistrz. Since then, every message that had not been previously stored on my N900 comes up with the error message "does not exists". In short, my Gmail connection in Modest has been hosed.

However, if I use Modest on my second N900 (and carefully avoid loading any of Marmistrz' messages), everything works fine; I can download new messages off of Gmail with no problem.

Thus, I'd have to say that something buggy is going on in Modest itself, something to do with parsing a particular message...

freemangordon 2013-06-11 18:53

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by marmistrz (Post 1351217)
But, we know more or less what happens. The message is fetched and right then an error. The problem is: is it gmail's or modest's problem. Anyway, google won't give a damn to fix it for N900, so the maemo devs will have to fix it nevertheless :P

May I have a message from you too? :)

ivo.g.dimitrov.75 at gmail.com

king Ralphred 2013-06-11 19:49

Re: Problems with Modest and Gmail
 
@freemangordon.
I've sent you a forward of an email which gives me the message "message 'subject' not available on server. I also sent and email to myself with just the word test in the subject field which did the same thing as have all mails since 8th of June.
Hope you can help.

freemangordon 2013-06-11 20:00

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by king Ralphred (Post 1351247)
@freemangordon.
I've sent you a forward of an email which gives me the message "message 'subject' not available on server. I also sent and email to myself with just the word test in the subject field which did the same thing as have all mails since 8th of June.
Hope you can help.

Thanks, now the problem is reproducible, I'll look into it when I have some spare time.

Estel 2013-06-11 20:29

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by mekenig (Post 1350807)
Thankfully, Nokia Messaging is working fine for me sync'ing with my GMail account so I won't have to ditch my N900 because I can't read incoming gmail.com emails.

Little off-topic, but if gmail would change something, to the point of making standards compliant e-mail client unable to read incoming e-mails, I would ditch gmail in a heartbeat, not my device.

Just like tons of people are doing with shitty google talk, which became uncompatible with other jabber networks.


All times are GMT. The time now is 04:01.

vBulletin® Version 3.8.8