<<< Date Index >>>     <<< Thread Index >>>

Re: Inserting custom line into header depending on newsgroup name pattern.



    Hi, Ren? Clerc!

Sometime (on Wednesday, April 14 at 15:20) I've received something...
>* Igor Karpov <jc@xxxxxxxxxxxxxx> [14-04-2004 14:16]:

>> I need to insert custom line when I'm _posting_ to newsgroup, which
>> name matches some pattern and not to insert if it doesn't...

>send-hook "news.group" "my_hdr X-Blablabla: blablabla"

    Simple pattern for send-hook is recipient address. Newsgroup isn't
address so right pattern must be "~hNewsgroups:.*news.group" instead of
just "news.group". :)
    Also don't forget to add send-hook . "unmy_hdr X-Blablabla" before
send-hook for newsgroup.

    Andriy.