On Mar 27 at 04:41, Markus Hubig spoke: > > > > I'd like to create a generic send-hook which substitutes ~l, > > > > something like: > > > > > > > > send-hook ~l 'my_hdr Reply-To: ~l' > > > > > > > > The ~l won't be substituted in my_hdr. Is there some means to achieve > > > > this? > > I have this in my muttrc and it works like a charm: > > | # only match "To" address for send-hooks: > | set default_hook="~t %s" > | > | # Spezial ML settings > | send-hook ~l "set locale='C' \ > | signature='~/.signature' \ > | attribution='On %{%a, %d %b %Y}, %n wrote:\n'" > |
But you use ~l only in the pattern but not in the send-hook command. Maybe the command would require %L. But this doesn't seem to be recogized either. -Hanspeter