In case anybody's interested, I've finally implemented a solution to my ancient problem of trying to get my From: address right for every list. I toss the Mutt-generated From: header with a default send-hook. I then toss that From: header for each list individually. The whole configuration is generated fully automatically, with a default From: header for any mailing lists that I don't override manually. I can also override my name or address independently for each list. I'm going to add the same functionality into standard aliases shortly, as well (so I can change my name/addy automatically even when sending to normal people). Pros: - I don't get the "delayed reaction" problem that shows up if you try simply setting from and/or realname. - I can set name and addy fully independently of each other based on the recipient. - I have separate defaults for my standard name, lists name, standard addy, and list addy. Each of the above is the sole content of a plain ordinary text file, making it easy to maintain. - The entire setup requires no user intervention. (\cr in the index automatically remakes all files whose sources have changed, and then reloads the entire config.) Cons: - My From: header is always constructed based on those rules, even if I'm replying to a message that I received at a different address. Does anybody have suggestions about getting rid of that con? My auto-generated list config is located at [1]. The source file [2] and the script [3] are also available (as is my entire config [4], for that matter), but I'm not looking for a patch to my script (although I'll be more than glad to thank you for one) - I'm simply looking for some ideas about possible ways of rescuing my Mutt-generated address before nuking it. Note that I always view a message before replying to it (so writing a temporary file containing the "To:" address with a message-hook would work), but I often have several Mutts running concurrently (so it's quite likely that file would get overwritten by another Mutt before I hit reply). Thanks, - Dave [1] http://www.bigfatdave.com/dave/mutt/muttdir/newlistsrc [2] http://www.bigfatdave.com/dave/mutt/muttdir/newlists [3] http://www.bigfatdave.com/dave/mutt/muttdir/makenewlistsrc [4] http://www.bigfatdave.com/dave/mutt/ -- Uncle Cosmo, why do they call this a word processor? It's simple, Skyler. You've seen what food processors do to food, right? Please visit this link: http://rotter.net/israel
Attachment:
pgpaWd9WBySt9.pgp
Description: PGP signature