Automatic Creation and Deletion of Newsgroups

Lufkin, Brad (Mission Systems) brad.lufkin at ngc.com
Sun Jul 20 19:57:29 UTC 2008


Julien:
How does an administrator send a control message? 
Brad

-----Original Message-----
From: inn-workers-bounce at isc.org [mailto:inn-workers-bounce at isc.org] On Behalf Of Julien ÉLIE
Sent: Saturday, July 19, 2008 5:46 PM
To: INN Users' Group
Subject: Re: Automatic Creation and Deletion of Newsgroups

Hi Brad,

> I'd like the creation and removal of newsgroups to automatically 
> propagate from one server to another. I added the following two lines 
> to the control.ctl files of my two servers:
>
> newgroup:*:*:doit
> rmgroup:*:*:doit

The control.ctl file is used for *articles* which arrive to your news server (there is a controlchan entry in your newsfeeds file).
It is useful when a hierarchy administrator wishes to add a new group:  he sends a special article which is then processed by your news server.


> I then executed the following on one of my servers:
>
> ctlinnd newgroup testGroup

It is a *local* creation (and it does not use control.ctl).


> Sure enough, the new group shows up in my browser connected to the 
> server. However, the new group does not show up one the second server.
> What else do I need to do to make this happen?

I think the easiest thing would be to run "actsync" on the second news server.
Put it in your crontab (each hour for instance).

    http://www.eyrie.org/~eagle/software/inn/docs/actsync.html

See the examples at the bottom of the man page.

--
Julien ÉLIE

« Vous savez, les idées, elles sont dans l'air. Il suffit que quelqu'un
  vous en parle de trop près, pour que vous les attrapiez ! » (Raymond Devos)




More information about the inn-workers mailing list