Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] New User Questions
@ 2008-01-09  3:39 Guarded Identity
  2008-01-10  6:34 ` William Morgan
  0 siblings, 1 reply; 12+ messages in thread
From: Guarded Identity @ 2008-01-09  3:39 UTC (permalink / raw)


Hello everyone,

First off.  William, thanks a lot for all the work.  The Mutt home page
has always had this quote: "All mail clients suck. This one [mutt] just
sucks less."  I know Sup has room for more features and functionality,
but it my mind, it's no where near sucking, especially with the option
of using sup-console or Ruby scripts using Redwood libraries.

Having just gotten started, I have a slew of questions.  I'll try to
organize/enumerate them below to help with in-line responses.

I'm using maildirs as opposed to mboxes.  I've always preferred maildirs
over mboxes to avoid dealing with gigantic mail files.

   1. Can sent mail only be stored in an mbox, or are other formats
      supported?

I haven't gotten around to digging deeply into Sup's source, so I'm not
sure about the details of how E-mails are indexed.  I know Sup doesn't
play well with other MUAs.  The FAQ discusses mboxes pretty well.  I was
hoping for a little more discussion of how modification of maildir mail
by other MUAs affects Sup.  For instance, the maildir specification has
mail put in $MAILDIR/new/ until read by a MUA, which should move the
mail to $MAILDIR/cur/ to mark the mail as "seen".

   2. Will migration of maildir mail from new/ to cur/ necessitate an
      execution of sup-sync?

Also, "read" flags (and others) are stored in the Maildir filename.

   3. If the filename of maildir mail changes, is a sup-sync required?

If 2. or 3. are indeed problems, maybe I could front the maildir sources
with an IMAP server.  I had done this before, actually, but I noticed
that Sup indexing was slowed down quite a bit (rss2email and mailing
lists generate a lot of new mail).  If I do go with IMAP, I guess I
could sequence a sup-sync right after my crontab call to fetchmail to
help with indexing?  I just wasn't keen on Sup being locked out
periodically by crontab.

Alternatively, I could move all my Maildirs into mboxes.  I know Sup has
a bias towards not deleting mail, but sup-sync-back is there for mboxes.

   4. How far away is sup-sync-back support for maildirs or IMAP?  Is
      the work straight-forward or are there some technical kinks to be
      ironed out?

   5. Should I consider using mboxes for any reason beyond support by
      sup-sync-back?

Also, I would really like to have time-based auto-expiry (excluding
starred or special-labeled items) for some of my mail (primarily mailing
lists and rss feeds).  With mboxes, I guess I could do some
"deleted"-labeling with a Ruby script followed by a call to
sup-sync-back.
    
   6. What are my scripting options for mail expiry with Maildirs?  The
      search to get the message objects is pretty straight forward.  How
      much further work is it to delete the message from the index and
      to get a filename of the message to delete from the maildir?

Also, I kind of miss urlview.

   7. Any proposal for easily opening urls from messages?  
    
      urlview is already coded up, so I'm all for a mechanism for piping
      messages into an external application.  But this leads to other
      design issues, I think, like how to enable user-level key
      bindings.

I have few questions regarding hooks and threading:

   8. I'm a little confused about threading interacts with labeling in
      Sup.  Labels are applied to entire threads, but it seems that
      labels are stored on a per-mail basis.  Is seems possible for
      message within a thread to have different labels, say by using a
      before-add-message.rb hook.  Is the label set for the thread a
      union of all the labels of its constituents?
    
   9. If a new message comes into a thread, is it auto-labeled with the
      labels of the thread?

  10. I tried to do some auto-archiving with the before-add-message.rb
      hook using message.remove_label("inbox"), but it didn't work.  Is
      this possible?  Or is auto-archiving only possible at the source
      level?

Finally. . .

  11. Is it possible to search for mail that has no labels without saying
      "!label:label1 AND !label:label2 AND ..."?

      I looked a little in the Ferret documentation, but didn't find a
      way.  I was trying to do this to get at some mail I archived
      accidentally before applying labels.

That's what I've got for now.  I hope I didn't overwhelm the list with a
lot of stupid questions.

Thanks for your help,
Sukant


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [sup-talk] New User Questions
@ 2008-03-28  0:22 Marc Hartstein
  2008-03-28 10:33 ` Marcus Williams
  0 siblings, 1 reply; 12+ messages in thread
From: Marc Hartstein @ 2008-03-28  0:22 UTC (permalink / raw)


Sorry if any of this has been discussed elsewhere.  I've read the docs
on the website, skimmed the wiki, and skimmed the mailing list archives
for the past few months, but I could easily have missed something.

First, I ran into the same problem discussed in the thread "startup
crash" started on 2008-03-09.  (I'm also running Gentoo and installed
the latest from portage)  I poked around the source a bit, and it
seems that when AccountManager.initialize is called out of
Redwood::start (sup line 113), the code to set up the default
configuration (lib/sup.rb, starts at line 166) has *not* been called, so
the $config object is empty.

Just in case the information helps; I'm not a Ruby person (yet), and I
didn't poke around enough to be clear on how it's supposed to be
working.

2. sup is pretty cool.  I'm particularly intrigued by this tag (sorry,
label) concept.

3. Is there an IRC channel?  It would be nice to be able to lurk and
drop questions if anybody happens to be around.

4. I use maildir.  Is there any way sup can mark messages as read (and,
perhaps more importantly, no longer new) once I've read them and hit
'$'?  I can deal with mutt being confused (I know sup doesn't play well
with others anyway), but it's really confusing my mail monitor, and
that's bugging me.

5. Can sup be set to automatically poll local sources for new messages
every n seconds?  Mutt does this, and it's nice not having to tell it
that I know there are new messages and it should go find them.

6. Mutt can pass text/html attachments through an external program and
display the result in its internal pager.  Is there a way to get sup to
do the equivalent?

7. How does sup choose the email address to use as "From" when replying
to an email?  It's definitely choosing the wrong thing in my setup.  My
primary address forwards to gmail, sup is configured with the primary as
my :email:, but whenever I hit reply it sets "From" to be my gmail
address.  I'd like it to be whatever alternate of mine is in To/CC if
any, and my primary address otherwise.

8. Is there any way to specify custom keybindings in a configuration
file, or would it require hacking the source?

8.1 I'd really like a one-touch reply-all like I had in mutt.

9. Is there a way to default to making all messages PGP-signed?

10. Is there (planned) a compose-hook?  I'd like to be able to switch to
sign-and-encrypt when I have a public key for every recipient.

Thanks for the cool project.  I'll probably have more "I miss this
feature from mutt" thoughts in the future, at least if I don't go
running back.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20080327/ca129127/attachment.bin 


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [sup-talk] New user questions...
@ 2009-02-26 17:33 Vadim Gutnik
  2009-03-22 17:30 ` William Morgan
  0 siblings, 1 reply; 12+ messages in thread
From: Vadim Gutnik @ 2009-02-26 17:33 UTC (permalink / raw)


I built sup on my ubuntu system as described on the wiki; no problems,
though I'll likely switch to the packaged
version as it becomes available.

I tried using mbox format, ran into the From: bug (I think -- out of a
couple thousand emails, maybe a dozen
forwarded messages were split from their emails; still, this isn't
tolerable. Is there a plan to make sup
recognize email breaks at least as well as mutt does?), so I'm using
mdir format, which doesn't suffer from it.

Two specific questions, though:

1) I use getmail to get my POP3SSL mail and put it into mdir format.
Usually, when getmail tells me it found
a message, I go to my running sup process and press "P" for it to pick
up the mail, and sup shows the new message.
Sometimes (maybe 5-10% of the time?) sup does not find the new message
until I quit and restart it. Known problem?
Is there anything I can do to help debug it?

2) At least once or twice I've hit "d" by habit (and mistake). Is
there a way to search for "deleted" messages? I could
just rebuild the index from scratch and reapply labels if I had to,
but ...there must be an easier way, right?

Thanks.

   Vadim


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

end of thread, other threads:[~2009-03-22 19:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-09  3:39 [sup-talk] New User Questions Guarded Identity
2008-01-10  6:34 ` William Morgan
2008-03-26  5:57   ` Guarded Identity
2008-03-28  0:22 Marc Hartstein
2008-03-28 10:33 ` Marcus Williams
2008-03-28 11:24   ` vasudeva
2008-03-28 17:23   ` Marc Hartstein
2008-03-28 19:51     ` Marcus Williams
2009-02-26 17:33 [sup-talk] New user questions Vadim Gutnik
2009-03-22 17:30 ` William Morgan
2009-03-22 17:56   ` John Bent
2009-03-22 19:22     ` William Morgan

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