GNOME Bugzilla – Bug 715034
NULL values in database and empty impap folders.
Last modified: 2013-12-10 03:14:33 UTC
Reported by Tomasz Wozniak at http://redmine.yorba.org/issues/7710: System: Ubuntu 13.10 Geary: 0.4, 0.4.1, 0.4.2 from deb. sqlite> select count(id) from MessageTable; 94 sqlite> select id,body from MessageTable where body not null; sqlite> In debug file I see something like: [deb] 13:15:24 0,309427 imap-client-session.vala:1024: [0000/bochen.home.pl/def ault:993 GEARY_IMAP_CLIENT_SESSION_STATE_SELECTED] Received error from server: a 006 BAD Missing ] in: header.fields [deb] 13:15:24 0,013140 imap-engine-replay-queue.vala:496: Replay remote error for [1] ListEmailByID: required_fields=29Fh local_only=false force_update=false initial_id=(null) count=50 incl=false newest_to_oldest=true on ReplayQueue:Other :redakcja@xxxxxxxx.pl:INBOX (notification=0 local=0 local_active=false r emote=0 remote_active=true): Bad request a006 uid fetch 330:379 body.peek[header .fields (references)] on INBOX: a006 BAD Missing ] in: header.fields [deb] 13:15:24 0,000045 geary-controller.vala:995: Scan error: Bad request a006 uid fetch 330:379 body.peek[header.fields (references)] on INBOX: a006 BAD Miss ing ] in: header.fields [deb] 13:15:24 0,000253 app-conversation-monitor.vala:743: Reseed error: Bad re quest a006 uid fetch 330:379 body.peek[header.fields (references)] on INBOX: a00 6 BAD Missing ] in: header.fields
Tomasz, can you do the following? Run Geary from a terminal like this: $ geary --debug --log-serializer --log-deserializer > geary.log Let it run and then exit. Examine the geary.log file for sensitive data, it will contain your password and possibly other data. You can edit that out. Then send it to geary@yorba.org. Thanks!
Created attachment 261291 [details] Geary log. It is log. Please delete it when it doesn't be necessary.
I believe this is the same problem, or at least related to, bug #714902. mail.ru's IMAP server chokes when there's a space in a BODY[header.fields (references)] command, which is legal in IMAP. The server expects something like BODY[header.fields(references)] which is not described in the spec, and is not accepted by most other IMAP servers. The error code your server is sending ("a009 BAD Missing ] in: header.fields") is suspiciously similar. I wonder if it too expects no space. (a) Do you know the make and version of your IMAP server? (b) Is there any way I could get an account on the server? If not, I can give you instructions to verify the issue.
I've tested it on gmail account with the same result. Log file is from one of the biggest ISP in Poland- home.pl. There is credentials for demo account (it will works only 14 days) email: gearytest@post.pl password: Rl3d04tmiedo imapserver/smtp: post.pl
Thanks, Tomasz, we'll look into this.
I've verified that this is the same problem as #714902: the server is rejecting a FETCH BODY command because of the space between HEADER.FIELDS and the parenthesis holding the header list. I'm marking this as a duplicate of that ticket. *** This bug has been marked as a duplicate of bug 714902 ***