home » howto » transfer emails from windows to linux
These instructions explain how to transfer emails from a Windows email client to Linux Kmail. This document has a number of provisos:
See Install Courier-IMAP Server.
In KUserManager create the user, and add to the following groups:
Take a note of UID and GID before exiting KUserManager
You need to have installed an IMAP server first - see page Install Courier-IMAP Server
$ sudo userdb USERNAME set uid=9999 gid=9999 shell=/bin/bash home=/opt/imap-mail/USERNAME
$ sudo userdbpw -md5 | sudo userdb USERNAME set systempw $ sudo mkdir -p /opt/imap-mail/USERNAME $ sudo maildirmake /opt/imap-mail/USERNAME/Maildir $ sudo chown -R 9999:9999 /opt/imap-mail/USERNAME $ sudo makeuserdb $ sudo /etc/init.d/courier-authdaemon stop $ sudo /etc/init.d/courier-imap stop $ sudo /etc/init.d/courier-authdaemon start $ sudo /etc/init.d/courier-imap start
The rest of the process is simple enough, that hopefully I do not need to go through it in detail. Briefly:
Change each client to work off-line between transfers - you don't really want both clients connected to the same IMAP mailbox at the same time