Quote from: skaero;29789Try enabling $rcmail_config['imap_debug'] in the /config/main.inc.php and post the imap log of the event.
Okay, I tried to trim the log output, but it was still over the system 10K limit. So I had to split it over two messages. The remained in the next message.
Here is what occurred prior to the log file start, I had logged into roundcube as user "jmurtari". Clicked on the INBOX and got a listing of new messages in the top pane. The first few message were SPAM. I waited a few minutes to get a clear log start, and then pressed the DELETE button. I got the error message "Could not move the message(s). The log is below starting when I pressed DELETE.
[01-Sep-2010 06:32:00 -0400]: S: * OK [CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ SASL-IR LOGIN-REFERRALS] torch.softwareworkshop.com IMAP4rev1 2007e.404 at Wed, 1 Sep 2010 06:32:00 -0400 (EDT)
[01-Sep-2010 06:32:00 -0400]: C: a001 LOGIN "jmurtari" "*****"
[01-Sep-2010 06:32:00 -0400]: S: a001 OK [CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ IDLE UIDPLUS NAMESPACE CHILDREN MAILBOX-REFERRALS BINARY UNSELECT ESEARCH WITHIN SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User jmurtari authenticated
[01-Sep-2010 06:32:00 -0400]: C: sel1 SELECT "INBOX"
[01-Sep-2010 06:32:00 -0400]: S: * 39 EXISTS
[01-Sep-2010 06:32:00 -0400]: S: * 0 RECENT
[01-Sep-2010 06:32:00 -0400]: S: * OK [UIDVALIDITY 1283288473] UID validity status
[01-Sep-2010 06:32:00 -0400]: S: * OK [UIDNEXT 41] Predicted next UID
[01-Sep-2010 06:32:00 -0400]: S: * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
[01-Sep-2010 06:32:00 -0400]: S: * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted \Draft \Seen)] Permanent flags
[01-Sep-2010 06:32:00 -0400]: S: * OK [UNSEEN 4] first unseen message in /var/spool/mail/jmurtari
[01-Sep-2010 06:32:00 -0400]: S: * NO Mailbox vulnerable - directory /var/spool/mail must have 1777 protection
[01-Sep-2010 06:32:00 -0400]: S: sel1 OK [READ-WRITE] SELECT completed
[01-Sep-2010 06:32:00 -0400]: C: fuid FETCH 39 (UID)
[01-Sep-2010 06:32:00 -0400]: S: * 39 FETCH (UID 40)
[01-Sep-2010 06:32:00 -0400]: S: fuid OK FETCH completed
[01-Sep-2010 06:32:00 -0400]: C: lsb LSUB "" "Trash"
[01-Sep-2010 06:32:00 -0400]: S: * LSUB () "/" Trash
[01-Sep-2010 06:32:00 -0400]: S: lsb OK LSUB completed
[01-Sep-2010 06:32:00 -0400]: C: flg UID STORE 40 +FLAGS (\Seen)
[01-Sep-2010 06:32:00 -0400]: S: * 39 FETCH (FLAGS (\Seen) UID 40)
[01-Sep-2010 06:32:00 -0400]: S: flg OK UID STORE completed
[01-Sep-2010 06:32:00 -0400]: C: cpy1 UID COPY 40 "Trash"
[01-Sep-2010 06:32:01 -0400]: S: * OK [CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ SASL-IR LOGIN-REFERRALS] torch.softwareworkshop.com IMAP4rev1 2007e.404 at Wed, 1 Sep 2010 06:32:01 -0400 (EDT)
[01-Sep-2010 06:32:01 -0400]: C: a001 LOGIN "jmurtari" "*****"
[01-Sep-2010 06:32:01 -0400]: S: a001 OK [CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ IDLE UIDPLUS NAMESPACE CHILDREN MAILBOX-REFERRALS BINARY UNSELECT ESEARCH WITHIN SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User jmurtari authenticated
[01-Sep-2010 06:32:01 -0400]: C: sel1 SELECT "INBOX"
[01-Sep-2010 06:32:01 -0400]: S: * OK [CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ SASL-IR LOGIN-REFERRALS] torch.softwareworkshop.com IMAP4rev1 2007e.404 at Wed, 1 Sep 2010 06:32:01 -0400 (EDT)
[01-Sep-2010 06:32:01 -0400]: C: a001 LOGIN "jmurtari" "*****"
[01-Sep-2010 06:32:01 -0400]: S: a001 OK [CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ IDLE UIDPLUS NAMESPACE CHILDREN MAILBOX-REFERRALS BINARY UNSELECT ESEARCH WITHIN SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User jmurtari authenticated
[01-Sep-2010 06:32:01 -0400]: C: cp01 CAPABILITY
[01-Sep-2010 06:32:01 -0400]: S: * CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ IDLE UIDPLUS NAMESPACE CHILDREN MAILBOX-REFERRALS BINARY UNSELECT ESEARCH WITHIN SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND SASL-IR LOGIN-REFERRALS
[01-Sep-2010 06:32:01 -0400]: S: cp01 OK CAPABILITY completed
[01-Sep-2010 06:32:01 -0400]: C: sel1 SELECT "INBOX"
[01-Sep-2010 06:32:01 -0400]: S: * 39 EXISTS
[01-Sep-2010 06:32:01 -0400]: S: * 0 RECENT
[01-Sep-2010 06:32:01 -0400]: S: * OK [UIDVALIDITY 1283288473] UID validity status
[01-Sep-2010 06:32:01 -0400]: S: * OK [UIDNEXT 41] Predicted next UID
[01-Sep-2010 06:32:01 -0400]: S: * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
[01-Sep-2010 06:32:01 -0400]: S: * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted \Draft \Seen)] Permanent flags
[01-Sep-2010 06:32:01 -0400]: S: * OK [UNSEEN 4] first unseen message in /var/spool/mail/jmurtari
[01-Sep-2010 06:32:01 -0400]: S: * NO Mailbox vulnerable - directory /var/spool/mail must have 1777 protection
[01-Sep-2010 06:32:01 -0400]: S: sel1 OK [READ-WRITE] SELECT completed
[01-Sep-2010 06:32:01 -0400]: C: fuid FETCH 39 (UID)
[01-Sep-2010 06:32:01 -0400]: S: * 39 FETCH (UID 40)
[01-Sep-2010 06:32:01 -0400]: S: fuid OK FETCH completed
[01-Sep-2010 06:32:01 -0400]: C: s SORT (DATE) US-ASCII ALL
[01-Sep-2010 06:32:01 -0400]: S: * SORT 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
[01-Sep-2010 06:32:01 -0400]: S: s OK SORT completed
[01-Sep-2010 06:32:01 -0400]: C: FH12 FETCH 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39 (UID RFC822.SIZE FLAGS INTERNALDATE BODY.PEEK[HEADER.FIELDS (DATE FROM TO SUBJECT REPLY-TO IN-REPLY-TO CC BCC CONTENT-TRANSFER-ENCODING CONTENT-TYPE MESSAGE-ID REFERENCES DISPOSITION-NOTIFICATION-TO X-PRIORITY X-DRAFT-INFO)])
[01-Sep-2010 06:32:01 -0400]: S: * 1 FETCH (UID 1 RFC822.SIZE 7343 FLAGS (\Seen \Answered) INTERNALDATE "31-Aug-2010 16:47:52 -0400" BODY[HEADER.FIELDS (DATE FROM TO SUBJECT REPLY-TO IN-REPLY-TO CC BCC CONTENT-TRANSFER-ENCODING CONTENT-TYPE MESSAGE-ID REFERENCES DISPOSITION-NOTIFICATION-TO X-PRIORITY X-DRAFT-INFO)] {519}
[01-Sep-2010 06:32:01 -0400]: S: In-Reply-To: <
[email protected]>
References:
<[email protected]>
Date: Tue, 31 Aug 2010 16:47:45 -0400
Message-ID:
Subject: Re: ssh to soulmate
From: George Lawton
To: [email protected], Kimber Aronson
Content-Type: multipart/alternative; boundary=0015174c43387a2589048f24b19c
=================
Next message contains remainder of log.
There's a copy command (cpy1 UID COPY 40 "Trash") in the log, but no response from server.
Quote from: alec;29799There's a copy command (cpy1 UID COPY 40 "Trash") in the log, but no response from server.
Okay, I'm a programmer but I don't know a lot about the IMAP protocol.
Thanks for pointing that out. Here are the lines with context on the failure. I also had a delete succeed on another message and show that also.
I guess the big question is why? And why at random times?
-------------- failed deletion attempt
[01-Sep-2010 06:32:00 -0400]: C: cpy1 UID COPY 40 "Trash"
[01-Sep-2010 06:32:01 -0400]: S: * OK [CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ SASL-IR LOGIN-REFERRALS] torch.softwareworkshop.com IMAP4rev1 2007e.404 at Wed, 1 Sep 2010 06:32:01 -0400 (EDT)
[01-Sep-2010 06:32:01 -0400]: C: a001 LOGIN "jmurtari" "*****"
----------------- okay deletion
[01-Sep-2010 10:17:35 -0400]: C: cpy1 UID COPY 55 "Trash"
[01-Sep-2010 10:17:35 -0400]: S: cpy1 OK [COPYUID 1095084121 55 814] UID COPY completed
[01-Sep-2010 10:17:35 -0400]: C: flg UID STORE 55 +FLAGS (\Deleted)
[01-Sep-2010 10:17:35 -0400]: S: * 52 FETCH (FLAGS (\Seen \Deleted) UID 55)
[01-Sep-2010 10:17:35 -0400]: S: flg OK UID STORE completed
[01-Sep-2010 10:17:35 -0400]: C: cp01 CAPABILITY
[01-Sep-2010 10:17:35 -0400]: S: * CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ IDLE UIDPLUS NAMESPACE CHILDREN MAILBOX-REFERRALS BINARY UNSELECT ESEARCH WITHIN SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND SASL-IR LOGIN-REFERRALS
[01-Sep-2010 10:17:35 -0400]: S: cp01 OK CAPABILITY completed
[01-Sep-2010 10:17:35 -0400]: C: exp1 UID EXPUNGE 55
[01-Sep-2010 10:17:35 -0400]: S: * 52 EXPUNGE
[01-Sep-2010 10:17:35 -0400]: S: * 56 EXISTS
[01-Sep-2010 10:17:35 -0400]: S: * 1 RECENT
[01-Sep-2010 10:17:35 -0400]: S: exp1 OK Expunged 1 messages
[01-Sep-2010 10:17:35 -0400]: C: I LOGOUT
[01-Sep-2010 10:17:35 -0400]: S: * OK [CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ SASL-IR LOGIN-REFERRALS] torch.softwareworkshop.com IMAP4rev1 2007e.404 at Wed, 1 Sep 2010 10:17:35 -0400 (EDT)
[01-Sep-2010 10:17:35 -0400]: C: a001 LOGIN "jmurtari" "*****"
Its not a RoundCube problem, your IMAP server is for some reason killing the IMAP session when you try to delete the message. You should look at your IMAP server logs to try and find out whats wrong.
There are a lots of mail servers to choose from, I recommend comparing them to find what you need Comparison of mail servers - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Comparison_of_mail_servers) Some of the popular Linux mail servers (in no particular order) are Courier, Dovecot, and Exim.