Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want move towards using my own mail server, so I picked Dovecot. I plan on using thunderbird to retrieve my mail using IMAPS. I have never used either of the software, so my questions are a bit naive.

  • I don't understand the process of deleting email from dovecot from thunderbird. If I delete an email from thunderbird, this will eventually be deleted on Dovecot permanently (to save space on the server if it's running out of disk space)?

  • If thunderbird downloads all email from dovecot and stores them locally through IMAPS, what happens if I delete an email on the server (by logging into the server and manually deleting it)? Will this then be propagated down to thunderbird so that the local copy of that email will also be deleted?

  • This relates to the previous question: If I delete emails on the server to save space, how do I make it so that thunderbird can still see all the emails from the past? So I would still receive new emails, but I would also be able to see all the previous emails that had been deleted on the server.

share|improve this question

migrated from serverfault.com Mar 11 '13 at 15:58

This question came from our site for professional system and network administrators.

1 Answer 1

up vote 0 down vote accepted

Responding to the Questions:

  • 1 & 2: IMAP is essentially an email synchronization protocol. Changes at one point are replicated to all other points (eventually, as they synchronize).

    "Deleting" is slightly more complicated than you'd think in IMAP. Most clients like Thunderbird will simply move items you delete to the Trash folder, no actual "delete" operation. IMAP has a two step "delete" process, items are marked as deleted (but they still actually exist), and then expunged (items marked as deleted are actually removed). Most clients hide this process. If you "permanently delete" (as most clients call it), it does a mark and expunge operation simultaneously.

  • 3: Don't do that. Your server should be the one place where all the e-mail live in perpetuity. If you want to save space, the clients have options to limit what they cache locally. Your e-mail shouldn't be that big in the first place. It's e-mail, not large file storage.

Also

  • Backup your server regularly or you'll be very sorry someday.
  • Use IMAP with STARTTLS - It's better supported by most protocols and easier to get running in the first place.
share|improve this answer
    
I guess I should look into migrating to a larger server if I ever run out of space rather than trying to manipulate individual files. –  tabx Mar 11 '13 at 17:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.