Great! Probably i didnt use folder-hook correctly... Now it works perfectly. Tnx. On Sun, Sep 10, 2000 at 01:05:16PM -0400, David T-G wrote: > Yage -- > > Before I forget, the correct address for mutt-users is as above. The > gbnet address sometimes leaks through since the mailing list is hosted > there, but it's not supposed to be seen. > > > ...and then Yage said... > % I have this need: > % I want Mutt to change the REPLY-TO field using the address to which the > % mail im replying to was sent. > % > % I mean... > % If you send me a mail to my address@one then when i reply to you the REPLY- > % TO field will be address@one, viceversa if you send it from address@two it > % will be [EMAIL PROTECTED] > > Have you played with $alternates (see section 6.3.6 of the manual) and > $reverse_name (6.3.165)? That is the sort of thing these are meant to > do, and you don't have to mess with a R-T: or M-F-T: header at all.. > > > % > % Ive tried with folder-hook or send-hook functions, but, no way. > % The problem can be seen also in this way, i need to change the reply to > % field when i switch from one mailbox to another (cause different addresses > % are stored in different mbx). > > If your addresses are folder-based, you should be able to use something > like > > folder-hook . my_hdr From: My Default <default@domain> > folder-hook yage my_hdr From: Yage <[EMAIL PROTECTED]> > folder-hook secret my_hdr From: Secret Account <secret@elsewhere> > > or so. > > > % > % Someone can help me ? > > HTH & HAND > > > % > % Tnx. > % Yage. > > > :-D > -- > David T-G * It's easier to fight for one's principles > (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie > (work) [EMAIL PROTECTED] > http://www.bigfoot.com/~davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! > The "new millennium" starts at the beginning of 2001. There was no year 0. > Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh* > -- -- -----------------------------------------s-i-g-n-a-t-u-r-e------ Vermouth always makes me brilliant unless it makes me idiotic. Yage <[EMAIL PROTECTED]> is a product of Zooper Inc 639