Hi,
How can i empty a folder? I have several folders with thousands of messages (e.g. RSS feeds) and clicking on empty doesn't do anything. It would take hours to go through and use select all and delete. I'm using the latest v0.1-rc2.
Cheers, Matt
List info: http://lists.roundcube.net/users/
On 16/11/2007, Ronald MacDonald ronald@rmacd.com wrote:
On 16/11/2007, matt chezng@gmail.com wrote:
Hi,
How can i empty a folder? I have several folders with thousands of
messages
(e.g. RSS feeds) and clicking on empty doesn't do anything. It would take hours to go through and use select all and delete. I'm using the latest v0.1-rc2.
Cheers, Matt
Matt,
If you have shell access to your server, where mails are stored, try deleting the files in the maildir folder, or mbox - try removing the appropriate lines.
Ronald.
Hi Ronald,
Thanks for the suggestion. I have shell access and in the end i modified app.js so that empty works on any folder (I wonder why it is set up to only work on the trash and junk folders?).
Kind regards, Matt _______________________________________________ List info: http://lists.roundcube.net/users/
On 11/16/07, Matt Cheddar chezng@gmail.com wrote:
Hi Ronald,
Thanks for the suggestion. I have shell access and in the end i modified app.js so that empty works on any folder (I wonder why it is set up to only work on the trash and junk folders?).
Kind regards, Matt
Hello Matt,
That is a very good piece of information. I too have been wondering why this empty on trash only.
Could you contribute the app.js code mod to the list?
Thanks and regards
kmn _______________________________________________ List info: http://lists.roundcube.net/users/
On 17/11/2007, kmnair kmnair@gmail.com wrote:
On 11/16/07, Matt Cheddar chezng@gmail.com wrote:
Hi Ronald,
Thanks for the suggestion. I have shell access and in the end i modified app.js so that empty works on any folder (I wonder why it is set up to only work on the trash and junk folders?).
Kind regards, Matt
Hello Matt,
That is a very good piece of information. I too have been wondering why this empty on trash only.
Could you contribute the app.js code mod to the list?
Thanks and regards
kmn
Hello,
Sure, i only had a cursory glance at the code though so maybe there is some reason it was set up that way. I modified it as follows:
Open program/js/app.js Find: if (this.env.messagecount && (this.env.mailbox==this.env.trash_mailbox || this.env.mailbox==this.env.junk_mailbox)) Replace with: if (this.env.messagecount) Find: this.enable_command('purge', (this.env.mailbox==this.env.trash_mailbox || this.env.mailbox==this.env.junk_mailbox)); Replace with: this.enable_command('purge', true);
Hopefully that will do it!
Kind regards, Matt _______________________________________________ List info: http://lists.roundcube.net/users/