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

Ingo Klöcker kloecker at kde.org
Thu Nov 20 19:22:39 GMT 2008


On Thursday 20 November 2008, Peter777 wrote:
> On Thursday 20 November 2008 09:11:08 Ingo Klöcker wrote:
> > On Wednesday 19 November 2008, Peter777 wrote:
> > > In DOS, we could do something like
> > >
> > > kmailrc = kmailrc_friends
> > >
> > > is there similar in Linux ? It would have to be a temporary
> > > thing, not a symlink, just only to be used for the duration of
> > > the KMail session.
> >
> > You could do something like the following:
> > cp kmailrc_friends ~/.kde/share/config/kmailrc
> > kmail --nofork
> > cp ~/.kde/share/config/kmailrc kmailrc_friends
> >
> > You'd put those three lines in a bash script and create similar
> > files for your different configurations.
>
> Okay, thanks. That looks interesting. No doubt I'd possibly need to
> consider what to do in the event of KMail crashing, and the final
> 'cp' not being done.

If KMail crashes (and thus exits), then the final 'cp' will be done. The 
execution of the script will not be affect by KMail crashing.

OTOH, you'd have to make sure that you exit KMail before you log out of 
KDE. So taking some kind of percautions might still be a good idea.


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20081120/01f48ffa/attachment.sig>
-------------- next part --------------
_______________________________________________
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