Subject: Re: [sup-talk] Trying sup with gmail

From: Mark Alexander <[email-masked]>
Date: Wed, 01 Sep 2010 15:58:42 -0400

Excerpts from David J. Hamilton's message of Wed Sep 01 14:55:26 -0400 2010:
> 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.

My understanding is that IMAP is not supported any more by sup (I've
never used IMAP sources, so I could be wrong about this).

I use both Gmail and MS Exchange with sup, using fetchmail and
maildrop to fetch the mail and store it locally.  (I use msmtp to
send mail.)

I tried offlineimap for a while.  I know it's popular, but I abandoned
it because I was having problems with messages being moved from one
maildir to another.  I was definitely having this problem with
Exchange, and it seemed to be related to deleted messages.  I can't
remember if I was having this problem with Gmail; probably not.

In any case, fetchmail and maildrop seem very solid.  They don't give
you the ability to sync changes back to the IMAP server, but I never
needed that feature, and my understanding is that sup doesn't quite
support that yet anyway (or maybe it's experimental?).
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: "David J. Hamilton" <[email-masked]>
Date: Wed, 1 Sep 2010 11:55:26 -0700

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.

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

--
med vänlig hälsning
David J. Hamilton

---

From: Michael Stapelberg <[email-masked]>
Date: Wed, 01 Sep 2010 22:11:06 +0200

Hi David,

> and if so what is the recommended way of doing this?  I am quite happy
You can have a look at http://anirudhsanjeev.org/temp/supsite/ which explains
how to set up sup with gmail.

Best regards,
Michael