Alright, I made a solution for this:

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

# macro index,pager S ':set 
wait_key=no<enter><pipe-entry>save-hook.pl<enter>:source 
/home/data1/protected/tmp/save-hook.tmp<enter><save-message><enter><enter>'

- 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

Reply via email to