mirror of
https://github.com/neomutt/samples.git
synced 2025-08-24 05:35:18 +02:00
Configuration hooks
This commit is contained in:
9
config/variable/03-009-empty_subject
Normal file
9
config/variable/03-009-empty_subject
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# Name: empty_subject
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# This variable specifies the subject to be used when replying to an email
|
||||||
|
# with an empty subject. It defaults to "Re: your mail".
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# set empty_subject = "Re: your mail"
|
||||||
|
|
9
config/variable/10-001-folder-hook
Normal file
9
config/variable/10-001-folder-hook
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# Name: folder-hook
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# When NeoMutt enters a folder which matches regex (or, when regex is
|
||||||
|
# preceded by an exclamation mark, does not match regex), the given command
|
||||||
|
# is executed.
|
||||||
|
# When several folder-hooks match a given mail folder, they are executed in
|
||||||
|
# the order given in the configuration file.
|
||||||
|
|
10
config/variable/10-002-mbox-hook
Normal file
10
config/variable/10-002-mbox-hook
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# Name: mbox-hook
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# When NeoMutt changes to a mail folder which matches regex, mailbox will
|
||||||
|
# be used as the “mbox” folder, i.e. read messages will be moved to that
|
||||||
|
# folder when the mail folder is left.
|
||||||
|
# Note that execution of mbox-hooks is dependent on the $move configuration
|
||||||
|
# variable. If set to “no” (the default), mbox-hooks will not be executed.
|
||||||
|
# The first matching mbox-hook applies.
|
||||||
|
|
10
config/variable/10-003-message-hook
Normal file
10
config/variable/10-003-message-hook
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# Name: message-hook
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# Before NeoMutt displays (or formats for replying or forwarding) a message
|
||||||
|
# which matches the given pattern (or, when it is preceded by an
|
||||||
|
# exclamation mark, does not match the pattern), the given command is
|
||||||
|
# executed. When multiple message-hooks match, they are executed in the
|
||||||
|
# order in which they occur in the configuration file.
|
||||||
|
|
||||||
|
|
14
config/variable/10-004-reply-hook
Normal file
14
config/variable/10-004-reply-hook
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# Name: reply-hook
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# These commands can be used to execute arbitrary configuration commands
|
||||||
|
# based upon recipients of the message. pattern is used to match the
|
||||||
|
# message, see section “Message Matching in Hooks” in manual for details.
|
||||||
|
# command is executed when pattern matches.
|
||||||
|
#
|
||||||
|
# reply-hook is matched against the message you are replying to, instead of
|
||||||
|
# the message you are sending. send-hook is matched against all messages,
|
||||||
|
# both new and replies. Note, reply-hooks are matched before the
|
||||||
|
# send-hook, regardless of the order specified in the user's configuration
|
||||||
|
# file.
|
||||||
|
|
21
config/variable/10-005-send-hook
Normal file
21
config/variable/10-005-send-hook
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# Name: send-hook
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# These commands can be used to execute arbitrary configuration commands
|
||||||
|
# based upon recipients of the message. pattern is used to match the
|
||||||
|
# message, see section “Message Matching in Hooks” in manual for details.
|
||||||
|
# command is executed when pattern matches.
|
||||||
|
#
|
||||||
|
# reply-hook is matched against the message you are replying to, instead of the
|
||||||
|
# message you are sending. send-hook is matched against all messages, both new
|
||||||
|
# and replies. Note, reply-hooks are matched before the send-hook, regardless
|
||||||
|
# of the order specified in the user's configuration file.
|
||||||
|
#
|
||||||
|
# send2-hook is matched every time a message is changed, either by editing
|
||||||
|
# it, or by using the compose menu to change its recipients or subject.
|
||||||
|
# send2-hook is executed after send-hook, and can, e.g., be used to set
|
||||||
|
# parameters such as the $sendmail variable depending on the message's sender
|
||||||
|
# address. Note, send-hooks are only executed once after getting the initial
|
||||||
|
# list of recip‐ ients.
|
||||||
|
|
||||||
|
|
@@ -8,4 +8,4 @@
|
|||||||
07 - IMAP
|
07 - IMAP
|
||||||
08 - POP3
|
08 - POP3
|
||||||
09 - Notmuch
|
09 - Notmuch
|
||||||
|
10 - Hooks
|
||||||
|
Reference in New Issue
Block a user