# Binkd sample configuration file
# Copyright (C) 1996-1997 by Dima Maloff, 2:5047/13
# $Id: binkd.cfg,v 1.3 1997/06/16 05:51:11 mff Exp mff $

#
# Your FTN domains:
#       domain <name> <main-outbound> <default-zone>
# or
#       domain <new-name> alias-for <name>
#
# domain fidonet /var/spool/binkd/outbound 2
domain fidonet \\fidonet\\outbound 2
domain fido alias-for fidonet
domain fidonet.org alias-for fidonet
# domain fidonet.net alias-for fidonet

# 
# Your addresses, 4D or 5D:
#       address <addr1> ...
#
# address 2:5015/44.4@fidonet 
address 2:6001/10.2@fidonet
# 
# The name of your system, it's location, and your name
#
sysname "Name Station"
location "Bryansk, Russia"
sysop "User Name"

#
# System capabilities
#
nodeinfo 38400,TCP,BINKP

#
# TCP settings. Leave this unchanged if not sure.
#
#iport binkp
#oport binkp
#oblksize 4096
#timeout 60

#
# Delay calls and outbound rescans
#
#call-delay 10
rescan-delay 15

#
# Max. number of inbound/outbound connections
#
#maxservers 2
#maxclients 2

#
# Binkd will try to call a node N times, if failed, it will
# hold the node for S seconds. The feature is off by default.
#
#try 10
#hold 60

#       
# hold-skipped <S>
# Binkd will hold all mail, skipped by a node, for S seconds. (Def. -- 3600)
#
#hold-skipped 3600

#
# Don't send (only receive) files if no password for an inbound session 
#               
#send-if-pwd

#
# Path and name for the logfile, loglevel
#
#log /var/log/binkd.log
log \\fidonet\\logs\\binkd.log
loglevel 4

#
# Uncomment it if you want binkd's log at your console
#
conlog 4

#
# Uncomment if you want T-Mail-style binary log
# (Will work and have sense on PCs only?) 
# Tzoff corrects UTC time returned by time() under DOS-derived OS
#
#binlog binkd.sts
#tzoff 10800                

#
# Use syslog (Only if made with -DHAVE_VSYSLOG and -DHAVE_FACILITYNAMES)
#
#syslog local0

#
# Print percents while sending or receiving 
#
percents

#
# List queue after rescans
#
printq

#
# Perform reverse resolving (for logging only)
#
backresolv

#
# Log pid:
#
#pid-file /var/run/binkd.pid

#
# Map paths in flo's:
#       ftrans <old-string> <new-string>
# Use as many ftrans's as you want.
#
#ftrans "D:\\fidonet\\outbound" "/var/spool/fido/outb"
#ftrans "\\" "/" # this replaces all slashes in a path

#
# Inbound directory for secure and non-secure links
#
#inbound /var/spool/binkd/inbound
#inbound-nonsecure /var/spool/binkd/unknown
#inbound \\BINKD\\files
inbound \\fidonet\\inbound
inbound-nonsecure \\fidonet\\inbound\\uncheck
#
# Binkd will skip all files from a node if 
# size_of_the_next_file_for_us_there + minfree < free_space_in_inbound
#
minfree 2048
minfree-nonsecure 2048

#
# When trying to receive a new file: remove from inbound partial 
# files with this name but diff.size or time. (If commented out, binkd
# will left old parts as .dt and .hr in the inbound directory)
#
kill-dup-partial-files

#                       
# Remove from inbound all old partial files. (OFF if commented out)
#       kill-old-partial-files <max-age-in-seconds>
#
kill-old-partial-files 86400

#
# Remove old .bsy/.csy files (If some left after a system crash). It would be 
# wise to set this to 43200 (12 hrs) on almost any system. (Note that binkd 
# always touches .bsy's/.csy's for active sessions) 
#
# kill-old-bsy is OFF by default.
#
#kill-old-bsy 43200

#
# Create a flag file after receiving a file
#
#flag toss!.now *.pkt
#flag toss!.now *.su? *.mo? *.tu? *.we? *.th? *.fr? *.sa?

#
# Run an external program. 
# The "*S" macro in command line substed with S.R.I.F., see !SRIF.TXT
#
#exec "my-freq-processor.exe /options *S" *.req
#exec "C:\\fips\\fips_new.exe" *.pkt *.su? *.mo? *.tu? *.we? *.th? *.fr? *.sa?

#
# Include a file 
#
#include binkd.inc

#
# Define a link:
#       node [[z:]n/]n[.p][@domain] [-nr] [{host[:port]|-} [{pwd|-} [flavour [{obox|-} [{ibox|-}]]]]]
#
# * All non-"-" fields will redefine values specified for the same node 
#       earlier in config. 
# * Flavour is one of i, c, d, -, h; and is the flavour for the outbound
#       filebox ("obox"). 
# * Binkd sends from obox all non-dir entries NOT matching ".*" wildcard.
#       EVERY TIME YOU PUT A FILE INTO OBOX CHECK IF BINKD WILL BE ABLE TO
#       UNLINK IT. Otherwise, the session will never end.
# * Default for ibox is inbound or inbound-nosecure depending on the pwd field. 
# * Default for port is oport.
# * `-nr' stands for `Not Reliable Link', this works only on outbound calls 
#       with another binkp/1.1 mailer. The option solves the only problem with
#       binkd having no enough time to start receiving of a file from 
#       non-zero offset before IP link's down, so don't use it unless you 
#       have this problem -- really not effective
#       
node 2:6001/10@fidonet vz111.debryansk.ru Password
