Archive for August 9th, 2009
offlineimap and Kmail
Written by schmart on August 9, 2009 – 2:21 pmAfter using offlineimap a lot to backup my mailaccounts without having the mail accessible in KMail I’ve managed to see the backup in KMail
KDE version is KDE4.x, offlineimap is 6.1.2, Disto is ArchLinux and this is what I’ve done:
Setup of .offlineimaprc:
[general]
metadata = ~/.offlineimap
accounts = martin[Account martin]
localrepository = martin_local
remoterepository = martin_remote[Repository martin_local]
type = Maildir
localfolders = ~/Dokumente/MailBackup/MartinAtSchmart
sep = /[Repository martin_remote]
type = IMAP
remotehost =
remoteuser =
remotepass =
maxconnections = 1
Run offlineimap.
Then:
- Create a folder named “Backup” in KMail/Local Folders
- go to ~/.kde4/share/apps/kmail/mail and create a symlink to ~/Dokumente/MailBackup/MartinAtSchmart with the name .Backup.directory
- Restart KMail
Now the mails should be accessible via the “Backup”-folder. If not try to rebuild the index (right-click on the folder name).
Tags: kmail, offlineimap
Posted in Technisches | No Comments »