--- /dev/null
+Return-Path: <alpine.art.de@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id E7545431FCB\r
+ for <notmuch@notmuchmail.org>; Wed, 21 Jan 2015 11:05:24 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.639\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.639 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ DNS_FROM_AHBL_RHSBL=2.438, FREEMAIL_FROM=0.001,\r
+ RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id hHtslkyMIYu9 for <notmuch@notmuchmail.org>;\r
+ Wed, 21 Jan 2015 11:05:21 -0800 (PST)\r
+Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com\r
+ [209.85.212.176]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 3434F431FC9\r
+ for <notmuch@notmuchmail.org>; Wed, 21 Jan 2015 11:05:21 -0800 (PST)\r
+Received: by mail-wi0-f176.google.com with SMTP id em10so19058192wid.3\r
+ for <notmuch@notmuchmail.org>; Wed, 21 Jan 2015 11:05:20 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=date:from:to:cc:message-id:in-reply-to:references:subject\r
+ :mime-version:content-type:content-transfer-encoding:attach;\r
+ bh=QZ5gVwc57fdT2xrPZrKYpbuSEdEeB9UOYP5NTlysvvU=;\r
+ b=XC5MHcuBctYik4YIhArWbLMQVuk3khlNbx5zWvwR6XBlZdbMs2Bfz38y2JX8lyPUMT\r
+ /wzp5DIuhsrMm0TskpFHSYDUU4D+wQcxyidvl1zaINjNmT7orswJRETVbkhoGvL5+qyQ\r
+ hjL+qHICNeNBP5MrfU8pZYgCL456rAzj2Nz0I7al3X4aP1BmptOp23risrCWqt4gJa3R\r
+ IGXNImnXv8RtFrEesFzfsc/IXq9b5YPm5yi65TNS0R2jMwG+yw4uE+Vwzh7ZpLBdP8rK\r
+ 2hE4Nj9j2l0VvnTJlGRbJEeWuYuEk27VhGfK5Gq6zjjJlmmxDo2nk4vECkxxtYGMc4hf\r
+ FFzg==\r
+X-Received: by 10.180.8.169 with SMTP id s9mr2321723wia.72.1421867120135;\r
+ Wed, 21 Jan 2015 11:05:20 -0800 (PST)\r
+Received: from localhost (p4FFB8A19.dip0.t-ipconnect.de. [79.251.138.25])\r
+ by mx.google.com with ESMTPSA id jp3sm4890wid.9.2015.01.21.11.05.18\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Wed, 21 Jan 2015 11:05:19 -0800 (PST)\r
+Date: Wed, 21 Jan 2015 20:05:49 +0100\r
+From: Franz Fellner <alpine.art.de@gmail.com>\r
+To: Bartosz Telenczuk <telenczuk@unic.cnrs-gif.fr>\r
+Message-ID: <54bff88d4b5dd_5b9d145d30431@TP_L520.notmuch>\r
+In-Reply-To: <54b4621983c45_7f93fe5bd4401f0ef@bts-MacBook-Pro.local.notmuch>\r
+References: <1412617904-27252-1-git-send-email-imain@stemwinder.org>\r
+ <1412619036-29203-1-git-send-email-imain@stemwinder.org>\r
+ <20141014154535.GJ23373@TP_L520.localdomain>\r
+ <543d5e2927b41_5918e8fe90f4@ovo.mains.priv.notmuch>\r
+ <54b4621983c45_7f93fe5bd4401f0ef@bts-MacBook-Pro.local.notmuch>\r
+Subject: Re: [PATCH] VIM: Make an option to save sent mail locally\r
+Mime-Version: 1.0\r
+Content-Type: text/plain;\r
+ charset=utf-8\r
+Content-Transfer-Encoding: 7bit\r
+Attach: \r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 21 Jan 2015 19:05:25 -0000\r
+\r
+Bartosz Telenczuk wrote:\r
+> Great work!\r
+> \r
+> > Yeah, I can add it so the folder can be changed. I figured this was just the\r
+> > start of things. Really we should be able to fcc it to our upstream provider\r
+> > sent mailbox too.\r
+> \r
+> I would appreciate an option to configure the "sent" box per provider. I\r
+> implemented this feature in this patch:\r
+> \r
+> id:1420891384-992-4-git-send-email-telenczuk@unic.cnrs-gif.fr\r
+\r
+Generally it might work. But there are other features that may rely on per-account-settings (drafts, outbox, templates, ...). Setting them all that way might get ugly. The best solution might be to introduce a setting for account information.\r
+\r
+I see this patch as a first step. Having sent mails stored locally is iportant to keep track of threads. Storing them in a proper provider-specific way (some providers don't put your mails automatically in a SENT folder when you use their SMTP server for delivery, like GMAIL does) would be nice to have, yes, but we really should agree on how we store the settings.\r
+\r
+\r
+Franz\r
+\r
+> \r
+> The way it works is that it reads a mapping between the email-addresses and sent \r
+> dirs from .notmuch-config. Then it parses the "from" header of the sent message\r
+> and "notmuch inserts" the message into the directory associated with the "from" address. \r
+> \r
+> It is not a fully polished patch. Perhaps we could merge the two to get something more final.\r
+> \r
+> Bartosz\r
+\r
+\r