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

[sup-talk] Trying sup with gmail



Hello,

I am trying to use sup for the first time and am having some
difficulties.  I currently use gmail, so I am trying to add it as a
source.  The new user guide[1] states that I could use either
sup-config or sup-add to add an IMAP source, which is what I have
tried.   Unfortunately, sup-add refuses to recognize imap[s].

   [davidjh@nyx (master; ruby-1.8.7-p302)] ~
   $ sup --version
   sup v0.11

   [davidjh@nyx (master; ruby-1.8.7-p302)] ~
   $ sup-add --help
   Adds a source to the Sup source list.

   Usage:
     sup-add [options] <source uri>+

   where <source uri>+ is one or more source URIs.

   For mbox files on local disk, use the form:
       mbox:<path to mbox file>, or
       mbox://<path to mbox file>

   For Maildir folders, use the form:
       maildir:<path to Maildir directory>; or
       maildir://<path to Maildir directory>

   Options are:
               --archive, -a:   Automatically archive all new
messages from these sources.
               --unusual, -u:   Do not automatically poll these
sources for new messages.
            --labels, -l <s>:   A comma-separated set of labels to
apply to all messages from this source
             --force-new, -f:   Create a new account for this source,
even if one already exists.
     --force-account, -o <s>:   Reuse previously defined account user@hostname.
               --version, -v:   Print version and exit
                  --help, -h:   Show this message

   [davidjh@nyx (master; ruby-1.8.7-p302)] ~
   $ sup-add imaps://imap.google.com
   Error: Unknown source type "imaps".
   Try --help for help.
   [Wed Sep 01 11:36:48 -0700 2010] Flushing Xapian updates to disk.
This may take a while...

   [davidjh@nyx (master; ruby-1.8.7-p302)] ~
   $ sup-add imap://imap.google.com
   Error: Unknown source type "imap".
   Try --help for help.
   [Wed Sep 01 11:36:51 -0700 2010] Flushing Xapian updates to disk.
This may take a while...


Checking the source, it seems adding imap sources was removed around
February, in commit 5bb1b3a29bc434c006ce0f4886059de3fa0d9801.  There
is a brief note about using offlineimap, but not much more.


Is it possible to add gmail as a source in the current version of sup,
and if so what is the recommended way of doing this?  I am quite happy
to RTFM if somebody could kindly point me towards the FM I must R.  It
is fine if the answer is IMAP is basically not supported, but if I
read up on offlineimap I can find a way to get a non-imap (mbox,
maildir?) interface, but at the moment it feels as if I am just going
in the wrong direction.

[1] http://sup.rubyforge.org/NewUserGuide.txt

--
med vänlig hälsning
David J. Hamilton
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk