[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sup-devel] importing your sup email into heliotrope



If you're feeling adventurous, here is how to import your Sup email into
Heliotrope. This might break horribly for you--no guarantees. Bug
reports are welcome.

1. Install heliotrope and its dependencies. There is no gem yet, so
   follow the instructions at https://github.com/wmorgan/heliotrope.

2. Dump your sup labels to a file by running sup-dump > <dumpfile>.

3. Import your mail sources into heliotrope. Mbox and maildir sources
   should go pretty quick; IMAP, as usual, will be very slow. For each
   source you can do this:

     $HELIOTROPE_DIR> ruby -Ilib bin/heliotrope-import --dir <mailstore dir> --sup-dumpfile <dumpfile> --mbox <mbox file>

   Or replace "--mbox <mbox file>" with the corresponding argument to
   your source (use --help to see them all).

4. Add your ~/.sup/drafts.mbox file using the same commands.

5. Finally, reorder the index so that messages appear in order:

     $HELIOTROPE_DIR> ruby -Ilib bin/heliotrope-reindex --reorder --dir <mailstore dir>
     $HELIOTROPE_DIR> mv <mailstore dir>/index <mailstore dir>/index-old
     $HELIOTROPE_DIR> mv <mailstore dir>/index-reindexed <mailstore dir>/index

6. Start the server:

     $HELIOTROPE_DIR> ruby -Ilib bin/heliotrope-server --dir <mailstore dir>

Point your web browser to http://localhost:8042 and see if that works!
If it looks good, you can also try and get turnsole working, for a
Sup-like client: https://github.com/wmorgan/turnsole.

Good luck and have fun!
-- 
William <w@masanjin.net>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel