Excerpts from Luis's message on Jul 13, 2009 about 11 PM: > This afternoon I've been trying to set up a gmail account with offlineimap and > I'm having the same problem reported by this guy[1]. I run offlineimap and it > creates a Maildir directory with 4hundred read mails and 2hundred unread mails > (yes, I should pay more attention to my gmail account;).
I have not used IMAP with Sup, but AFAIK, Sup does not touch the original sources of email. For instance, it does not read nor modify messages using IMAP, it just read them using that protocol (or maildir or whatever). Therefore, the only way to get those messages marked as read is using sup-sync with the --read option. That will mark the messages as read in Sup. However there are two problems. If all the messages (unread or read) are in the same source, there is no way to indicate which messages are going to be marked as read and which are not. Moreover, if you read a message in Sup, it still will appear in Gmail as unread. I also use Gmail with Sup, but using POP. I use the web interface of Gmail when I cannnot access my laptop. I use IMAP from my mobile phone. And I download all my email to my laptop using POP. If I get a message in my laptop, it is marked as archived and read in GMail, so it does not appear as unread in the web nor in my phone. However, if I read the message in the phone or the web, it will appear as unread in Sup. Still it is a good solution if you have a "central" node where you store your mail, and do your main work (my laptop), and a couple of "external" agents (phone, web) to be able of reading your email if you do not have your laptop at hand. Another advantage is that you keep a copy of your mail in your laptop. GMail is not going to last forever (of course, it still has a long live) and with this you ensure that you will not loose your old-email in GMail is closed some day, and it is also very handy to make backups of all your email (just copy the mbox file to another location). To get the email I use getmail [1], and msmtp [2] with these scripts [3] (see last section) as a lightweight replacement for sendmail. I can provide you my config scripts if you want. It is not a good solution though if you read your email from several different computers. Cheers, Israel [1] http://pyropus.ca/software/getmail/ [2] http://msmtp.sourceforge.net/ [3] http://wiki.archlinux.org/index.php/Msmtp _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk