Re: {ifmail}: Need Help - How to transfer News to FIDO?

Marco d'Itri (md@linux.it)
Fri, 25 Oct 1996 21:55:17 +0200 (MET DST)

Stefan Neuwirth wrote:

>When I post an article the batchfile of inn grows, so the basic configuration
>seemed to be ok. What must I do, to tranfer the inn batch file to the ifmail
>outb directory?
Try this script:

#!/bin/sh
## SH script to send fido batches out trought ifmail.

. /usr/lib/news/innshellvars

if [ ! -f $SERVERPID ]; then exit ;fi

if [ $? != 1 ]; then
echo "$0 [$$]: Usage: $0 site"
exit 1
else
SITE=$1
fi

##$NEWSBIN/ctlinnd -s -t30 flush ''
if [ -s $BATCH/$SITE ]; then
$NEWSBIN/batcher -v -p\
"/usr/local/lib/ifmail/ifnews -x0 %s"\
$SITE $BATCH/$SITE
else
echo "$0 [$$]: no articles for $SITE"
fi

You need to run it from news' crontab:
5,35 * * * * /etc/news/fidosend

The full instructions are in
ftp://svpop.com.dist.unige.it/pub/People/md/Ifmail-HOWTO.tgz
It's my Italian HOWTO, but if you don't understand italian maybe you
can look at the scripts and the sendmail macros.

-- 
ciao,
Marco