Hooks Options#
$default_hook#
- Description:
Pattern to use for hooks that only have a simple regex
- Type:
- Default:
set default_hook = "~f %s !~P | (~P ~C %s)"
Control how some hooks are interpreted if their pattern is a plain string or a regex, i.e. they don’t contain a pattern like ~f.
Affected Hooks |
|---|
The hooks are expanded when they are declared, so a hook will be interpreted according to the value of this option at the time the hook is declared.
The default value matches if the message is either from a user matching the regular expression given, or if it is from you (if the from address matches :alternates) and is To: or Cc:ed to a user matching the given regular expression.
$force_name#
- Description:
Save outgoing mail in a folder of their name
- Type:
- Default:
set force_name = no
Similar to $save_name, except that NeoMutt will store a copy of your outgoing message by the username of the address you are sending to even if that mailbox does not exist.
See also
$save_name#
- Description:
Save outgoing message to mailbox of recipient’s name if it exists
- Type:
- Default:
set save_name = no
Control how copies of outgoing messages are saved.
When set, a check is made to see if a mailbox specified by the recipient address exists (this is done by searching for a mailbox in the $folder directory with the username part of the recipient address).
If the mailbox exists, the outgoing message will be saved to that mailbox, otherwise the message is saved to the $record mailbox.
See also