Hi Mash,

On Thu, Apr 15, 2010 at 04:12:04PM +0100, 'Mash wrote:
I have "reverse_name" turned on and was wondering if it is possible to set a reply-hook 
to set the "Cc:" depending on which address I am replying from?

reply-hook '~f exam...@domain\.com' 'my_hdr Cc: someth...@domain\.com'

Unfortunately this is not possible. Mutt processes the my_hdr commands that contain email recipients in them prior to evaluating send-hook/reply-hook, so the my_hdr command won't have any effect on the message you are currently sending. The reason for processing those headers first is so the user can match on them in the hooks. This is something we need to spend some time figuring out a solution to, since it comes up occasionally. It's sort of a chicken-and-egg type problem.

me

Attachment: pgp1xnqw5txAU.pgp
Description: PGP signature

Reply via email to