Author Topic: IMAP error saving in folders  (Read 3750 times)

Offline rik_rs

  • Newbie
  • *
  • Posts: 2
IMAP error saving in folders
« on: February 11, 2015, 06:23:57 AM »
I have roundcube on a local webserver (on my workstation), and another installation online.
It was all working properly but suddenly it stops working correctly and SOMETIMES I have errors saving in folders (e.g. INBOX.Drafts)
On the local installation it happens 40% of the times while online is now 100%, so when I sent an email roundcube shows
An error occurred while saving

In the error log appears an error
[11-Feb-2015 11:15:11 +0100]: IMAP Error: Could not save message in INBOX.Drafts in /xxxxx/steps/mail/sendmail.inc on line 697 (POST /xxxxx/mail/?_unlock=loading1423649710910?_task=mail&_action=send)

PS: xxxxxxxx everywhere in this post are added by me to not help hackers  :)


So, I activated the IMAP debug and this is what happens
The first part is common to OK and Bad events

Code: [Select]
[11-Feb-2015 11:19:12 +0100]: [A192] S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2010 Double Precision, Inc. See COPYING for distribution information.
[11-Feb-2015 11:19:12 +0100]: [A192] C: A0001 LOGIN info@xxxxxxxxxxxxxx.it xxxxxxxxxxxxx
[11-Feb-2015 11:19:12 +0100]: [A192] S: A0001 OK connected to proxy server.
[11-Feb-2015 11:19:12 +0100]: [A192] C: A0002 LSUB "" INBOX.Drafts
[11-Feb-2015 11:19:12 +0100]: [A192] S: * LSUB (\HasNoChildren) "." "INBOX.Drafts"
[11-Feb-2015 11:19:12 +0100]: [A192] S: A0002 OK LSUB completed
[11-Feb-2015 11:19:12 +0100]: [A192] C: A0003 LIST "" INBOX.Drafts
[11-Feb-2015 11:19:12 +0100]: [A192] S: * LIST (\HasNoChildren) "." "INBOX.Drafts"
[11-Feb-2015 11:19:12 +0100]: [A192] S: A0003 OK LIST completed
[11-Feb-2015 11:19:12 +0100]: [A192] C: A0004 APPEND INBOX.Drafts (\Seen) {382}
[11-Feb-2015 11:19:12 +0100]: [A192] S: + OK
[11-Feb-2015 11:19:12 +0100]: [A192] C: MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8;
format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 11 Feb 2015 10:19:11 +0000
From: info@xxxxxxxxxxxxxxxx.it
To: undisclosed-recipients:;
Subject: aaa
Message-ID: <bedxxxxxxxxxxxxxxxxxx@xxxxxxxxx.it>
X-Sender: info@xxxxxxxxxxxx.it
User-Agent: Roundcube Webmail/0.8.1

aa


AND THIS IS THE VARIABLE PART

====== WHEN IT'S OK IS THIS WAY

[11-Feb-2015 11:19:12 +0100]: [A192] S: A0004 OK [APPENDUID 1423574078 6] APPEND Ok.
[11-Feb-2015 11:19:12 +0100]: [A192] C: A0005 SELECT INBOX.Drafts
[11-Feb-2015 11:19:12 +0100]: [A192] S: * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
[11-Feb-2015 11:19:12 +0100]: [A192] S: * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited
[11-Feb-2015 11:19:12 +0100]: [A192] S: * 2 EXISTS
[11-Feb-2015 11:19:12 +0100]: [A192] S: * 0 RECENT
[11-Feb-2015 11:19:12 +0100]: [A192] S: * OK [UIDVALIDITY 1423574078] Ok
[11-Feb-2015 11:19:12 +0100]: [A192] S: * OK [MYRIGHTS "acdilrsw"] ACL
[11-Feb-2015 11:19:12 +0100]: [A192] S: A0005 OK [READ-WRITE] Ok
[11-Feb-2015 11:19:12 +0100]: [A192] C: A0006 CAPABILITY
[11-Feb-2015 11:19:12 +0100]: [A192] S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE QUOTA IDLE ACL ACL2=UNION
[11-Feb-2015 11:19:12 +0100]: [A192] S: A0006 OK CAPABILITY completed
[11-Feb-2015 11:19:12 +0100]: [A192] C: A0007 UID SEARCH HEADER Message-ID xxxxxxxxxxxxxxx@xxxxxxxxxxx.it
[11-Feb-2015 11:19:12 +0100]: [A192] S: * SEARCH 5
[11-Feb-2015 11:19:12 +0100]: [A192] S: A0007 OK SEARCH done.
[11-Feb-2015 11:19:12 +0100]: [A192] C: A0008 UID STORE 5 +FLAGS.SILENT (\Deleted)
[11-Feb-2015 11:19:12 +0100]: [A192] S: A0008 OK STORE completed.
[11-Feb-2015 11:19:12 +0100]: [A192] C: A0009 UID EXPUNGE 5
[11-Feb-2015 11:19:12 +0100]: [A192] S: * 1 EXPUNGE
[11-Feb-2015 11:19:12 +0100]: [A192] S: * 1 EXISTS
[11-Feb-2015 11:19:12 +0100]: [A192] S: * 0 RECENT
[11-Feb-2015 11:19:12 +0100]: [A192] S: A0009 OK EXPUNGE completed
[11-Feb-2015 11:19:12 +0100]: [A192] C: A0010 LOGOUT
[11-Feb-2015 11:19:12 +0100]: [A192] S: * BYE Courier-IMAP server shutting down
[11-Feb-2015 11:19:12 +0100]: [A192] S: A0010 OK LOGOUT completed




===== WHEN IT DOESN'T WORK IS THIS WAY

[11-Feb-2015 11:20:40 +0100]: [47C2] S: A0005 NO Error in IMAP command received by server.
[11-Feb-2015 11:20:40 +0100]: [47C2] C: A0006 LOGOUT
[11-Feb-2015 11:20:40 +0100]: [47C2] S: MIME-Version: NO Error in IMAP command received by server.


Other info:
- It happens with any version, even the last 1.1.0
- Some config online and local. Local work 40% of the time, online never save anymore.
- Initially I though could be a problem with folder path or some permissions so I've destroyed everything, removed the user entry in the DB and let roundcube recreate everything by himself. Nothing changed.

Any idea of what happen? Why sometimes works sometimes not?
What could I try?

Kind regards,
Riccardo

Offline rik_rs

  • Newbie
  • *
  • Posts: 2
Re: IMAP error saving in folders
« Reply #1 on: February 12, 2015, 08:28:00 AM »
I've tried every flag possible, but no solution.

I've seen similar reports without solution, one of them it's here http://www.roundcubeforum.net/index.php/topic,8868.0.html
in Pending Status from 2011 :(

... so... I've solved the problem from the root with Squirrelmail :D It works like a charm, faster and without any error saving drafts and stuff.

Maybe I'll be back the day someone will solve this problem.