Author Topic: How to migrate qtmail from "Int" to "SD"  (Read 2211 times)

Ian

  • Newbie
  • *
  • Posts: 29
    • View Profile
How to migrate qtmail from "Int" to "SD"
« on: April 17, 2004, 11:06:07 am »
I want to move all my email from the internal storage to my SD card (so I can upgrade from Cacko 1.20 to 1.21), and I\'ve tracked down some of the files but now I think I might have messed it up my putting something in the wrong place.

My procedure so far:

cp -r /home/zaurus/Applications/qtmail /mnt/card/QtPalmtop/qtmail
cp -r /home/zaurus/Applications/dtm /mnt/card/QtPalmtop/dtm

Currently I get all my groups and filters, but no mail. Anyone else done this recently? Any advice?

Thanks in advance,
Ian.

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
How to migrate qtmail from "Int" to "SD"
« Reply #1 on: April 17, 2004, 08:54:36 pm »
I think that the path for mail is hard-coded into the qtmail program. It will always look for and store mail in /home/zaurus/Aplications/dtm

To fool qtmail into using the SD card try linking /home/zaurus/Applications/dtm to /mnt/card/QtPalmtop/dtm

Code: [Select]
ln -s /mnt/card/QtPalmtop/dtm /home/zaurus/Applications/dtm

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
How to migrate qtmail from "Int" to "SD"
« Reply #2 on: April 18, 2004, 06:14:02 pm »
The Sharp email app on the 5600 has a drop down list on the main toolbar for selecting the location of your mail storage. I think when you switch, it moves your files for you. Does the Cacko ROM not use the same email app?
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

Ian

  • Newbie
  • *
  • Posts: 29
    • View Profile
How to migrate qtmail from "Int" to "SD"
« Reply #3 on: April 19, 2004, 12:18:43 am »
tumnus, you can switch using the drop-down menu, yes, but it doesn\'t move the mail or settings. It\'s like a completely different system.

I found that when I used the cp commands above, the mail *was* copied, but there are two major problems:

-- it forgets all your filters and settings and mailboxes, so you have to recreate the mailboxes with the same names (and the mail they contain will automagically appear)

-- it forgets which mail it has \"seen\", for example I had 250 emails, moved them across, checked my mail and it downloaded all 250 again so I had 500 messages, in pairs of course. Normally it\'s smart enough to know which messages it has downloaded.

On the plus side, I didn\'t lose any email. On the minus side, it was a lot of hassle.

Thanks for the feedback,
Ian.

P.S. Thinking about it, maybe StuBear\'s suggestion is a good one - if the dtm folder contains the settings them moving it won\'t help unless I move (or link) it back after reformatting the flash. I\'ll try that next time! Thanks.