Chained send-hooks
Hi! % send-hook . 'unmy_hdr From:' % send-hook . 'set signature=~/.signature' % send-hook '~C @domain\.com' 'my_hdr From: [EMAIL PROTECTED]' % send-hook '~f [EMAIL PROTECTED]' 'set signature=~/.signature-domain' If the From: address has been changed by the third send-hook, the fourth one won't match. However, if the From: address has been changed thanks to reverse_name, then the fourth send-hook will match. To sum up, it seems that the address matched with ~f stay the same while all send-hooks are processed. Is it the expected behaviour? Regards, -- Jeremie Le Hen jeremie at le-hen dot org ttz at chchile dot org
Re: Chained send-hooks
On Tue, Nov 25, 2008 at 05:31:19PM +0100, Jeremie Le Hen wrote: To sum up, it seems that the address matched with ~f stay the same while all send-hooks are processed. Is it the expected behaviour? Yes, this is expected behavior. You want to change the last send-hook to send2-hook, which should match on the changed address. me