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

Re: [leafnode-list] Request -moderated groups



On Saturday 03 Sep 2005 12:58, Joerg Dietrich wrote:
> On Sat, Sep 03, 2005 at 12:39:10PM +0100, David Aldred wrote:
> > A question: how difficult would it be to add functionality to make this
> > happen for any moderated group, without having to add addresses manually
> > to /etc/leafnode/moderators?  What I'm thinking is this: a format for a
> > line in the moderators file something like
> >
> > uk*: @usenet.org.uk
> >
> > ... to apply to moderated groups in the whole uk.* hierarchy, simply
> > adding '@usenet.org.uk' to the newsgroup name for the moderation address.
>
> Again, it's already there. The line for this would read
>
> uk.*:%s@xxxxxxxxxxxxx
>
Great!  

> > From a very quick look at the code in moderated.c,
>
> Check lines 47-59 again :-)

Ah, yes.   I thought it was just a standard printf format string token being 
used in a way I hadn't fully grasped!


Thanks - this is exactly what I needed. 

-- 
David Aldred

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