Subject: [sup-talk] new user of sup

From: [email-masked] (Manish Sapariya)
Date: Wed, 31 Oct 2007 22:38:10 +0530

Hi All,
I have started using sup 2/3 days back and facing few
problems. They might be known issues or that I may not
be using the product right way, but would appreciate
any help understanding it.

- Currently I am using Thunderbird as my client and unless
I am very good at using sup, I will plan to use Thunderbird
primarily and sup for experiment purpose. Because of this
I configured sup to use the mbox files created by Thunderbird,
instead of reading the mailbox directly. Slow connection to
my mail server is another reason to do so. I cache all my mails
to local machine using TB. The reason for describing the usage
in bit detail is, may be this kind of usage are causing the
issues that I am facing.

 - I configured two sources, however sup only keeps the last
added source. I tried modifying sources.yaml, but it did not
help. I have my TB configured with various rules to move all
of my mails to different folders and I want to read all of
these mboxes into sup. Is this a known bug? If yes, is there
any workaround.

I am keeping away from using sup extensively because I can't
see all of my messages in different folders in sup.

- Can I use sup to cache my messages, so that I can do away
with Thunderbird?

Thanks and Regards,
Manish

---

From: [email-masked] (vasudeva)
Date: Wed, 31 Oct 2007 14:05:10 -0400

> these mboxes into sup. Is this a known bug? If yes, is there

I had an issue like this, and found it to be related somehow to the
following lines being present in my ~/.sup/sources.yaml...

- !masanjin.net,2006-10-01/Redwood/SentLoader
  cur_offset: 29245
- !masanjin.net,2006-10-01/Redwood/DraftLoader
  cur_offset: 4

It seems if I snipped those out, then sup-add would actually add all
the sources I told it, not simply the final one. That is, if those
lines were present, sup-add seemed to overwrite any recently-added
source with the next source I'd add. (The two lines get generated
and replaced by sup at some point.)

Not sure if this is relevant to your issue, but the symptoms do
sound similar.

/></

--
linkswarm.com :: Collaborative Insolence
vasudeva.linkswarm.com/gallery :: For The Faint of Heart

---

From: [email-masked] (William Morgan)
Date: Thu, 01 Nov 2007 21:02:38 -0700

Excerpts from vasudeva's message of Wed Oct 31 11:05:10 -0700 2007:
> the sources I told it, not simply the final one.

Interesting. I'm going to look into this.

-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (William Morgan)
Date: Mon, 12 Nov 2007 16:13:03 -0800

> and replaced by sup at some point.)

I'm not able to reproduce this. Does the same behavior happen now? If
so, can you post a source.yaml and some commands that exhibit the
overwriting?

---

From: [email-masked] (vasudeva)
Date: Tue, 13 Nov 2007 13:41:29 -0500

> so, can you post a source.yaml and some commands that exhibit the

I've just svn updated sup, and I can reproduce this.

I'm using the same sup-add command I documented in the wiki under
AddingSources...

http://sup.rubyforge.org/wiki/wiki.pl?AddingSources

to wit...

for i in $(find muttmail -type f); do ruby -I lib -w sup/trunk/bin/sup-add  -l `basename $i` -a mbox://`pwd`/$i; done

Here's my ~/.sup/sources.yaml before I start...

***
cat ~/.sup/sources.yaml
---
- !masanjin.net,2006-10-01/Redwood/MBox/Loader
  uri: mbox:///home/vasudeva/muttmail/projects/amsterdam
  cur_offset:
  usual: true
  archived: true
  id: 3
  labels:
  - amsterdam
- !masanjin.net,2006-10-01/Redwood/SentLoader
  cur_offset: 29245
- !masanjin.net,2006-10-01/Redwood/DraftLoader
  cur_offset: 4
***

And here it is after letting the batch sup-add command run...

***
cat ~/.sup/sources.yaml
---
- !masanjin.net,2006-10-01/Redwood/MBox/Loader
  uri: mbox:///home/vasudeva/muttmail/windows.lib
  cur_offset:
  usual: true
  archived: true
  id: 3
  labels:
  - windows.lib
- !masanjin.net,2006-10-01/Redwood/SentLoader
  cur_offset: 29245
- !masanjin.net,2006-10-01/Redwood/DraftLoader
  cur_offset: 4
***

The find routine returns 67 sources, the names of which are all
alpha plus the following characters: -_+.@

I'll send you a list of the sourcenames off-list, where my
meticulously-sorted furryporn email archive can't come back to haunt
me some day.

/></

---

From: [email-masked] (William Morgan)
Date: Mon, 26 Nov 2007 12:37:29 -0800

> I've just svn updated sup, and I can reproduce this.

Sorry for the delay! Finally fixed this. It was something dumb on 
my part. SVN update and see if it works now.