🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Thomas Feuerstack Tue, 03 Apr 2007 14:28
creating an alias-name for a newsgroup
#76012
Author: Thomas Feuerstack
Date: Tue, 03 Apr 2007 14:28
18 lines
1721 bytes
Sorry, if this is a stupid question but i'd like to do the following: In
case there is an existing group "realgroup", i would like to give it an
alias like "aliasgroup", so that users can reach the group's content by
those different names.

I've thought i could realize this by doing

ctlinnd newgroup realgroup y

and

ctlinnd newgroup aliasgroup =realgroup

afterwards, but after this my news-reader denies posting to aliasgroup
with an error-message "aliasgroup has been renamed". Do i have any
chance to come along with this?

Thanks for your help - Thomas
Re: creating an alias-name for a newsgroup
#76013
Author: Iulius
Date: Tue, 03 Apr 2007 16:27
20 lines
1945 bytes
En réponse à Thomas Feuerstack :
> afterwards, but after this my news-reader denies posting to aliasgroup
> with an error-message "aliasgroup has been renamed". Do i have any
> chance to come along with this?

With such an alias, no: the only articles accepted are those which are
received from your peers.  Local posting is not allowed to alias groups.

I believe you can achieve what you want if you rewrite the headers
thanks to filter_nnrpd.pl (or .py).  Just change the « Newsgroups »
header, replacing aliasgrouo by realgroup.

See:
http://www.eyrie.org/~eagle/software/inn/docs-2.4/hook-perl.html

-- 
Iulius

« Il y a des gens qui parlent jusqu'à ce qu'ils arrivent
  à trouver quelque chose à dire. » (Sacha Guitry)
Re: creating an alias-name for a newsgroup
#76016
Author: Thomas Feuerstack
Date: Wed, 04 Apr 2007 06:50
16 lines
1779 bytes
Iulius wrote:
> With such an alias, no: the only articles accepted are those which are
> received from your peers.  Local posting is not allowed to alias groups.

yes - i just found out yesterday.

> I believe you can achieve what you want if you rewrite the headers
> thanks to filter_nnrpd.pl (or .py).  Just change the « Newsgroups »
> header, replacing aliasgrouo by realgroup.
> 
> See:
> http://www.eyrie.org/~eagle/software/inn/docs-2.4/hook-perl.html

This looks *very* interesting - thanks for pointing me to it.

Cheers - Thomas
Re: creating an alias-name for a newsgroup
#76015
Author: Thomas Feuerstack
Date: Wed, 04 Apr 2007 14:56
10 lines
1551 bytes
Hi,

Iulius wrote:

> I believe you can achieve what you want if you rewrite the headers
> thanks to filter_nnrpd.pl (or .py).  Just change the « Newsgroups »
> header, replacing aliasgrouo by realgroup.

just wanted to say Thank you. It costed me half a day for learning the
Perl-sequences, but at last it works ;-)
Re: creating an alias-name for a newsgroup
#76017
Author: Iulius
Date: Wed, 04 Apr 2007 15:37
13 lines
1680 bytes
En réponse à Thomas Feuerstack :
> just wanted to say Thank you. It costed me half a day for learning the
> Perl-sequences, but at last it works ;-)

Glad to hear it :)

By the way, for the conversion, be careful to correctly match aliasgroup
with aliasgroup[^\.] in order not to redirect subgroups, if there is any.

-- 
Iulius

« En vérité, le chemin importe peu, la volonté d'arriver suffit à tout. »
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads