On Thu, 7 May 1998, Richard L Shepherd wrote: > I have this problem where nntpcache (NNTPcache server V2.3.2.1 on Linux) > will return the CORRECT values to a LISTGROUP command but not to an XOVER > command. I have come up with a solution to this, albeit a rather ugly one. Each night I simply run this script: #!/bin/bash warn () { echo "$1" 1>&2 } err () { warn "$1" exit 1 } CACHEDIR=/var/spool/news/nntpcache kill `cat ${CACHEDIR}/nntpcache.pid.DEFAULT\:119` || err "cannot kill nntpcached" rm ${CACHEDIR}/cache* || warn "Hmmm, unable to remove 'cache.*' files" # to ensure the old ones are gone sleep 5 /usr/local/sbin/nntpcached 2> /dev/null || err "failed to start nntpcached" This is ugly but it DOES ensure all readers never see headers for articles which are unavailable. 8<--------------------------------------->8 Richard Shepherd (richards@waikato.ac.nz) Phone: 07-838-4764 8<--------------------------------------->8