From 543584298bf304f530d551bb8909054895e2443b Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sun, 6 Dec 2015 09:56:19 +0100 Subject: add hooks for setting 'From: ...' based on mailing list --- config/hooks | 7 +++++++ muttrc | 1 + 2 files changed, 8 insertions(+) create mode 100644 config/hooks diff --git a/config/hooks b/config/hooks new file mode 100644 index 0000000..75f23e3 --- /dev/null +++ b/config/hooks @@ -0,0 +1,7 @@ +send-hook . 'unmy_hdr From:' + +send-hook '~t ^linux-kernel@vger\.kernel\.org$' 'my_hdr From: Sebastian Reichel ' +send-hook '~t ^linux-pm@vger\.kernel\.org$' 'my_hdr From: Sebastian Reichel ' +send-hook '~t ^linux-omap@vger\.kernel\.org$' 'my_hdr From: Sebastian Reichel ' +send-hook '~t ^diskussion@kreativitaet-trifft-technik\.de$' 'my_hdr From: Sebastian Reichel ' +send-hook '~t ^debian-devel@lists\.debian\.org$' 'my_hdr From: Sebastian Reichel ' diff --git a/muttrc b/muttrc index 21ee302..85d6c05 100644 --- a/muttrc +++ b/muttrc @@ -6,4 +6,5 @@ source ~/.mutt/config/editor # Editor source ~/.mutt/config/common # Standard Einstellungen source ~/.mutt/config/keys # Tastenbelegungen source ~/.mutt/config/lists # Mailing Listen +source ~/.mutt/config/hooks # Send Hooks source ~/.mutt/config/sidebar # Sidebar -- cgit v1.2.3