Re: Is it possible to use send-hook to 'edit' a header

2020-11-25 Thread ಚಿರಾಗ್ ನಟರಾಜ್
For a more generic solution that I just setup in my config file: 1. Use the following send-hook: send-hook ~l "set from='Name '" 2. Declare all of the mailing lists to be caught by the ~l parameter using lists: lists mutt-users@mutt.org gnupg-us...@gnupg.org Now, whenever I reply to a mailing

Re: Is it possible to use send-hook to 'edit' a header

2020-11-25 Thread ಚಿರಾಗ್ ನಟರಾಜ್
The way I did it for this list is: send-hook ~tmutt-us...@mutt.org "set from='ಚಿರಾಗ್ ನಟರಾಜ್ '" You should be able to edit the mutt-users@mutt.org to be *@groups.io or something (you may have to escape the asterisk?) and then use set from='Name ' as the command to run. HTH! - Chiraag --

Is it possible to use send-hook to 'edit' a header

2020-11-25 Thread Chris Green
Is there some sort of action/command I can run from send-hook that would allow 'editing' of a header? E.g. for the case I was recently enquiring about where groups.io munge certain senders' addresses the requirement would be to have a send-hook match on "via groups.io" in the From: header and