Hello Jon!
23 Jul 09 09:32, you wrote to All:
JJ> I run Synchronet for Linux v3.15 for my BBS and BinkD as my
JJ> mailer. I need the proper command syntax to execute BinkD. I
JJ> currently use:
JJ> binkd -P 0:0/000 binkd.cfg
JJ> That's good and all but it only polls once and I have to force
JJ> exit and re-run that syntax for it to receive more FTN packets. My
JJ> goal is to send & receive. Could someone please assist me. Is it
JJ> something in the configuration file I need to modify or do I need a
JJ> different syntax? Any help would be greatly appreciated and it would
JJ> save me a lot of hassle. Thanks in advance!
Why not run it from a init.d script, it will always run in the background in
both client and server modes. If you want to see what it is doing, simply run
tail -f <path to binkd.log>.
Here is a my binkd init.d script:
=== Cut ===
#!/bin/sh -e
OPTS="/fidonet/config/binkd.cfg"
PIDFILE=/fidonet/config/binkd.pid
DAEMON=/usr/sbin/binkd
test -f $DAEMON || exit 0
# don't start binkd if it is started by inetd
#grep -q '^binkp[[:space:]]' /etc/inetd.conf && exit 0
case "$1" in
start)
echo -n "Starting FTN mailer: binkd"
start-stop-daemon --start --background --pidfile $PIDFILE --chuid ross:ross
--exec $DAEMON -- $OPTS
echo "."
;;
stop)
echo -n "Stopping FTN mailer: binkd"
start-stop-daemon --oknodo --stop --pidfile $PIDFILE --exec $DAEMON
echo "."
;;
reload)
echo -n "Reloading FTN mailer: binkd"
start-stop-daemon --stop --signal 1 --pidfile $PIDFILE --exec $DAEMON
echo "."
;;
restart|force-reload)
sh $0 stop
sleep 1
sh $0 start
;;
*)
echo "Usage: /etc/init.d/binkd {start|stop|restart|reload|force-reload}"
exit 1
;;
esac
exit 0
=== Cut ===
Here is a sample binkd cfg, I will edit it down as much as possible:
=== Cut ===
domain fidonet /fidonet/out 1
domain fido alias-for fidonet
domain fidonet.org alias-for fidonet
domain fidonet.net alias-for fidonet
address 1:123/***@fidonet
sysname "The Eastern Star"
location "Spartanburg, SC USA"
sysop "Ross Cassell"
nodeinfo 115200,TCP,BINKP
call-delay 30
maxservers 5
maxclients 5
try 10
hold 600
log /fidonet/logs/binkd.log
loglevel 4
backresolv
pid-file /fidonet/config/binkd.pid
inbound /fidonet/in
inbound-nonsecure /fidonet/insec
minfree 2048
minfree-nonsecure 2048
kill-dup-partial-files
kill-old-partial-files 86400
kill-old-bsy 43200
exec "touch /fidonet/flags/newmail.flg" *.su? *.mo? *.tu? *.we? *.th? *.fr?
*.sa? *.pkt *.tic
#Link Mail Hub
node 1:123/***@fidonet 192.168.1.14 password c /fidonet/outbox
=== Cut ===
==
Ross
Fidonet Feeds Or Fidonet In Your Newsreader: http://www.easternstar.info
E-mail: ross(at)cassell(dot)us | Other Places: http://links.cassell.us
Fidonet Netmail Routing Chart Z1 Only: http://netmail.fidonet4u.info
(O)ne (B)ig (A)ss (M)istake (A)merica
... Hope And Change, How Is That Working Out For You?