KMail archive

Gabriel Ramirez gabriello.ramirez at
Tue Feb 1 18:57:23 UTC 2011

On 02/01/2011 07:01 AM, Timothy Murphy wrote:
> I keep my email on a CentOS server, in ~/Maildir/ .
> I run dovecot/IMAP on the server,
> so that I can read the email on various Fedora laptops.
> I want to off-load some email folders containing old email,
> eg In-05, Out-05, etc, perhaps to a directory ~/Archive/ .
> a) What is the best way to do this?
> Would simply mv-ing ~/Maildir/.In-05 to ~/Archive/ confuse dovecot?

I have dovecot with with mailboxes in mbox format and when I need to 
move one I do the following

service dovecot stop
mv ~/Mail/srcdir/mymailbox ~/Mail/destdir/.

cd ~/Mail/srcdir/.imap
rm -rf mymailbox/
the last two steps is to delete the indexes maintainned by dovecot at 
the old location of mymailbox

if the dir ~/Mail/destdir/.imap don't exists create it

vim ~/Mail/.subscriptions and change the srcdir to the destdir where 

service dovecot start

maybe you can make a test maildir mailbox and test moving it

> b) If I then want to read the old email in ~/Archive/
> how can I do this with KMail?

I don't use kmail but I think which it will read mailboxes from the 
.subscriptions file


More information about the kde mailing list