From 7422a0804f4c9f42b159f8a901a84c045f30a111 Mon Sep 17 00:00:00 2001 From: Bartosz Telenczuk Date: Tue, 3 Feb 2015 00:42:28 +0100 Subject: [PATCH] Re: [PATCH] VIM: Make an option to save sent mail locally --- 2b/47408fa02de86363d4fd619c7c1079754eee9e | 70 +++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 2b/47408fa02de86363d4fd619c7c1079754eee9e diff --git a/2b/47408fa02de86363d4fd619c7c1079754eee9e b/2b/47408fa02de86363d4fd619c7c1079754eee9e new file mode 100644 index 000000000..396ec8d4b --- /dev/null +++ b/2b/47408fa02de86363d4fd619c7c1079754eee9e @@ -0,0 +1,70 @@ +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 41764431FC7 + for ; Mon, 2 Feb 2015 15:42:36 -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 bITBFrQXtyG3 for ; + Mon, 2 Feb 2015 15:42:33 -0800 (PST) +Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) + by olra.theworths.org (Postfix) with ESMTP id 1A00E431FC2 + for ; Mon, 2 Feb 2015 15:42:33 -0800 (PST) +Received: from localhost (87-231-242-54.rev.numericable.fr [87.231.242.54]) + by smtp.webfaction.com (Postfix) with ESMTP id 987C3208FB77; + Mon, 2 Feb 2015 23:42:30 +0000 (UTC) +Date: Tue, 03 Feb 2015 00:42:28 +0100 +From: Bartosz Telenczuk +To: Franz Fellner , + Bartosz Telenczuk +Message-ID: + <54d00b64c9a73_47c3ff0b58781fc17@bartels-MacBook-Pro.local.notmuch> +In-Reply-To: <54bff88d4b5dd_5b9d145d30431@TP_L520.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> + <54b4621983c45_7f93fe5bd4401f0ef@bts-MacBook-Pro.local.notmuch> + <54bff88d4b5dd_5b9d145d30431@TP_L520.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 +Cc: notmuch@notmuchmail.org +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: Mon, 02 Feb 2015 23:42:36 -0000 + +> > 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 +> +> 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. + +Definitely, in my implementation this is done via a setting in the notmuch config file, which maps between accounts and provider dir. If this is not configure, it default to not storing sent emails. For example: + +[vim] +sent_dirs=telenczb@hu-berlin.de=>HU/Sent;telenczuk@unic.cnrs-gif.fr=>CNRS/Sent + +Cheers, + +Bartosz -- 2.26.2