Re: [PATCH] VIM: Make an option to save sent mail locally
authorBartosz Telenczuk <telenczuk@unic.cnrs-gif.fr>
Mon, 2 Feb 2015 23:42:28 +0000 (00:42 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:47:59 +0000 (14:47 -0700)
2b/47408fa02de86363d4fd619c7c1079754eee9e [new file with mode: 0644]

diff --git a/2b/47408fa02de86363d4fd619c7c1079754eee9e b/2b/47408fa02de86363d4fd619c7c1079754eee9e
new file mode 100644 (file)
index 0000000..396ec8d
--- /dev/null
@@ -0,0 +1,70 @@
+Return-Path: <telenczuk@unic.cnrs-gif.fr>\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 41764431FC7\r
+       for <notmuch@notmuchmail.org>; Mon,  2 Feb 2015 15:42:36 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.438\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.438 tagged_above=-999 required=5\r
+       tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 bITBFrQXtyG3 for <notmuch@notmuchmail.org>;\r
+       Mon,  2 Feb 2015 15:42:33 -0800 (PST)\r
+Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1A00E431FC2\r
+       for <notmuch@notmuchmail.org>; Mon,  2 Feb 2015 15:42:33 -0800 (PST)\r
+Received: from localhost (87-231-242-54.rev.numericable.fr [87.231.242.54])\r
+       by smtp.webfaction.com (Postfix) with ESMTP id 987C3208FB77;\r
+       Mon,  2 Feb 2015 23:42:30 +0000 (UTC)\r
+Date: Tue, 03 Feb 2015 00:42:28 +0100\r
+From: Bartosz Telenczuk <telenczuk@unic.cnrs-gif.fr>\r
+To: Franz Fellner <alpine.art.de@gmail.com>, \r
+       Bartosz Telenczuk <telenczuk@unic.cnrs-gif.fr>\r
+Message-ID:\r
+ <54d00b64c9a73_47c3ff0b58781fc17@bartels-MacBook-Pro.local.notmuch>\r
+In-Reply-To: <54bff88d4b5dd_5b9d145d30431@TP_L520.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
+       <54bff88d4b5dd_5b9d145d30431@TP_L520.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
+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: Mon, 02 Feb 2015 23:42:36 -0000\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
+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:\r
+\r
+[vim]\r
+sent_dirs=telenczb@hu-berlin.de=>HU/Sent;telenczuk@unic.cnrs-gif.fr=>CNRS/Sent\r
+\r
+Cheers,\r
+\r
+Bartosz\r