Subject: Changes to INN FAQ Part 3/4: Operational and Misc. Questions Newsgroups: news.software.nntp,news.software.b,news.answers From: tal@Warren.MENTORG.COM (Tom Limoncelli) Date: 20 Apr 1994 04:00:19 -0000 Posted-By: auto-faq 2.4 Archive-name: inn-faq/diff3 *** FAQ-inn.3-lastposted Tue Apr 5 00:00:23 1994 --- FAQ-inn.3 Wed Apr 20 00:00:03 1994 *************** *** 1,4 **** ! Last Changed: $Id: FAQ-inn.3,v 1.61 1994/03/15 20:09:03 tal Exp $ Part 3 of 4 --- 1,4 ---- ! Last Changed: $Id: FAQ-inn.3,v 1.64 1994/04/18 18:46:17 tal Exp $ Part 3 of 4 *************** *** 339,348 **** IP addresses for all the entries mentioned there. The problem is that this data is dynamic (sometimes people change IP addresses), and innd never goes back to check. If your system stays up for days and one of ! your feeds changes their IP address, innd will reject them. Rich plans ! to handle this in INN1.5, but for now you might find it useful to do a ! "ctlinnd reload hosts.nntp" out of cron every day or so or when you ! notice there's a problem. ------------------------------ --- 339,348 ---- IP addresses for all the entries mentioned there. The problem is that this data is dynamic (sometimes people change IP addresses), and innd never goes back to check. If your system stays up for days and one of ! your feeds changes their IP address (or has a new CNAME), innd will ! reject them. Rich plans to handle this in INN1.5, but for now you ! might find it useful to do a "ctlinnd reload hosts.nntp" out of cron ! every day or so or when you notice there's a problem. ------------------------------ *************** *** 780,786 **** --- 780,807 ---- source-archive!:!*,*sources*,!*wanted*,!*.d\ :Tc,Nm,Wn:/usr/local/bin/archive -f -i /usr/spool/news.archive/INDEX + Ulf Kieber writes: + People often complain that the man pages for archive and for newsfeeds + do give conflicting information. This is not true. Newsfeeds(5) shows + you how to set up a /program/ feed for archive, while archive(8) shows + you how to set up a /channel/ feed. There are some rules for using one + over the other: + 1. If you intend to use the ``-i'' flag, ALWAYS use a channel feed, as + archive does not do any file locking on it's index file. The index + file might get corruped by multiple concurrently running instances + of archive, as may happen with a program feed. + + 2. If you do not intend to use the ``-i'' flag, choose a channel feed + only if that feed will be very busy (some hundred articles a day, + perhaps). If the feed will not be really busy use a program feed. + + A channel feed starts up a process that keeps running all the time and + is connected to innd via a pipe, while a program feed fires up a + process for every single article that goes through the feed. That + process only handles this one article and dies thereafter. + + ------------------------------ Subject: How do I set up inpaths with INN? *************** *** 795,801 **** #!/bin/sh . /home/news/innshellvars cd ${SPOOL} ! awk '(NR > 2){print $3}' < ${HISTORY} | tr . / | sort | \ inpaths `innconfval pathhost` | \ ${MAILCMD} pathsurvey@decwrl.dec.com --- 816,822 ---- #!/bin/sh . /home/news/innshellvars cd ${SPOOL} ! awk '(NF > 2){print $3}' < ${HISTORY} | tr . / | sort | \ inpaths `innconfval pathhost` | \ ${MAILCMD} pathsurvey@decwrl.dec.com -- Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play) "Psst! Hey, Anthony! Y'know what I | Disclaimer: I do not like about existing?" "Uh... uh... what?" | speak for Mentor Graphics. "Possessing a physical extension." -TSA |