On Tue, 26 Mar 2002, Hanspeter Roth wrote:

>   On Mar 26 at 17:34, Roman Neuhauser spoke:
> 
> > > Date: Thu, 21 Feb 2002 19:57:27 +0100
> > > Subject: substituing ~l in send-hook
> > > 
> > > 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?
> > 
> >     Have you ever received a reply to this question, or perhaps found a
> >     solution? I'm interested, too.
> 
> No I haven't received an answer. I think it's just not supported in
> this context.

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'"
|
| # Check "To" and "Cc" address for send hooks:
| set default_hook="~C %s"
|
| send-hook ~l    "my_hdr From: Markus Hubig <[EMAIL PROTECTED]>"

        Markus

-- 
[ markus hubig     ] [ mail: [EMAIL PROTECTED]     ] [ debian/gnu linux (sid)  ]
[ vorholzstrasse 6 ] [ saft: [EMAIL PROTECTED] ] [ linux 2.4.17 i686       ]
[ 76131 karlsruhe  ] [ tele: +049 721 6657522  ] [ reg. Linux user #204961 ]

Attachment: msg26231/pgp00000.pgp
Description: PGP signature

Reply via email to