🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by uhlar Tue, 04 Dec 2001 16:07
storage.conf questions
#55458
Author: uhlar
Date: Tue, 04 Dec 2001 16:07
58 lines
2674 bytes
Hello,

i am (finally) setting up INN 2.3 server and I am not sure qbout a few
things:

1. may I put 2 groups into one entry in storage.conf?

method cnfs {
	class: 1
	newsgroups: control.*,news.admin.net-abuse.*
	options: SMALL
}

2. may I use 2 entries in storage.conf, that will put articles into the same
cycbuff?

method cnfs {
	class: 1
	newsgroups: control.*
	options: SMALL
}

method cnfs {
	class: 2
	newsgroups: news.admin.net-abuse.*
	options: SMALL
}


I looked up through INSTALL, storage.conf(5) and other but I am not sure with
any of these. Both manuals mention wildmat(3) which doesn't seem to support
multiple patterns to search. 

for 1., the INSTALL says:

"In many cases, wildmat patterns can be specified in a comma-separated list
to indicate a list of newsgroups."

but none of docs says if it's allowed in storage.conf.

storage.conf(5) says:

newsgroups
              What  newsgroups  are  stored  using  this  storage
              method.  <wildmat> is a wildmat(3) pattern that  is
              matched against the newsgroups an article is posted
              to.

which imho means only one pattern is allowed here.


-- 
 Matus "fantomas" Uhlar, uhlar@fantomas.sk ; http://www.fantomas.sk/
 Warning: I don't wish to receive spam to this address.
 Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu.
 Chernobyl was an Windows 95 beta test site.
Re: storage.conf questions
#55467
Author: Russ Allbery
Date: Tue, 04 Dec 2001 20:07
48 lines
2030 bytes
uhlar <uhlar@fantomas.sk> writes:

> 1. may I put 2 groups into one entry in storage.conf?

> method cnfs {
> 	class: 1
> 	newsgroups: control.*,news.admin.net-abuse.*
> 	options: SMALL
> }

Yes.

> 2. may I use 2 entries in storage.conf, that will put articles into the
> same cycbuff?

> method cnfs {
> 	class: 1
> 	newsgroups: control.*
> 	options: SMALL
> }

> method cnfs {
> 	class: 2
> 	newsgroups: news.admin.net-abuse.*
> 	options: SMALL
> }

Yes.

> storage.conf(5) says:

> newsgroups
>               What  newsgroups  are  stored  using  this  storage
>               method.  <wildmat> is a wildmat(3) pattern that  is
>               matched against the newsgroups an article is posted
>               to.

> which imho means only one pattern is allowed here.

Only one pattern, but a pattern can contain commas and match multiple
groups.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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