* inn-2.2-3.rpm is missing /etc/rc.d/* files (rc.news,innd) These files are in the .src.rpm but not referenced in the files section. * stock inn.conf has several problems, here are the recommended changes and reasons - pathhost: @HOSTNAME@ should be pathhost: localhost - nicekids: 4 should be nicekids: 0 - verifycancels: false should be verifycancels: true
Ack, accidentally hit commit before I was done :/ - logcancelcomm: false should be logcancelcomm: true - allownewnews: true should be allownewnews: false - usecontrolchan: false should be usecontrolchan: true - activedenable: false should be activedenable: true (All of the above options will prevent various Denial of Service attacks that are commonly seen in the Usenet world, changing these options will prevent most of these attacks) * /etc/cron.daily/inn-cron-expire should be su - news -c "/usr/lib/news/bin/news.daily delayrm" (the delayrm will call a specialized unlink program to expire articles instead of a normal unlink call, improves expire time by a factor of 10) * inn.spec configure section should include --with-news-user=news -- with-news-group=news --with-news-master=news --enable-pgp-verify * cron jobs, it would be nice to have some sort of check so that inn- cron-expire and inn-cron-nntpsend in particular do not run unless inn is running. It is somewhat annoying to get hourly emails from inn- cron-nntpsend when the inn package is installed but not running. In fact most people use streaming nntp anyway (innfeed) so maybe inn- cron-nntpsend could just be removed? * History file is not rebuild on an upgrade. On any kind of version change to inn the history file needs to be rebuilt, how about adding this section to the inn.spec file? %post if [ -f /var/lib/news/history ]; then cd /var/lib/news /usr/lib/news/bin/makehistory -i -r for i in dir hash index pag; do [ -f history.n.$i ] && mv history.n.$i history.$i done chown news.news history.* chmod 644 history.* else cd /var/lib/news cp /dev/null history /usr/lib/news/bin/makehistory -i for i in dir hash index pag; do [ -f history.n.$i ] && mv history.n.$i history.$i done chown news.news history history.* chmod 644 history history.* fi
fixed in inn-2.2-4 and later.