Author Topic: what does 'compact' do?  (Read 21911 times)

Offline apollo13

  • Newbie
  • *
  • Posts: 2
what does 'compact' do?
« on: December 25, 2006, 03:55:50 PM »
as asked in the title:
what does 'compact' do?

thanks in advance apollo13

Offline dogcow

  • Jr. Member
  • **
  • Posts: 31
Re: what does 'compact' do?
« Reply #1 on: January 13, 2007, 12:10:51 PM »
I think it makes your email messages take up less disk space.

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: what does 'compact' do?
« Reply #2 on: January 17, 2007, 10:18:06 PM »
Basically, IMAP doesn't "delete" messages, it marks them for deletion. Here's a quick synopsis:

Moving Messages:
- You select a (some) message(s) to be moved.
- You define where the message(s) is (are) moved to
- The IMAP server makes a direct copy of the message(s) to the destination
- The IMAP server then marks the moved messages as deleted. Also known as Flagging for Deletion.

Deleting Messages:
- You select messages for deletion
- The IMAP server marks the messages as deleted, also known as Flagging for Deletion.

Now, when you click the "Compact" link (or "Expunge" in some applications) every email in the current folder that is flagged for deletion is removed from that folder. So you'll see your disk usage shrink as you got rid of duplicate messages if you moved them, or messages you don't want/need.

Hope that answers your question.
 
  

Offline oxygens

  • Jr. Member
  • **
  • Posts: 36
Re: what does 'compact' do?
« Reply #3 on: January 18, 2007, 07:31:03 AM »
on the same line, if you have the imap account in outlook aswell, is there a way to "compact" as nothing ever deletes even if you click process marked headers.

Offline chinaman

  • Newbie
  • *
  • Posts: 9
Re: what does 'compact' do?
« Reply #4 on: October 13, 2007, 08:14:39 AM »
Quote from: oxygens
on the same line, if you have the imap account in outlook aswell, is there a way to "compact" as nothing ever deletes even if you click process marked headers.

In Outlook the function is called "Purge Deleted Messages" you'll find it below /edit

Offline ivan8r

  • Newbie
  • *
  • Posts: 1
what does 'compact' do?
« Reply #5 on: July 25, 2009, 05:56:09 PM »
I used compact on my IMAP mailbox yesterday, and it not only removed all messages marked for deletion, but it also removed all of my Sent items. I assume that there is nothing I can do to recover these messages, but if there is something I could do, would you please let me know.

Offline Master One

  • Jr. Member
  • **
  • Posts: 15
what does 'compact' do?
« Reply #6 on: March 21, 2010, 03:15:55 AM »
To pickup on this old thread, since I was just wondering the same thing:

Using 0.3.1, I have configured Roundcube to not hide messages marked as deleted. If I move a message from the inbox somewhere else (like the Trash folder), it gets moved, not just copied and marked as deleted in the inbox.

I guess, there is just no point in having that option with that configuration, right?

Also, I think "Compact" (or "Packen" in German) is not the right word for this operation (since it sounds more like something is going to be archived or compressed), if actually it is supposed to purge messages marked as deleted, which can end badly, like in ivan8r's case.