You are not logged in.

1

Sunday, October 9th 2005, 10:55pm

other kmail path

I'd like to have my mail stored on an external usb-disk /mnt/sdb1 rather than in /home

Anybody done that? and how? Moving or copying the files doesn't cut it. I can move the folders but not paste the contents ( individual messages). I am root. Moving the Mail file to the ext disk and making a symbolic link in home doesn't work.

Using kontact 1.02, KDE 3.3.2 and MEPIDS 3.3.

This post has been edited 3 times, last edit by "thulemanden" (Oct 14th 2005, 2:34pm)


2

Friday, October 14th 2005, 3:34pm

RE: other kmail path

This was possible to do with the mail client Sylpheed, which also is a bit faster than kmail.

1) Moved the Sylphhed mailbox to ext. usb drive /mnt/sdb1/
2) Entered workpath=/mnt/sdb1/Mail in the shortcut lin on the taskbar menu from where I start Sylpheed.

However kmail ought to be able to store and work in anywhere.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

3

Friday, October 14th 2005, 4:27pm

kwriteconfig --file kmailrc --group General --key folders /mnt/sdb1/

Cheers,
_
Qt/KDE Developer
Debian User

4

Friday, October 14th 2005, 5:00pm

Quoted

Originally posted by anda_skoa
kwriteconfig --file kmailrc --group General --key folders /mnt/sdb1/

Cheers,
_


Alas there is no --group General --key folders

Did you add it or what?

I added the line keyfolders=/mnt/sdb1/ to no avail.

Did you try the above or it is merely a suggestion or speculation?

On the other hand in kdeglobals there is lines:

[Paths]
Documents=/mnt/sdb1 (beause I entered in the work path at the short cut)
Trash=$HOME/Desktop/Trash/

but it didn't cut it anyhow.

This post has been edited 5 times, last edit by "thulemanden" (Oct 14th 2005, 5:21pm)


anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

5

Saturday, October 15th 2005, 12:28pm

Quoted

Originally posted by thulemanden
Alas there is no --group General --key folders

Did you add it or what?

No, I had a section [General] and a key folders there, because I upgraded from an older KMail version with default mailpath $HOME/Mail and KMail from KDE3.4 needs to set this variable because its default path is somewhere else.

Quoted


I added the line keyfolders=/mnt/sdb1/ to no avail.

it should be

Source code

1
folders=


That's one of the advantages of using kwriteconfig :)

Quoted


Did you try the above or it is merely a suggestion or speculation?

I obviously didnÄt change my mail path jsut for testing but

#> kreadconfig --file kmailrc --group General --key folders
reports the correct value here and usually kwriteconfig just needs the new value as an additional parameter

Quoted


On the other hand in kdeglobals there is lines:

[Paths]
Documents=/mnt/sdb1 (beause I entered in the work path at the short cut)
Trash=$HOME/Desktop/Trash/

but it didn't cut it anyhow.


That is the document path, the one you can always access in file dialogs and which is the default folder when they are opened without any previously visited folder

Cheers,
_
Qt/KDE Developer
Debian User

6

Saturday, October 15th 2005, 1:55pm

Well, it seems to work when using /dev/sda1 but not /dev/sdb1

I entered
folders=/mnt/sda1/
in the said file.

a1 is a usb pen drive, sdb1 is a usb hard disk.

It's fine if it works with the small drive on 30MB for ordinary mails.

Still the same, it should be a configurable option from the menus in kmail.

By the way I could copy all /Mail to sda1 but not to sdb1

sda1 is ext3, sdb1 i VFAT.

Thanks for your help.

This post has been edited 1 times, last edit by "thulemanden" (Oct 15th 2005, 2:00pm)


anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

7

Saturday, October 15th 2005, 4:02pm

Maybe VFAT has a problem with file file- or pathnames.

Cheers,
_
Qt/KDE Developer
Debian User