🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39143

Re: Help for CNFS!!

#39143
From: Russ Allbery
Date: Fri, 13 Aug 1999 00:00
49 lines
2968 bytes
Jonen Liu <Jonen.bbs@bbs.yuntech.edu.tw> writes:

> I had turn on my storageapi, but I got an error message in news.err,
> like

> Aug 13 14:04:34 news innd: SERVER cant store article

Probably a storage.conf problem:

     If an article doesn't match any entry, either by being posted to a
     newsgroup that doesn't match any of the <wildmat> patterns or by
     being outside the size and expires ranges of all entries whose
     newsgroups pattern it does match, the article is not stored and is
     rejected by innd(8).  When this happens, the error message

          cant store article

     is logged to syslog.  If you want to silently drop articles matching
     certain newsgroup patterns or size or expires ranges, assign them to
     the ``trash'' storage method rather than having them not match any
     storage method entry.

Note also the most frequent cause of this problem:

     expires
          A range of article expiration times that should be stored using this
          storage method.  Be careful; this is less useful than it may appear
          at first.  This is based only on the ``Expires'' header of the
          article, not on any local expiration policies or anything in
          expire.ctl(5)!  If <mintime> is non-zero, then this entry will not
          match any article without an ``Expires'' header.  This key is
          therefore only really useful for assigning articles with requested
          longer expire times to a separate storage method.  <mintime> and
          <maxtime> are boundaries on the amount of time into the future the
          ``Expires'' header of the article requests that it remain around,
          and are formatted 0d0h0m0s (days, hours, minutes, and seconds into
          the future).  If <maxtime> is ``0s'' or is not specified, there is
          no upper bound on expire times falling into this entry (note that
          this key has no effect on when the article will actually be expired,
          only on whether or not the article will be stored using this storage
          method).  This field is also optional and may be omitted entirely if
          all articles with or without an ``Expires'' header (that otherwise
          fulfill the requirements of this storage method entry) should be
          stored according to it.

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

Technical Details
Message-ID: <ylpv0qj51u.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <7p0giv$jmn$1@news.yuntech.edu.tw>

Show Full Headers
Complete Article Headers
Message-ID: <ylpv0qj51u.fsf@windlord.stanford.edu>
Subject: Re: Help for CNFS!!
Date: Fri, 13 Aug 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <7p0giv$jmn$1@news.yuntech.edu.tw>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 512529751
Organization: The Eyrie
Newsgroups: news.software.nntp