Hi,

Anand Raman typed:
> However whenever i reply/compose mail to [EMAIL PROTECTED] i am still
> getting the from header from the second hook as [EMAIL PROTECTED] 
> 
> send-hook "~C [EMAIL PROTECTED]" 'my_hdr From: Anand Raman <[EMAIL PROTECTED]>'
> send-hook "~C @india.com" 'my_hdr From: Anand Raman <[EMAIL PROTECTED]>'

Try switching the order of the two send-hooks. Mutt matches hooks one
by one from top to bottom, and since [EMAIL PROTECTED] matches both the
hooks, both my_hdr commands get executed one after the other, the last
From: header overriding the previous one.

-- 
Mrinal Kalakrishnan <[EMAIL PROTECTED]> http://mrinal.dhs.org/
Linux 2.2.17 || PGP:B1E86F5B || Mutt 1.2.5i (2000-07-28) || VIM 5.7 
-- 

----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to