Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
* [sup-devel] importing your sup email into heliotrope
@ 2011-12-30 20:31 William Morgan
  2012-01-08 20:37 ` Michael Stapelberg
  2012-01-08 20:50 ` Michael Stapelberg
  0 siblings, 2 replies; 4+ messages in thread
From: William Morgan @ 2011-12-30 20:31 UTC (permalink / raw)
  To: sup-devel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-10  0:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-30 20:31 [sup-devel] importing your sup email into heliotrope William Morgan
2012-01-08 20:37 ` Michael Stapelberg
2012-01-08 20:50 ` Michael Stapelberg
2012-01-09 22:30   ` William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox