Subject: [sup-talk] Many Maildir dirs (Was: gem i sup; cannot load such file...)

From: Daniel <[email-masked]>
Date: Fri, 31 Jan 2014 10:06:18 +0000 (UTC)

Thanks, I got it running!

I came across sup a couple of years back, when wmorgan was developing it.
Having accidently found that development has been resumed, I got curious
to try it out.

A C.R. Oldham asked on this list (but it's only visible in the web interface,
thanks a lot g****e...) on how to use sup with many maildir folders. I have
the same question. Would I have to set up a source for each and every one.

I saw the thread "A maildir root source" on the devel list, would you say
that is the way to go?

_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Daniel <[email-masked]>
Date: Fri, 31 Jan 2014 00:16:12 +0000 (UTC)

I did a gem install sup on my system, but cannot start sup:

/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require':
cannot load such file -- curses (LoadError)
       from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
       `require'
       from /home/quite/.gem/ruby/2.1.0/gems/sup-0.15.3/lib/sup.rb:10:in
       `<top (required)>'
       from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
       `require'
       from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
       `require'
       from /home/quite/.gem/ruby/2.1.0/gems/sup-0.15.3/bin/sup:20:in `<top
       (required)>'
       from .gem/ruby/2.1.0/bin/sup:23:in `load'
       from .gem/ruby/2.1.0/bin/sup:23:in `<main>'

This is an up-to-date Arch Linux, ruby 2.1.0p0, gem 2.2.0

---

From: Gaute Hope <[email-masked]>
Date: Fri, 31 Jan 2014 08:40:20 +0100

> This is an up-to-date Arch Linux, ruby 2.1.0p0, gem 2.2.0

Hi Daniel,

try these patches: https://github.com/sup-heliotrope/sup/pull/216

note that tests still fail on ruby 2.1.0.

Cheers, Gaute

---

From: Gaute Hope <[email-masked]>
Date: Fri, 31 Jan 2014 15:34:15 +0100

> I saw the thread "A maildir root source" on the devel list, would you say

That is what I am doing, works ok for me - but as you probably read from
the thread you need to use this branch:

  https://github.com/gauteh/sup/tree/maildir-root

I have been using it for more than half a year now - note that this one
syncs labels with maildirs both ways. So if you don't want that it
probably won't work correctly. I don't know if any of the others have
continued to use the maildir-root source?

If you just want to add all your maildirs as sources you have to add
each of them. You can set up a script to add them automatically, perhaps
you can get some inspiration here: 

  https://github.com/sup-heliotrope/sup/wiki/Thunderbird-Import
 
Cheers, Gaute

---

From: C. R. Oldham <[email-masked]>
Date: Fri, 31 Jan 2014 10:18:36 -0700

> the same question. Would I have to set up a source for each and every one.

Hey Daniel,

I patched Sup to support offlineimap's X-Labels support.  I have not submitted
a PR yet because it needs to be gated with a configuration option.  If you want
to try it out you can check it out from my fork at https://github.com/cro/sup

This enables you to setup offlineimap to sync only 'All Mail' from your Google
account and keep all your labels.

This might not actually be what you are asking for, if you populate your
Maildirs from somewhere else.

--cro