* Alexander Dahl <[email protected]> [03-10-13 04:44]:
> On Sat, Mar 09, 2013 at 10:33:03AM -0700, s. keeling wrote:
> > > P.S.: and I have to get my mutt macros fixed, some hook changed my
> > > from address here after I replied on another mailing list … m( *lol*
> > 
> > FWIW:
> > 
> >    send-hook . set from=your@emailaddy
> 
> I have this line in my send hooks:
> 
> send-hook "~C ^netz39.*@lists\\.netz39\\.de$" "my_hdr From: Alexander Dahl 
> <[email protected]>"
> 
> Where do I put the one above, before or after? What does it actually
> do and why does it not affect my send hook itself?

You set the default "send-hook . ..." first as "send-hook" is set on the
*last* match when parsing the config file.  Since you only had one
send-hook, after it first matched, it remained "matched" until you reset
it by restarting mutt.  The "send-hook . ..." matches everything so the
second send-hook will not be matched unless it is triggered by the
conditions specified, and *only* for the instances where it matches.  The
default, "send-hook . ...", will be triggered on the next pass thru the
config file.

-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA      HOG # US1244711
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org                           openSUSE Community Member
Registered Linux User #207535                    @ http://linuxcounter.net

Reply via email to