Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id A85C5431FCB for ; Mon, 12 Jan 2015 16:09:04 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 2.438 X-Spam-Level: ** X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qdEANyscKj6c for ; Mon, 12 Jan 2015 16:09:02 -0800 (PST) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by olra.theworths.org (Postfix) with ESMTP id 59FBC431FC3 for ; Mon, 12 Jan 2015 16:09:02 -0800 (PST) Received: from localhost (87-231-242-54.rev.numericable.fr [87.231.242.54]) by smtp.webfaction.com (Postfix) with ESMTP id 1CA5D26EA652; Tue, 13 Jan 2015 00:08:59 +0000 (UTC) Date: Tue, 13 Jan 2015 01:08:57 +0100 From: Bartosz Telenczuk To: notmuch@notmuchmail.org Message-ID: <54b4621983c45_7f93fe5bd4401f0ef@bts-MacBook-Pro.local.notmuch> In-Reply-To: <543d5e2927b41_5918e8fe90f4@ovo.mains.priv.notmuch> References: <1412617904-27252-1-git-send-email-imain@stemwinder.org> <1412619036-29203-1-git-send-email-imain@stemwinder.org> <20141014154535.GJ23373@TP_L520.localdomain> <543d5e2927b41_5918e8fe90f4@ovo.mains.priv.notmuch> Subject: Re: [PATCH] VIM: Make an option to save sent mail locally Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 13 Jan 2015 09:38:02 -0800 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2015 00:09:04 -0000 Great work! > Yeah, I can add it so the folder can be changed. I figured this was just the > start of things. Really we should be able to fcc it to our upstream provider > sent mailbox too. I would appreciate an option to configure the "sent" box per provider. I implemented this feature in this patch: id:1420891384-992-4-git-send-email-telenczuk@unic.cnrs-gif.fr The way it works is that it reads a mapping between the email-addresses and sent dirs from .notmuch-config. Then it parses the "from" header of the sent message and "notmuch inserts" the message into the directory associated with the "from" address. It is not a fully polished patch. Perhaps we could merge the two to get something more final. Bartosz