[PATCH] VIM: Make an option to save sent mail locally
Franz Fellner
alpine.art.de at gmail.com
Wed Jan 21 11:05:49 PST 2015
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 at 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
More information about the notmuch
mailing list