Thorsten -- ...and then Thorsten Haude said... % % Hi,
Hello! % % I have set up my mailing lists to different addresses. To make it % easier to write mails, I have this line in my mutt.rc, and similar % lines for other mailing lists: % send-hook '~t [EMAIL PROTECTED]' 'set [EMAIL PROTECTED]' Makes sense. % % However, this hook seems to catch too late, i.e. I see the result of % every hook of this kind only in the mail *after* the one the hook is % made for. % For example, this mail (the first I write with this instance of Mutt) % will have my local user@hostname (despite the % send-hook . 'set [EMAIL PROTECTED]' % in my mutt.rc), the next mail will have [EMAIL PROTECTED] preset. A ha! % % So what is the thing I don't understand here? % % I don't ususally edit-header. Perhaps the difference is that I use my_hdr instead of $from. From my muttrc file: send-hook . unmy_hdr From: send-hook . my_hdr From: [EMAIL PROTECTED] (David T-G) send-hook (spamcop|(submit|quick).[a-z0-9]*)@.*spamcop.net 'unset pgp_autosign ; set editor=/bin/true signature= ; my_hdr Fcc: /dev/null ; my_hdr From: [EMAIL PROTECTED]' send-hook supremegall my_hdr From: [EMAIL PROTECTED] (David T-G) send-hook mutt my_hdr From: [EMAIL PROTECTED] (David T-G) send-hook remind my_hdr From: [EMAIL PROTECTED] (David T-G) send-hook vim my_hdr From: [EMAIL PROTECTED] (David T-G) send-hook win4lin my_hdr From: [EMAIL PROTECTED] (David T-G) send-hook secureshell my_hdr From: [EMAIL PROTECTED] (David T-G) It might, I suppose, also be the leading unmy_hdr call... % % Thorsten % -- % Freedom to be an idiot is part of freedom in general. HTH & HAND & Happy New Year to all :-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!
msg22115/pgp00000.pgp
Description: PGP signature