Re: [PATCH] VIM: Make an option to save sent mail locally

Subject: Re: [PATCH] VIM: Make an option to save sent mail locally

Date: Wed, 21 Jan 2015 20:05:49 +0100

To: Bartosz Telenczuk

Cc: notmuch@notmuchmail.org

From: Franz Fellner


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



Thread: