Since I am on a lot of mailinglists and I use different local-parts for many of them, AND because I want to be able to send mail with different email adresses while inside certain mailboxes
each list, I wanted to have easy '
folderhook' management. With
folderhooks you can set various headers within
Mutt.
One of which is the
From: header. Below is how I made my life a little easier:
I use this three-line wrapper around mutt to invoke this script before launching the actual mutt binary:
#!/bin/sh
folderhooks
/usr/bin/mutt $*
Ofcourse you need to include the generated folderhooks file in your .muttrc!
Usage of any of my scripts is at the sole responsibility of you. Not me.