Author Topic: Delete not working (most of the time)  (Read 5794 times)

Offline andros69

  • Jr. Member
  • **
  • Posts: 29
Delete not working (most of the time)
« on: April 15, 2009, 05:48:30 PM »
Hi all, just want to check and see if other people are having issues with this and if there has been any fix done.

  • I select one or more emails
  • I click delete (or drag emails to trash, or click my keyboard delete button)
  • Emails are not removed from the Inbox and I get an error
  • while emails are not removed from the Inbox, a copy is being put in the Trash (as many copies as times I've hit delete and gotten errors)


This happens seemingly at random. Sometimes it does, sometimes it doesn't, sometimes it takes several times to delete, etc.

Has this issue been noted and/or has it been fixed? Is there a svn version that has this fixed? I read and delete emails a whole lot more than I write, so this is a critical bug in my book.

Any help you can offer would be greatly appreciated!

Thanks!

Offline dano

  • Full Member
  • ***
  • Posts: 124
Delete not working (most of the time)
« Reply #1 on: April 16, 2009, 11:42:48 AM »
I personally have never had problems with deleting emails.

Does your log show any errors?  Either the RC log (/temp under RC) or your IMAP server log?

Offline andros69

  • Jr. Member
  • **
  • Posts: 29
Delete not working (most of the time)
« Reply #2 on: April 17, 2009, 12:54:24 PM »
The interface error I get is (in the red box, at top of screen):
   "Could not move the message"

I checked the RC error log and I see the following, but I don't know if it's related:
   [17-Apr-2009 11:21:26] PHP Fatal error:  Maximum execution time of 120 seconds exceeded in /home/sulleiro/www.mail/program/lib/imap.inc on line 247

I believe this is a timeout error though, when my computer goes to sleep. This is the only error I see that occurred today, for example. But I do get a bunch of no deletions, so it can't be this.

Now, I've checked what I think is an IMAP log ("maillog") and here are the entries for a time when an error in RC occurred:

   Apr 17 11:37:17 sulleiro imapd[93474]: Login user=andres host=sulleiro.com [140.174.79.12]
Apr 17 11:37:24 sulleiro imapd[93446]: Killed (lost mailbox lock) user=andres host=sulleiro.com [140.174.79.12]
Apr 17 11:37:24 sulleiro imapd[93529]: Login user=andres host=sulleiro.com [140.174.79.12]
Apr 17 11:37:25 sulleiro imapd[93529]: Logout user=andres host=sulleiro.com [140.174.79.12]
Apr 17 11:37:26 sulleiro imapd[93539]: Login user=andres host=sulleiro.com [140.174.79.12]
Apr 17 11:37:26 sulleiro imapd[93539]: Logout user=andres host=sulleiro.com [140.174.79.12]
Apr 17 11:37:27 sulleiro imapd[93474]: Logout user=andres host=sulleiro.com [140.174.79.12]

Would this be it?
Sorry, I'm not too familiar with error logs, if you can point me in the right direction, I can try to look in there.

FYI I should probably mention for whatever it's worth that I'm using
Firefox 3.0.8 on Windows XP
RC is installed in Apache running on FreeBSD through SSL

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Delete not working (most of the time)
« Reply #3 on: April 18, 2009, 02:07:06 AM »
Does your Trash folder exist like defined in ./config/main.inc.php ?
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline andros69

  • Jr. Member
  • **
  • Posts: 29
Delete not working (most of the time)
« Reply #4 on: April 22, 2009, 10:35:11 PM »
Quote from: rosali;18511
Does your Trash folder exist like defined in ./config/main.inc.php ?


Hi Rosali, in my config file it's defined as:

// move messages to this folder when deleting them
// leave blank if they should be deleted directly
$rcmail_config['trash_mbox'] = 'Trash';

on my server, it's in the folder ./Mail/Trash

does that answer your question?

Thanks!

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Delete not working (most of the time)
« Reply #5 on: April 23, 2009, 12:39:53 AM »
Try to set imap_root to "Mail" and imap_delimiter to "/".
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline andros69

  • Jr. Member
  • **
  • Posts: 29
Delete not working (most of the time)
« Reply #6 on: April 24, 2009, 02:45:44 PM »
Quote from: rosali;18631
Try to set imap_root to "Mail" and imap_delimiter to "/".


Thanks Rosali,

I did this and it created a new "Mail" folder within my existing Mail folder. And in it, it placed the 4 standard folders (Drafts, Sent, Junk, Trash).

I didn't try this long enough to see if solved the Delete problem, since I didn't want to end with 4 additional duplicate folders. Is it a matter of not having the delimiter or the root specified or having a different value for them?

Thanks!

(sorry this is taking so long, I'm a bit of noobie).

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Delete not working (most of the time)
« Reply #7 on: April 25, 2009, 02:26:06 AM »
Set imap_root to null.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Mig21

  • Newbie
  • *
  • Posts: 3
Delete not working (most of the time)
« Reply #8 on: June 11, 2009, 01:49:29 PM »
I have the same issue, and I've had it always since 0.1, though it started to fail much more often (I think) in 0.2 and did not improve in 0.2.1

Nothing is printed in either log file when I try to delete.

I guess this only happens on some setups?

Mine is Slackware 12.2 with a relatively simply configured sendmail, the imapd imap server (I can't tell which one, maybe berkeley or washington?), apache 2.2.10, php 5.2.9, and mysql 5.0.67

It would be great if this could be fixed. Right now my roundcube can only really be used for reading mail.

I also have an intermittent problem sending emails, but I'm still searching the forums for others with the same issue.

Offline andros69

  • Jr. Member
  • **
  • Posts: 29
Delete not working (most of the time)
« Reply #9 on: June 11, 2009, 02:03:59 PM »
Since my original post, I've upgraded to the 0.3 beta from a few weeks ago and I'm still having the same problem.

I do delete emails, but only a few off my inbox, since it's a ridiculously tedious task when I have to try 2-3 times each. So I too use RC mostly for reading email. I save my delete actions for when I get home and use Firebird.

I do wish I knew how to fix it, then I could use RC as my main email client and ditch my desktop version.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Delete not working (most of the time)
« Reply #10 on: June 12, 2009, 01:04:44 AM »
Did you check your IMAP server logs when a delete request fails?
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Mig21

  • Newbie
  • *
  • Posts: 3
Delete not working (most of the time)
« Reply #11 on: June 15, 2009, 09:38:52 AM »
Quote from: rosali;19583
Did you check your IMAP server logs when a delete request fails?


Just did now, nothing bad in there either:

/var/log/maillog:

Jun 12 14:07:56 littlesvr imapd[7409]: imap service init from 127.0.0.1
Jun 12 14:07:56 littlesvr imapd[7409]: Login user=asmith16 host=localhost [127.0.0.1]
Jun 12 14:07:56 littlesvr imapd[7410]: imap service init from 127.0.0.1
Jun 12 14:07:56 littlesvr imapd[7410]: Login user=asmith16 host=localhost [127.0.0.1]
Jun 12 14:07:58 littlesvr imapd[7410]: Logout user=asmith16 host=localhost [127.0.0.1]
Jun 12 14:07:59 littlesvr imapd[7412]: imap service init from 127.0.0.1
Jun 12 14:07:59 littlesvr imapd[7412]: Login user=asmith16 host=localhost [127.0.0.1]
Jun 12 14:07:59 littlesvr imapd[7412]: Logout user=asmith16 host=localhost [127.0.0.1]

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Delete not working (most of the time)
« Reply #12 on: June 15, 2009, 01:00:46 PM »
Isn't there a deeper log verbosity to show the whole conversation with the IMAP server?
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Mig21

  • Newbie
  • *
  • Posts: 3
Delete not working (most of the time)
« Reply #13 on: June 17, 2009, 08:28:39 PM »
Sorry, I have no idea if there is. Like I said - I can't even figure out what this software is. I don't see any confuration file for it and the man page is completely useless. I suspect it's not configurable at all.