[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[leafnode-list] Re: automatic local group creation?



clemens fischer schrieb am 2008-11-20:

> A default entry matching every group determines if my host is mentioned
> in the headers or my name in the body and copies matching articles to
> local.archive, but for this feature I'd like to be able to send articles
> to local.archive.<group>, where <group> is derived from the group name
> the article was found in.  There's no problem on the lua side, but
> I would have to edit etc/leafnode/local.groups before using such
> a dynamic map and propably restart leafnode afterwards.

True. Leafnode does not edit files in /etc. If we want to change that,
we need group management and need to move the local.groups to /var/...
to avoid confusion.

> As the local groups are never sent to the usenet, there should be no
> reason to use existing leafnode facilities for automatic creation of
> local groups.  Is there such a leafnode function I could make accessible
> to lua and are there any objections to do this?  Of course that function

It doesn't work like that, the set of local groups is currently static.
I don't know how many places in leafnode are built upon this assumption
- but I know I have always written code with that assumption in mind.

-- 
Matthias Andree
-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/