Re: Strange send-hook behavior
On Tue, Aug 15, 2006 at 11:02:48AM -0700, Dustin Laurence wrote:
> So the question is, is there any workaround for this? My current mail
> machine is running a very old copy of mutt (1.4-1i, looks like, from
> 2003); was this changed in a newer mutt? What about mutt-ng? I don't
> have root access on that machine but this might be worth building a
> local copy of mutt for even though I'd rather not.
Dustin wrote to another mailing list I'm on about this, and I suggested
he post here. I did find the below bug report / patch which seems to
explain this.
http://tinyurl.com/genxe
->
(
http://bugs.mutt.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=mutt&pr=1481&return_url=http%3A%2F%2Fbugs.mutt.org%2Fcgi-bin%2Fgnatsweb.pl%3Fdatabase%3Dmutt%3Bdebug%3D%3Bcmd%3Dsubmit%2520query%3BCategory%3Dany%3BConfidential%3Dany%3BSeverity%3Dany%3BPriority%3Dany%3BResponsible%3Dany%3BState%3Dany%3Bignoreclosed%3DIgnore%2520Closed%3BClass%3Dany%3BSubmitter-Id%3Dany%3BSynopsis%3Dsend-hook%3Bmultitext%3D%3Bcolumns%3DNotify-List%3Bcolumns%3DCategory%3Bcolumns%3DSynopsis%3Bcolumns%3DConfidential%3Bcolumns%3DSeverity%3Bcolumns%3DPriority%3Bcolumns%3DResponsible%3Bcolumns%3DState%3Bcolumns%3DKeywords%3Bcolumns%3DDate-Required%3Bcolumns%3DClass%3Bcolumns%3DSubmitter-Id%3Bcolumns%3DArrival-Date%3Bcolumns%3DClosed-Date%3Bcolumns%3DLast-Modified%3Bcolumns%3DOriginator%3Bcolumns%3DRelease%3Bsortby%3DNumber%3Bdisplaydate%3DCurrent%2520Date
)
This has a description of a similar (identical?) problem and a patch
which might work.
Dustin didn't mention it in his post, but I know that he knows it's
documented, because he mentioned it. This shows up in the manual, though
not in the muttrc(5) man page.
http://www.mutt.org/doc/manual/manual-3.html#send-hook
Note: the send-hook's are only executed ONCE after getting
the initial list of recipients. Adding a recipient after
replying or editing the message will NOT cause any send-hook
to be executed. Also note that my_hdr commands which modify
recipient headers, or the message's subject, don't have any
effect on the current message when executed from a
send-hook.
w