The Mutt E-Mail Client : Configuration : Specify default save filename
Previous: Defining the order of headers when viewing messages
Next: Specify default Fcc: mailbox when composing

## 3.14. Specify default save filename

Usage: `save-hook` [!]pattern filename

This command is used to override the default filename used when saving messages. filename will be used as the default filename if the message is From: an address matching regexp or if you are the author and the message is addressed to: something matching regexp.

See Message Matching in Hooks for information on the exact format of pattern.

Examples:

> `

>     save-hook me@(turing\\.)?cs\\.hmc\\.edu$ +elkins
>     save-hook aol\\.com$ +spam

> `

Also see the fcc-save-hook command.

The Mutt E-Mail Client : Configuration : Specify default save filename
Previous: Defining the order of headers when viewing messages
Next: Specify default Fcc: mailbox when composing