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 E7545431FCB for ; Wed, 21 Jan 2015 11:05:24 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.639 X-Spam-Level: * X-Spam-Status: No, score=1.639 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DNS_FROM_AHBL_RHSBL=2.438, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 hHtslkyMIYu9 for ; Wed, 21 Jan 2015 11:05:21 -0800 (PST) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 3434F431FC9 for ; Wed, 21 Jan 2015 11:05:21 -0800 (PST) Received: by mail-wi0-f176.google.com with SMTP id em10so19058192wid.3 for ; Wed, 21 Jan 2015 11:05:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type:content-transfer-encoding:attach; bh=QZ5gVwc57fdT2xrPZrKYpbuSEdEeB9UOYP5NTlysvvU=; b=XC5MHcuBctYik4YIhArWbLMQVuk3khlNbx5zWvwR6XBlZdbMs2Bfz38y2JX8lyPUMT /wzp5DIuhsrMm0TskpFHSYDUU4D+wQcxyidvl1zaINjNmT7orswJRETVbkhoGvL5+qyQ hjL+qHICNeNBP5MrfU8pZYgCL456rAzj2Nz0I7al3X4aP1BmptOp23risrCWqt4gJa3R IGXNImnXv8RtFrEesFzfsc/IXq9b5YPm5yi65TNS0R2jMwG+yw4uE+Vwzh7ZpLBdP8rK 2hE4Nj9j2l0VvnTJlGRbJEeWuYuEk27VhGfK5Gq6zjjJlmmxDo2nk4vECkxxtYGMc4hf FFzg== X-Received: by 10.180.8.169 with SMTP id s9mr2321723wia.72.1421867120135; Wed, 21 Jan 2015 11:05:20 -0800 (PST) Received: from localhost (p4FFB8A19.dip0.t-ipconnect.de. [79.251.138.25]) by mx.google.com with ESMTPSA id jp3sm4890wid.9.2015.01.21.11.05.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jan 2015 11:05:19 -0800 (PST) Date: Wed, 21 Jan 2015 20:05:49 +0100 From: Franz Fellner To: Bartosz Telenczuk Message-ID: <54bff88d4b5dd_5b9d145d30431@TP_L520.notmuch> In-Reply-To: <54b4621983c45_7f93fe5bd4401f0ef@bts-MacBook-Pro.local.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> 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 Attach: 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: Wed, 21 Jan 2015 19:05:25 -0000 Bartosz Telenczuk wrote: > 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 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. 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. Franz > > 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