Subject: [sup-talk] Google and IMAP

From: [email-masked] (Tim Vaughan)
Date: Wed, 24 Oct 2007 08:51:28 +0100

I see here: http://mail.google.com/support/bin/answer.py?ctx=gmail&hl=en&answer=75725
that Google is now rolling out IMAP access for Gmail accounts.
I've been waiting for sup to have Gmail access before using it
full-time - what does this development mean for sup/Gmail interaction
now?
I'd test this with sup myself but my Gmail account doesn't have IMAP
access yet :(.

Cheers,

Tim

---

From: [email-masked] (Kevin Mark)
Date: Wed, 24 Oct 2007 04:47:57 -0400

> I'd test this with sup myself but my Gmail account doesn't have IMAP
Thanks for the heads up, I just created a gmail account and added imap
support. Mutt to only a few minutes to get it to read imap. Now on to
sup...
=K

-- 
|  .''`.  == Debian GNU/Linux == |       my web site:           |
| : :' :      The  Universal     |mysite.verizon.net/kevin.mark/|
| `. `'      Operating System    | go to counter.li.org and     |
|   `-    http://www.debian.org/ |    be counted! #238656       |
|  my keyserver: subkeys.pgp.net |     my NPO: cfsg.org         |
|join the new debian-community.org to help Debian!              |
|_______  Unless I ask to be CCd, assume I am subscribed _______|

---

From: [email-masked] (William Morgan)
Date: Fri, 26 Oct 2007 18:49:14 -0700

Excerpts from Tim Vaughan's message of Wed Oct 24 00:51:28 -0700 2007:
> I see here:
> http://mail.google.com/support/bin/answer.py?ctx=gmail&hl=en&answer=75725

It means that I don't have to write a gmail bridge any more. You can
just use IMAP. Procrastination rewarded!

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

---

From: [email-masked] (Tim Vaughan)
Date: Sat, 27 Oct 2007 17:28:45 +0100

> just use IMAP. Procrastination rewarded!

Woo :).

I now have sup set up with ssmtp and Gmail over IMAP and it seems to
be working fine - a few observations:

* Google has hacked together folder <->label translation.  Labels in
sup don't correspond to IMAP folders as far as I can tell, so I either
use Gmail labels or sup labels, not both.
* I've created filters in Gmail for mailing lists which automatically
archive and label incoming mail.  I can add an IMAP folder in Gmail as
a source to catch this mail, but perhaps I would be better off not
having Gmail filters altogether if I intend to use sup fulltime?
* Furthermore, due to having to rebuild the index when I use the Gmail
web interface, should I never use the Gmail web interface?

---

From: [email-masked] (William Morgan)
Date: Sat, 27 Oct 2007 09:56:47 -0700

Excerpts from Tim Vaughan's message of Sat Oct 27 09:28:45 -0700 2007:
> be working fine

Great!

> use Gmail labels or sup labels, not both.

Interesting. So I assume this means that a single message will appear in
multiple "folders", one for each label. Slightly weird, but Sup should
handle dupes fine.

> having Gmail filters altogether if I intend to use sup fulltime?

There should be no problem with using Gmail to filter or classify mail
in this manner. I use procmail to do exactly the same thing locally.

One day Sup will use procmail to perform its own filtering, but that
will be an added bonus and won't interfere with any per-source
autoapplied labels.

> web interface, should I never use the Gmail web interface?

It's up to you. Sup doesn't play well with others. You can either
run sup-sync --changed every time you use the web interface, or you can
use Sup's superior interface and functionality exclusively. :)

---

From: [email-masked] (Tim Vaughan)
Date: Mon, 29 Oct 2007 17:17:57 +0000

> support. Mutt to only a few minutes to get it to read imap. Now on to

I'd be interested to know how you get on.  A couple of things I've noticed
after using sup for a day or two:

* Gmail seems to store messages sent with its SMTP server so when a
  brand-new email is sent it appears in the inbox.  This is a bit annoying
  but I don't think that you can make sup store its sent emails in an IMAP
  folder.

* Sometimes I load a largeish thread and find that a thread has a red line
  with "message not downloaded" in it.

* Feature request: saved searches!

* Is there a way to make sup reply from the address an email was sent to
  (like Gmail does when it handles more than one account)?

* Sup is great but having to rebuild the index every time I use Gmail's web
  interface to send an email hurts :(.  Although I realise that's just the
  Way Things Are.

I'm really hoping I can start using sup full time though rather than Gmail's
web interface because it's so much more fun!
-- 
Tim Vaughan
07725749263

---

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

Excerpts from Tim Vaughan's message of Mon Oct 29 10:17:57 -0700 2007:
> brand-new email is sent it appears in the inbox.  This is a bit
> annoying but I don't think that you can make sup store its sent emails
> in an IMAP folder.

This is correct. I don't ever plan to write IMAP saving code, but I
would accept a patch to this effect.

> * Sometimes I load a largeish thread and find that a thread has a red
> line with "message not downloaded" in it.

If you mean a "message not received" line in Sup, that signifies that
some message had a References: header that mentioned some message id
that never occurred. So it could be symptomatic of someone replying to
an off-list message, or it could be a corrupted References: header, or
it could be a message that you just didn't receive for whatever reason.
(Or that isn't stored in Gmail.)

> * Feature request: saved searches!

Acknowledged. On the todo.

> * Is there a way to make sup reply from the address an email was sent
> to (like Gmail does when it handles more than one account)?

If you add an account to config.yaml with that email address, it should
start replying from it as well. Unfortunately this is still a manual
process at this point.

> * Sup is great but having to rebuild the index every time I use
> Gmail's web interface to send an email hurts :(.  Although I realise
> that's just the Way Things Are.

Sadly, yes...