For compiling NOFFLE there are the following requirements:
Please use the same compiler for compiling NOFFLE that was used for compiling the gdbm library!
The reason for this warning is that there is an incompatibility between egcs and gcc that causes programs to crash on some distributions, depending on the optimisation level.
For installing NOFFLE on your system, the following steps are necessary:
chown news.news /etc/noffle.confMake it unreadable by others, if it contains a username and a password:
chmod o-r /etc/noffle.confNow you can leave the root account.
noffle --query groups # required noffle --query desc # optional group descriptions
to retrieve newsgroup information.
This may take a while depending on the number of active newsgroups
at the remote news server.
Subscribe to some groups by running
noffle --subscribe-overor
noffle --subscribe-threador
noffle --subscribe-fullThen run
noffle --fetchfor testing the retrieving of overviews/articles of the groups subscribed.
nntp stream tcp nowait news /usr/sbin/tcpd /usr/local/bin/noffle -r(Change the path of noffle if necessary)
/usr/local/bin/noffle --fetch /usr/local/bin/noffle --online
Add the following line to your 'ip-down' script:
/usr/local/bin/noffle --offlineAdd a line for running noffle to the crontab of news (by running 'crontab -u news -e' as root):
0 19 * * 1 /usr/local/bin/noffle --expire 14(if you want to run 'noffle' on Monday (1st day of week) at 19.00 and delete all articles not accessed within the last 14 days).
If something goes wrong, have a look at '/var/log/news' for error and logging messages.
It can be helpful to recompile NOFFLE with the -DDEBUG option to increase the level of logged details. Additionally, the -DDEBUG option will create a core file in the spool directory if NOFFLE should crash. This will allow those of you familiar with a debugger to send me a detailed bug report :-)