Re: send-hook based on what address the message I'm replying to was sent to?
On Wed, Sep 26, 2001 at 09:27:20PM -0500, Aaron Schrab [EMAIL PROTECTED] wrote: No need to use send-hooks. Just set up your $alternates variable to match your addresses and set $reverse_name. You'll also need to remove any my_hdr From: commands you don't want to override this. The $from variable can be used to set your default address. Spectacular! Ok, so... one catch... is there an easy way to make a few addresses exempt from this? :-) e.g., my pager alias... I don't want to respond back with my pager alias when I reply, but I _DO_ want it to show up with a '+' in my inbox (hence, $alternates catches it)... Or am I asking too much? :) -Taner
Re: send-hook based on what address the message I'm replying to was sent to?
At 00:07 -0700 27 Sep 2001, Taner Halicioglu [EMAIL PROTECTED] wrote: e.g., my pager alias... I don't want to respond back with my pager alias when I reply, but I _DO_ want it to show up with a '+' in my inbox (hence, $alternates catches it)... You can't exempt addresses. But, you can override it using send-hooks, including ones based on the address chosen by $reverse_name: send-hook ~A 'unmy_hdr From' send-hook ~f pager 'my_hdr From: some.other@address' -- Aaron Schrab [EMAIL PROTECTED] http://www.execpc.com/~aarons/ MSDOS didn't get as bad as it is overnight -- it took over ten years of careful development. -- [EMAIL PROTECTED]
send-hook based on what address the message I'm replying to was sent to?
Hmm, maybe this is addressed in a 1.3 mutt, but I dunno... I have a few email addresses that forward to this email address, and I'd like to be consistent and set my From: header based on what a message was sent TO... That is, if someone sends me email to [EMAIL PROTECTED], I'd like to have a send-hook realise this when I'm replying, and change my_hdr From: to be [EMAIL PROTECTED] instead of [EMAIL PROTECTED]... I hope that makes sense? :-) Any ideas? Thanks -Taner -- D. Taner Halicioglu [EMAIL PROTECTED]http://www.taner.net/
Re: send-hook based on what address the message I'm replying to was sent to?
Thus spake Taner Halicioglu ([EMAIL PROTECTED]): I have a few email addresses that forward to this email address, and I'd like to be consistent and set my From: header based on what a message was sent TO... Your best way is to filter by address into folders, then use a folder hook to set the From: header like so: folder-hook . set [EMAIL PROTECTED] signature='~/.signature-personal' attribution='Thus spake %n (%a):\n' -- | Justin R. Miller / [EMAIL PROTECTED] / 0xC9C40C31 | Of all the things I've lost, I miss my pants the most. -- PGP signature
Re: send-hook based on what address the message I'm replying to was sent to?
At 18:06 -0700 26 Sep 2001, Taner Halicioglu [EMAIL PROTECTED] wrote: I have a few email addresses that forward to this email address, and I'd like to be consistent and set my From: header based on what a message was sent TO... No need to use send-hooks. Just set up your $alternates variable to match your addresses and set $reverse_name. You'll also need to remove any my_hdr From: commands you don't want to override this. The $from variable can be used to set your default address. -- Aaron Schrab [EMAIL PROTECTED] http://www.execpc.com/~aarons/ The number of arguments is unimportant unless some of them are correct. -- Ralph Hartley