[kdepim-users] Seperate 'sets' of mail boxes

Frans Leerink f.leerink at xs4all.nl
Thu Nov 20 22:08:01 GMT 2008


On Wednesday 19 November 2008 12:00:53 pm kdepim-users-request at kde.org 
wrote:
> Date: Wed, 19 Nov 2008 21:51:22 +1100
> From: Peter777 <peter777 at users.sourceforge.net>
> Subject: Re: [kdepim-users] Seperate 'sets' of mail boxes
> To: kdepim-users at kde.org
> Message-ID: <200811192151.23521.peter777 at users.sourceforge.net>
> Content-Type: text/plain;  charset="utf-8"
>
> Hi Jurian,
>
> On Wednesday 19 November 2008 20:35:22 Jurian Sluiman wrote:
> > I am a student and a member of multiple student societies.
>> .....................................................
>  .......................................................  


> Just to report on the problems I was having with altering the mail
> folder path, and the 'config' file , some testing has shown ..
>
> 1.  Altering the path of the KMail folder
> ---------------------------------------------------
>
> I modified the file kmailrc.
>
> When set to:
>
> folders[$e]=$HOME/Mail/friends/mail
>
> KMail reads from 'friends' folders okay.
>
> When set to:
>
> folders[$e]=$HOME/Mail/friends
>
> KMail does use that path, but all empty folders, and KMail clears
> kmailrc file down to 15K (was 67K)
>
> Therefore, altering the path has to be the same structure as
> $HOME/.kde/share/apps/kmail , that is ..
>
> $HOME/Mail/friends/mail ==  $HOME/.kde/share/apps/kmail
>
> 2.  Testing the 'config' option
> --------------------------------------
>
> KMail does actually seem to open/use another config file. I copied
> kmailrc and called it kmailrc_friends, then ran the following
>
> $ kmail --config /home/username/.kde/share/config/kmailrc_friends
>
> and KMail seems to use BOTH files, but displayed folders from the
> 'std' folder location ( $HOME/.kde/share/apps/kmail ) only.

Hello Peter777,

With respect to altering the mail folder path I have done the following 
and it works fine. The goal that I had was to make my mail files 
available in all the installed openSUSE systems (10.3/ kde3.5.9, 
11.0/kde3.5.10 and 11.1Betax/kde4.1

1	I have created a  /data partition that is mounted to all my installed 
systems and that should contains my music, pictures, film, document and 
also my mail files.

2	Exit KMail in one of your installed systems. Make a backup of 
~/.kde/share/config/kmailrc.  Then go into Konsole and open with an 
editor the kmailrc file and add/change  in the "general section" the 
line  folders=.......   into   folders=/data/$USER/mail   Then move 
(not copy)  all your existing folders (including the hidden index files 
to the new location.   The next time you start KMail it will 
use  /data/$USER/mail instead of what is was 
before  /home/username/.....

3	In my case of course I have to add/modify in the  "general section" of 
the kmailrc file, of the other installed openSUSE systems, the 
line  folders=.......   into folders=/data/$USER/mail
In case of openSUSE 11.1/ KDE4.1 use the kmailrc file out of the 
~/.kde4/share/config directory

Hope this helps

Regards,   Frans

-- 
Regards / Groeten,

		Frans
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users



More information about the kdepim-users mailing list