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

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

Date: Tue, 03 Feb 2015 00:42:28 +0100

To: Franz Fellner, Bartosz Telenczuk

Cc: notmuch@notmuchmail.org

From: Bartosz Telenczuk


> > 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

Thread: