Will, et al -- ...and then Will Yardley said... % Jerko Bostjan wrote: % > % > When I reply I'd like mutt to chose From: address depending on the % > mail in To: filed. ... % % you might be able to use 'set reverse_name' (read the man page for more % info on this).
Excellent suggestion. You'll also need to set $alternates, though. % % otherwise you probably want to use hooks of some kind - ie send-hooks or % folder-hooks. These will let you customize to your heart's content, and will certainly be a next step. % % look at the description of Simple Patterns in the muttrc man page for % ideas. you might want to use something like (untested): % % send-hook . 'unmy_hdr From:' % send-hook ~t you@you1\.com 'my_hdr From: Your Name <[EMAIL PROTECTED]>' % send-hook ~t you@you2\.com 'my_hdr From: Your Name <[EMAIL PROTECTED]>' % % your milage may vary (or someone else might point out why i'm dumb) but % this should get you in the right direction. I'm not here to chime in about being dumb, but if the addresses you picked in the example really are supposed to be the same on both sides of the page, then it's not likely to be helpful; after all, they'll only take effect when CC:ing oneself (a send-hook is for mail you're sending, rather than looking at mail that was sent to you). % % reading the man pages and looking at other peoples' .muttrcs online may % be of some help in figuring out the best way to accomplish what you want % to do. I'd say to start with $alternates and $reverse_name and then move to having fetchmail deliver to procmail which will split the incoming mail into folders appropriately and then try out some folder-hook commands. % % w % % -- % GPG Public Key: % http://infinitejazz.net/will/pgp/ HTH & HAND :-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.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
msg20390/pgp00000.pgp
Description: PGP signature