From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.213.13.12 with SMTP id z12cs81572ebz; Wed, 6 Jan 2010 05:12:12 -0800 (PST) Received: by 10.224.50.130 with SMTP id z2mr12770948qaf.206.1262783531799; Wed, 06 Jan 2010 05:12:11 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 33si21598275qyk.128.2010.01.06.05.12.11; Wed, 06 Jan 2010 05:12:11 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id AFB221779948; Wed, 6 Jan 2010 08:09:56 -0500 (EST) Received: from mail-pw0-f60.google.com (mail-pw0-f60.google.com [209.85.160.60]) by rubyforge.org (Postfix) with ESMTP id E687718582C1 for ; Wed, 6 Jan 2010 08:04:40 -0500 (EST) Received: by pwj13 with SMTP id 13so13923891pwj.19 for ; Wed, 06 Jan 2010 05:04:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:subject:from:to :in-reply-to:references:date:message-id:user-agent :content-transfer-encoding; bh=9T7bjGXF98/uTepAvRMpWdGQzQLiNssLMMuMUg+tx2I=; b=GR2AS05mcd4Wq131dJWY7rel0SJMzOzSn84NP8BrVwP4r0coGsWVXVHyTVdzYBr8m0 3N4CJuG8Z7NOJN6ZTETr+c6kIeGpx3+cA27pw8H7hd7muJNoL8MC4t8sgGP/bqaIW5ga GLlNzYoFssfZbSkeeAwWBOTjGbcLsiY4hyAFU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:subject:from:to:in-reply-to:references:date:message-id :user-agent:content-transfer-encoding; b=D1vyq9uWkTnNBH0HpT9Eok8nB4GaJUjHJkhecxvj437PA2B9Lp09tCiqbkQb/EiHus yjYLkMgwUDud87/xK5h/ta388nbOjhlnpYTiu/djUn/6ti6hWVmbfh4QQp3y21ifjsYU 71b/+zOoTcVTQ0ZTw58yruGuayxiEnQ4tMgoM= Received: by 10.114.251.5 with SMTP id y5mr639421wah.215.1262782584156; Wed, 06 Jan 2010 04:56:24 -0800 (PST) Received: from localhost (c-76-98-110-216.hsd1.nj.comcast.net [76.98.110.216]) by mx.google.com with ESMTPS id 21sm16996294pzk.3.2010.01.06.04.56.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 06 Jan 2010 04:56:22 -0800 (PST) From: Eric Sherman To: sup-talk In-reply-to: <1262776632-sup-1333@deepthought> References: <1262776632-sup-1333@deepthought> Date: Wed, 06 Jan 2010 07:56:20 -0500 Message-Id: <1262780979-sup-2146@changeling.local> User-Agent: Sup/git Subject: Re: [sup-talk] Questions about offlineimap+msmtp+maildir+gmail syncing X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Excerpts from Anirudh Sanjeev's message of Wed Jan 06 06:38:20 -0500 2010: > 1. Offlineimap fetches email and saves to Maildir (I am behind a very > slow connection, I need to mirror email) > 2. The appropriate Maildir is added as a source in sup. Specifically, > the Gmail.[All Mail] Folder, which has "cur". > 3. I configured msmtp to be used for sending email instead of sendmail. My setup is similar. > 1. When I send email via sup, I see the same email as an unread message > in my Gmail web frontend in the Inbox folder rather than the sent > folder. It looks like in your sup config.yaml you're only using one of your two accounts to send mail from. You're probably seeing messages sent from anirudh@anirudhsanjeev.org in your andy@ninjagod.com gmail interface? I would add the ninjagod account to your sup config.yaml and take a look at the wiki [MultipleAccountsAndReply][1] and the reply-from/before-edit [Hooks][2]. [1]: http://sup.rubyforge.org/wiki/wiki.pl?MultipleAccountsAndReply [2]: http://sup.rubyforge.org/wiki/wiki.pl?Hooks > 2. Any changes in sup aren't reflected in my web frontend. I am guessing > this is a problem with my offlineimap configuration. Deleting or > archiving an email doesn't change anything in the web client. This is because sup is primarily concerned with its own index, and does not at present manipulate its sources by default. Though there is sup-sync-back which can propagate deleted messages or marked-as-spam back to sources--it only supports mbox at present. The fact that you're not seeing changes is not your fault--sup just doesn't do it. > 3. I am unable to work with the drafts already existing in Gmail and the > web interface is unaware of the drafts I have here. A suggestion on > how to fix this would be awesome!. You could add your gmail drafts as another source to get them into sup, though sup won't actually treat those messages as drafts and you won't see sup drafts in gmail. > 4. Any other suggestions on how to make the experience with offlineimap > would be awesome! I initially used offlineimap's imap server > mirroring feature, but I found putting the emails in Maildir format > made it a lot easier. If sup actually manipulated its sources, you wouldn't have these issues, but it doesn't. So aside from the missing account in your sup config.yaml, I'd say your setup is fine and is working as it should. Sup doesn't play well with other interfaces manipulating its sources--you'll be doing the sup-sync dance a lot. I just stopped using other mail clients with my sources and I've been happy ever since. Good luck, -eric _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk