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

Re: [sup-talk] No imap support in sup-config



An agent or agents purporting to be David Rysdam said:
> Excerpts from Ben Walton's message of Sun Jul 11 08:20:53 -0400 2010:
> > Excerpts from Michał Kawalec's message of Sun Jul 11 08:03:47 -0400 2010:
> > 
> > Hi Michal,
> > 
> > > I recently installed sup with gem install sup, however a lack of
> > > imap while doing sup-config prevents me from using it to more
> > > serious tasks than looking on different buffers. Is there any way to
> > > fix it?
> > 
> > IMAP support in sup is deprecated.  It just didn't work well with the
> > way sup wants to view the mail stores.  People that have mail
> > available by IMAP are using offlineimap to retrieve it locally to
> > Maildir's and then adding Maildir sources to sup.
> 
> Heh, I was just coming here to ask about something related.
> 
> I noticed the IMAP support was gone, which is sad, but OK.  So I set
> up getmail to get my mail.  But how do I migrate to that?
> 
> I got the mail into a maildir and I added that as a source and I did a
> sup-sync --changed source1 source2.  But how do I remove the IMAP
> source?  Just removing it from sources.yaml makes sup crash.  (This is
> 0.10.2.)  I see something in the wiki about removing index entries,
> but the instructions are for ferret instead of xapian.

OK, so I figured out what to do.

1) Backup (or maybe "export" would be a better term for this usage)
your sup index.

2) Set up your offlineimap stuff.

3) Move .sup aside and sup-config again, but choose the Maildir that
offlineimap is writing to.

3b) Copy any config stuff (colors, hooks, contacts.txt, etc) from the
old .sup back in.

4) Restore the backup.

Ta-da!
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk