On Thu, Oct 25, 2001 at 05:30:08PM -0600, Rob 'Feztaa' Park wrote:
> On Thu, Oct 25, 2001 at 11:42:56PM +0200, Manuel Hendel (dis)graced my inbox with:
> > Hallo,
> > 
> > I'm using mutt 1.3.x. I use send-hooks to define the "my_hdr From:",
> > "my_hdr Organisation:" and the signature. If write the muttrc file and
> > start mutt, everything works fine, but after a while, mutt gets
> > confused and brings wrong Organisation or wron signatures. Where's the
> > problem.
> > 
> > muttrc:
> > 
> > set default_hook="~t %s"
> > 
> > send-hook . "my_hdr From: Manuel Hendel <[EMAIL PROTECTED]> ;\
> >             set signature=peq|"
> > 
> > send-hook .*@domain\.de$ "my_hdr From: xxxxx ;\
> >             my_hdr Organisation: xxxxx ;\
> >             set signature=~/.mutt/world.sig"
> >             
> > send-hook .*@domain\.de$ "my_hdr From: xxxxx ;\
> >             my_hdr Organisation: xxxxx ;\
> >             set signature=~/.mutt/xxx.sig"
> > 
> > Is there anything wrong? I don't think so!
> 
> Well, I can see you're not unsetting the Organization header with your
> default send-hook.
> 
> This means that if you send something to an address that sets
> Organization, you'll keep that header until something else changes it.
> 
> Just add "unmy_hdr Organisation" (might need a : at the end, not sure)
> to that first send hook, and that should fix that problem.
> 
> As for your sig being screwed up, I don't know - it looks fine here.
> Unless "peq" does nothing...
> 
This seems to work. Thank you very much.

Manuel

-- 
On the other hand the early worm gets eaten. 

Reply via email to