[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page

Top Document: INN FAQ Part 6/9: Day-to-day operation and changes to the system
Previous Document: (6.21) Setting up proxy-nntp to talk through a firewall
Next Document: (6.23) Fill different types of control messages in different directories?


(6.22) How do I set up inpaths with INN?


inpaths should work just fine with INN as it ships.  However, you can
make it run faster by using the following shell script.  Edit it to
your tastes.  It replaces the long "(cd /var/spool/news ;
/usr/local/bin/gfind . -type f -print | /usr/lib/news/local/inpaths sdl
| /usr/ucb/mail admin,pathsurvey@pathsurvey.eu.org)" which people usually
use.

#!/bin/sh
. /usr/lib/news/innshellvars
cd ${SPOOL}
awk '(NF > 2){print $3}' < ${HISTORY} | tr . / | sort | \
inpaths `innconfval pathhost` | \
${MAILCMD} newsmaster,pathsurvey@pathsurvey.eu.org

If the inpaths people would include this information in the
README, I could delete it from this FAQ.



Top Document: INN FAQ Part 6/9: Day-to-day operation and changes to the system
Previous Document: (6.21) Setting up proxy-nntp to talk through a firewall
Next Document: (6.23) Fill different types of control messages in different directories?

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page


[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
hwr@pilhuhn.de (Heiko W.Rupp)

Last Update October 22 2009 @ 05:35 AM

Some parts © 2009 Advameg, Inc.