I would like to be able to do something like the following:
(1)define a list of email addresses which are mine (2)when replying to a message, look at the delivered-to, to, cc, etc headers. If one of them is in the list from (1), set the From: header to that. Otherwise set the From: value to a default value. The best I've got is telling procmail to filter messages into folders depending on which address the message was to, and then having folder hooks for each of those folders saying folder-hook foo my_hdr 'From: bar' But this isn't good enough because I want to read all my mail straight off the spool and still have the same effect. Is this possible? Thanks, Tom.