| Home | Blog | Music | Papers | Photography | About Me |
I needed a way to get mutt to pass the addresses of people I'm sending email to to an external program which would add them to my email whitelist. I couldn't find anything obvious on the web about how to do this.
I created a very small patch to take all (well up to the first 8 or so) recipients from the To: header and pass them as arguments to a script/program. The patch is available here.
It should really be fleshed out with code to control it in the .muttrc file (right now the program name is hard coded and the only way to turn it on/off is to recompile), but it seems to serve my purpose, since now I don't have to remember to add people to my whitelist.If anyone finds it useful and decides to flesh it out to something more generic please let me know and/or send me a patch.
If you found this helpful, consider linking to this page or it's parent index, so more people will be able to find it. Of course comments are welcome. Questions, too; though I'm not a mutt expert. See below for my email information.
Last update: April 13, 2005