* steve <[email protected]> [03-17-10 09:14]: > > > I receive an email with: > > > > > > From: [email protected] > > > To: [email protected] > > > > > > (I don't have any special settings for [email protected]) > > > > > > I hit 'r' and I get: > > > > > > From: [email protected] > > > To: [email protected] > > > > > > > > > but I would like to have: > > > > > > From: [email protected] > > > To: [email protected] > > > > > > > > > How can I do this? Should I use a reply-hook? reverse_name? I'm a bit > > > confused here. > > > > I would choose, send-hook, but from TFM: > > Why use send-hook when it's only for replying to messages? When I'm in > my default inbox and I hit 'm', I get the correct address.
What if you send a *new* message to [email protected]? What do you mean "in my default inbox"? > My first idea was something like : > > reply-hook '~t ^[email protected]$" 'set from="[email protected]"' if it is *to* you, set from *you* ??? reply-hook '^...@foo\.bar$ set from="[email protected]"' > but this doesn't work, I still get my default address in the From: > header. And if it worked, I then should have to add as many lines as > email addresses I have, only changing me1 with me2 and so forth, and > this seems strange to me. > > > > Then I tried: > > reply-hook '~t^[email protected]$' 'my_hdr From: [email protected]' reply-hook '~t m...@foo\.barr my_hdr From: "[email protected]"' > same thing. I'm missing something but I don't know what. As I said earlier, I would use send-hook: send-hook . unmy_hdr From: send-hook me 'my_hdr From: <your perferred default>' send-hook [email protected] set from="[email protected]" send-hook [email protected] 'my_hdr From: "[email protected]"' -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org
