I just posted this to comp.mail.mutt but I don't think all that many people read the newsgroup, especially the developers.
I'm doing some tricky things with send-hooks to set the From: and Reply-To: fields based on the outgoing email address (mainly for mailing lists). This works great, but it means I also need the following two lines: send-hook '.' 'unmy_hdr Reply-To:' send-hook '.' 'unmy_hdr From:' In addition, I have a similar pair of lines (which come after the lines above but before all the send-hooks for mailing lists) which set the From: and Reply-To: to a reflector when sending mail outside my organization. Given that setup, essentially every mail to any address outside my organization gets a custom From: and Reply-To: field. The problem is that I want reverse_name to supersede all send-hooks. If I send something to a mailing list with a particular address and receive a personal reply from someone, I want my reply to be sent out with the same address I use to send to the mailing list. This is what reverse_name is all about. Unfortunately, the person I am sending to will almost certainly be outside my organization and, therefore, match the send-hooks that set the fields to the reflector, overriding what reverse_name would have done for me. I can't find anything in the documentation to fix this. I suppose the simplest thing would be a ~something which would match if reverse_name had set something, but no such thing seems to exist. Any ideas? --Greg
