cnfs for control* messages...
Larry Rosenman
ler at lerctr.org
Wed Jan 10 21:50:43 UTC 2001
Running 2.3.0 RELEASE, trying to put the control messages
ONLY on a cnfs spool, and the rest in tradspool.
Have the following storage.conf:
# This file is used to determine which storage method articles are sent to
# to be stored and which storage class they are stored as.
#
# Sample for the ``timehash'' storage method:
#
# method <methodname> {
# newsgroups: <wildmat>
# class: <storage class #>
# size: <minsize>[,<maxsize>]
# expires: <mintime>[,<maxtime>]
# options: <options>
# }
#
#method timehash {
# newsgroups: *
# class: 0
#}
method cnfs {
newsgroups: control,control*
class: 2
size: 0,10000000
options: CONTROL
}
method tradspool {
newsgroups: *,!control,!control*
class: 1
}
#method timehash {
# newsgroups: alt.binaries.*
# class: 1
# size: 2,32000
#}
#method timehash {
# newsgroups: alt.*
# class: 2
# size: 1
#}
#
# Sample for the ``cnfs'' storage method:
#
# methodname:wildmat:storage class #:minsize:maxsize:metacycbuffname
# method cnfs {
# newsgroups: <wildmat>
# class: <storage class #>
# size: <minsize>[,<maxsize>]
# expires: <mintime>[,<maxtime>]
# options: <metacycbuffname>
# }
#
#method cnfs {
# newsgroups: *
# class: 1
# size: 0,3999
# expires: 4d1s
# options: FAQS
#}
#method cnfs {
# newsgroups: *
# class: 2
# size: 0,3999
# expires: 0s,4d
# options: SMALLAREA
#}
#method cnfs {
# newsgroups: *
# class: 3
# size: 4000,1000000
# options: BIGAREA
#}
and the following cycbuff.conf:
#
# Meta cnfs cyclic buffer configuration file (and assignments of newsgroups to
# metacyclic buffers)
#
# The order in this items appear in this file is *important*.
# 1. Cyclic buffers
# Format:
# "cycbuff" (literally) : symbolic buffer name : path to buffer file :
# length of symbolic buffer in kilobytes in decimal (1KB = 1024 bytes)
#cycbuff:ONE:/export/cycbuffs/one:512000
#cycbuff:TWO:/export/cycbuffs/two:512000
#cycbuff:THREE:/export/cycbuffs/three:512000
cycbuff:cyc1:/usr/local/news/spool/cnfs/cyc1:3000
# 2. Meta-cyclic buffers
# Format:
# "metacycbuff" (literally) : symbolic meta-cyclic buffer name :
# comma separated list of cyclic buffer symbolic names
#
# symbolic meta-cyclic buffer name is defined at storage.conf like;
# cnfs:*:1:0:3999:SMALLAREA
# cnfs:*:2:4000:1000000:BIGAREA
#metacycbuff:BIGAREA:ONE,TWO
#metacycbuff:SMALLAREA:THREE
metacycbuff:CONTROL:cyc1
BUT, all the control.cancel messages still wind up in tradspool.
How do I fix this. I'm new to cnfs....
LER
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler at lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
More information about the inn-workers
mailing list