Re: How to save messages by To: field?

2016-02-17 Thread mutt-users
Alright, I made a solution for this:

Gist:
https://gist.github.com/rmaddox/f1fcf6b4a32f04df5949

# macro index,pager S ':set 
wait_key=nosave-hook.pl:source 
/home/data1/protected/tmp/save-hook.tmp'

- the macro S envokes the script at Gist.
- script saves in the file the save-hook
- macro sources it
- and envokes save-message command

This way, I can convert old Sent folders to Maildir/n...@example.com
folders for easier searching.

On Wed, Feb 17, 2016 at 10:44:04AM +0100, mutt-us...@rcdrun.com wrote:
> Hello,
> 
> I would like to know how to save-message to the To: field.
> 
> By default it saves to "From:" field email address, like:
> 
> =f...@example.com
> 
> but I would like to change it temporarily to save in =t...@example.com by
> the recipient.
> 
> Thank you,
> Rosario


How to save messages by To: field?

2016-02-17 Thread mutt-users
Hello,

I would like to know how to save-message to the To: field.

By default it saves to "From:" field email address, like:

=f...@example.com

but I would like to change it temporarily to save in =t...@example.com by
the recipient.

Thank you,
Rosario