Announcement

Collapse
No announcement yet.

how to use my own mail folder in kmail

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to use my own mail folder in kmail

    Many moons ago, kmail used to have an option for specifying your own mail directory. Later the option was removed, but it was possible to edit the kmailrc file and add in a folders=<path> option.

    I've just installed kubuntu 12.04, and I can't get kmail to read my emails. Does anyone know how to get it to use a particular directory for its messages.

    What I really want to do is (a) import my old messages to kmail and (b) be able to back them up (preferably in a my home folder and not in a hidden directory).

    #2
    I quit using kmail when I moved to 12.04, so I am not sure how relevant this is going to be. I used it for 11.10, so it should be close. Here is a snippet from a script I wrote for setting up my own kmail directories after a new load.

    Code:
    #kmail. might have to launch at least once to build the files before backing them up.
    
    mv ~/.kde/share/apps/kabc ~/.kde/share/apps/kabc.backup
    ln -s /mnt/files/Kmail/kabc ~/.kde/share/apps/kabc
    mv ~/.kde/share/apps/kmail/mail ~/.kde/share/apps/kmail/mail.backup
    ln -s /mnt/files/Kmail/mail ~/.kde/share/apps/kmail/mail
    mv ~/.kde/share/config/emaildefaults ~/.kde/share/config/emaildefaults.backup
    ln -s /mnt/files/Kmail/emaildefaults ~/.kde/share/config/emaildefaults
    mv ~/.kde/share/config/kmailrc ~/.kde/share/config/kmailrc.backup
    ln -s /mnt/files/Kmail/kmailrc ~/.kde/share/config/kmailrc
    mv ~/.kde/share/config/emailidentities ~/.kde/share/config/emailidentities.backup
    ln -s /mnt/files/Kmail/emailidentities ~/.kde/share/config/emailidentities
    mv ~/.kde/share/config/mailtransports ~/.kde/share/config/mailtransports.backup
    ln -s /mnt/files/Kmail/mailtransports ~/.kde/share/config/mailtransports
    FKA: tanderson

    Comment

    Working...
    X