* Andre Berger <[EMAIL PROTECTED]> [2002-03-16 18:34]:
> I would like to set my Bcc headers on that basis,
> but it seems to work randomly only!
>   send-hook  '~t .*'   'my_hdr Bcc: mymail'
>   send-hook !'~t .*' 'unmy_hdr Bcc'
> I would be very happy if anyone could tell me what to do in
> order to turn off my Bcc header automatically when posting.

  send-hook . "unmy_hdr *"

this should turn off *all* extra headers.
set now set your BCC header as you need.

btw, your first send-hook reads like this:
"When TO contains an address of arbitrary
 length then set the following BCC line."
And the length can be ZERO, too!

"Get to know your regular expressions!"
(And next time start a new thread, ok?)

I think it's time for a workshop
on regex here in Berlin..

Anyway, you did not describe
what the hooks shall do.
And it's a waste of time
trying to guess it.

Sven  [read da book! see sig..]

-- 
Title:     "Mastering Regular Expressions"
Author:    Jeffrey Friedl [EMAIL PROTECTED]
Publisher: O'Reilly, 1997, 1-56592-257-3
URL:       http://www.oreilly.com/catalog/regex/

Reply via email to