Article View: news.software.nntp
Article #87295Re: readers.conf
From: Russ Allbery
Date: Thu, 31 Dec 2015 05:29
Date: Thu, 31 Dec 2015 05:29
42 lines
2623 bytes
2623 bytes
Avon Kerr <avon@bbs.geek.nz.invalid> writes:
> On Thu, 31 Dec 2015 07:13:02 +1300, Avon Kerr wrote:
>> Is the use of @newsgroup.* syntax permitted in readers.conf or should it
>> be !newsgroup.* - not 100% on using wildmat formatting in readers.conf
> As a follow-up to this it seems like !newsgroup.* is the way to go and
> works... while I think @newsgroup.* syntax is best left for the
> newsfeeds file. I think that's right?
readers.conf doesn't support the @ syntax, but does support the ! syntax.
This is less well-documented than it could be, but it is mentioned:
An access group definition usually looks like:
access <name> {
users: <identity-wildmat>
newsgroups: <group-wildmat>
# ...possibly other settings
}
Again, <name> is just for documentation purposes. This says that all users
whose identity matches <identity-wildmat> can read and post to all
newsgroups matching <group-wildmat> (as before, comma-separated wildmat
expressions are allowed, but "@" is not supported).
@ has special "poison" meaning when matching against a whole list of
newsgroups. It actually could be useful in the post and newsgroups
parameters in readers.conf, but right now I think it's only supported in
newsfeeds and incoming.conf.
For what you said you wanted to do in the original post, I think ! will
probably be sufficient. The distinction is only really important for
crossposts.
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87fuyjkwyr.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailReferences:
<n616re$hn4$1@news.bbs.geek.nz> <n62a48$3g0$1@news.bbs.geek.nz>Show Full Headers
Complete Article Headers
Message-ID: <87fuyjkwyr.fsf@hope.eyrie.org> Subject: Re: readers.conf Date: Wed, 30 Dec 2015 21:29:00 -0800 From: Russ Allbery <eagle@eyrie.org> References: <n616re$hn4$1@news.bbs.geek.nz> <n62a48$3g0$1@news.bbs.geek.nz> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 40 NNTP-Posting-Host: hope.eyrie.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: usenet.stanford.edu 1451539740 29761 166.84.7.155 (31 Dec 2015 05:29:00 GMT) X-Complaints-To: action@cs.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:48P6G0daMr22/ecO4vN4hmOfqtk= X-Received-Body-CRC: 2673434625 X-Received-Bytes: 2487