[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Areafix programs and scripts:
3.1 ftnaf -- Areafix Areafix mail processor 3.2 ftnafmail -- Areafix Mail Frontend Areafix mail setuid frontend 3.3 ftnafpkt -- Areafix packet processor Areafix packet processor 3.4 ftnafutil -- Areafix utility Areafix utility
Character set translation table compiler:
3.5 charsetc -- Character set translation table compiler Character set translation table compiler
FFX programs and scripts:
3.6 ffx -- Remote Execution via Fido Mailer Remote execution via Fido mailer 3.7 ffxmail -- ffx Frontend for Sending Mail ffx
frontend for sending mail3.8 ffxnews -- ffx Frontend for Sending News ffx
frontend for sending news3.9 ffxqt -- Execute ffx Requests Execute ffx
requests3.10 ffxrmail -- Rmail Command for FFX rmail
command forffxqt
3.11 runffx -- Script for Running FFX Programs Script for running FFX programs 3.12 send-ffx -- Script for Processing News via FFX Script for processing news via FFX
Gateway programs and scripts:
3.13 ftn2rfc -- FTN-Internet Gateway Program Fido-Internet gateway program 3.14 ftnin -- Frontend for ftn2rfc
Frontend for ftn2rfc
3.15 ftninpost -- ftnin
Post-processing Scriptftnin
post-processing script3.16 ftninrecomb -- ftnin
Recombining Scriptftnin
recombining script3.17 ftnmail -- rfc2ftn
Setuid Frontendrfc2ftn
setuid frontend3.18 rfc2ftn -- Internet-Fido Gateway Program Internet-Fido gateway program 3.19 rungate -- Script for Running Gateway Programs Script for running gateway programs 3.20 send-fidogate -- Script for Processing News via FIDOGATE Script for processing news via FIDOGATE
Ticker programs:
3.21 ftnhatch -- Hatch new file into file area Hatch new file into file area 3.22 ftntick -- Process incoming TIC files Process incoming TIC files 3.23 ftntickpost -- ftntick Post-processing Script ftntick
post-processing script
Tosser programs and scripts:
Utilties:
3.35 ftnbsy -- Create/delete Binkley Busy Filess Create/delete Binkley busy files 3.36 ftnconfig -- Retrieve information from FIDOGATE config files Retrieve information from FIDOGATE config files 3.37 ftnfattach -- Outbound file attaches Binkley outbound file attach utility 3.38 ftnflo -- Process Binkley Outbound FLO Files and Attachments Process Binkley outbound FLO files and attachments 3.39 ftnlock -- Create/Remove Lock Files Create/delete lock files 3.40 ftnlog -- Write Message to Log File Write message to log file 3.41 ftnoutpkt -- Create Fido Message Packets Create output Fido message packets 3.42 ftnseq -- Command Line Interface to Sequencer Files Access sequencer file 3.43 pktdebug -- FTN mail packet debugger FTN mail packet debugger 3.44 pktmore -- Pager frontend for pktdebug
Pager frontend for pktdebug
3.45 sumcrc -- CRC Checksum Utility CRC checksum utility
Almost all FIDOGATE programs support the following standard options, which therefore aren't listed in the sections describing the individual programs:
-v --verbose
-h --help
-c --config name
""
means none. name may
start with %X/, see below.
-a --addr Z:N/F.P
-u --uplink-addr Z:N/F.P
The option -a
and -u
also support Internet-style FTN
addresses, e.g. p10.f110.n2452.z2
. If any of these options is
specified, all addresses from the config file are disabled.
All options and config statements which take file or directory names
accept the following %
abbreviations:
%C
%L
%N
%G
%V
%K
%S
%B
%I
%P
%U
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnaf [-options] [Z:N/F.P command ] |
Options:
-m --mail
-r --no-reply
-n --no-rewrite
-b --areas-bbs NAME
-F --filefix
Commands:
listall
list
query
unlinked
from Z:N/F.P PASSWORD
passwd Z:N/F.P PASSWORD
password Z:N/F.P PASSWORD
+AREA
AREA
subscribe AREA
sub AREA
-AREA
unsubscribe AREA
unsub AREA
vacation AREA
&AREA [-options ]
new AREA [-options ]
create AREA [-options ]
&
key in their passwd
entry. Allowed areas.bbs
options:
-#
, -p
, -r
, -l
lvl, -k
key,
-d
desc, and -z
zone.
~AREA
delete AREA
~
key in their passwd
entry.
comment text
help
All command keywords may be prefixed by %
. ftnaf
also
recognizes the -q
(= query) and -l
(= list) options
following the password in the subject header.
For proper operation ftnaf
requires the X-FTN-From
header
generated by ftn2rfc
, thus the X-FTN
configuration must
include the f
flag.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnafmail [-options] |
Options:
-F --filefix
ftnaf
as Filefix program.
This is the setuid mail frontend for ftnaf
to be run from the
sendmail aliases. DO NOT use ftnaf
directly, as this will result
in security problems.
# Areafix/Filefix - FIDOGATE ftnaf areafix: "|/usr/lib/fidogate/ftnafmail" areamgr: areafix filefix: "|/usr/lib/fidogate/ftnafmail -F" filemgr: filefix |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnafpkt [-options] [packet ... ] |
Options:
-I --in-dir name
-O --out-dir name
-l --lock-file
-r --no-reply
-n --no-rewrite
-b --areas-bbs NAME
-F --filefix
This is the packet processor frontend for the FIDOGATE Areafix, which
doesn't require the Unix mail system for Areafix operation. The best way
to use ftnafpkt
is via the tosser.
routing
example:
Remap 2:2499/999.* 2:2499/999.101 "Area*" # ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ # node addr pseudo point # for Areafix NetMail Send hold 2:2499/999.* |
packing
example:
progn areafix "/usr/lib/fidogate/ftnafpkt %s" pack areaifx 2:2499/999.101 |
runout
must be run regularly to process messages generated by
ftnafpkt
.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnafutil [-options] [command ... ] |
Options:
-n --no-rewrite
-b --areas-bbs NAME
-F --filefix
-O --out-dir name
Commands:
delete
areas.bbs
(no uplink and no downlinks).
subscribe
-s S/U
option in areas.bbs
).
unsubscribe
-s S/U
option in areas.bbs
).
Auto-subscribe/unsubscribe will only be used for areas marked with the
state option. State -s U
means that the area is not currently
subscribed at the uplink, -s S
means that the are is subscribed
at the uplink.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
charsetc [-options] charset.map charset.bin |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ffx [-options] Z:N/F.P command |
Options:
-b --batch-dir dir
-n
.
-B --binkley name
-F --flavor flavor
Hold
, Normal
,
Direct
, or Crash
.
-g --grade grade
-n --nocompression
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ffxmail Z:N/F.P address ... |
No options.
ffxmail
calls ffx
in batch mode (-b
), selecting the
batch directory for the node address. Modify the script
(src/ffx/ffxmail.sh
) for other addresses/batch directories.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ffxnews Z:N/F.P |
No options.
ffxnews
calls ffx
in batch mode (-b
), selecting the
batch directory for the node address. Modify the script
(src/ffx/ffxnews.sh
) for other addresses/batch directories.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ffxqt [-options] |
Options:
-g --grade grade
-I --inbound name
f???????.ffx
control files
are read from. Default: PINBOUND
-t --insecure
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ffxrmail address ... |
Perl script to be called by ffxqt
for rmail
commands to
receive Internet mail. This replaces /bin/rmail
(UUCP), calling
/usr/lib/sendmail
directly with appropiate options.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
runffx |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ffxqt [hostname] |
Processes INN news batch file
/var/spool/news/out.going/
hostname.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftn2rfc [-options] [packet ... ] |
Options:
-1 --single-articles
tmpnews
), not news
batches containing several articles (batch is default).
-I --inbound-dir NAME
-i --ignore-hosts
hosts
)
-l --lock-file
-n --no-remove
-t --insecure
-x --exec-program SCRIPT
%L/ftninpost
.
ftn2rfc
reads packet files from the input directory or the
command line and converts the FTN packets to Internet RFC mail and news,
written as mail and news RFC message files to the directories
SPOOLDIR/outrfc/mail and SPOOLDIR/outrfc/news, respectively.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ftn2rfc
Usage:
ftnin [-options] |
Options:
-n --no-toss
ftn2rfc
for processing.
-x --exec-program SCRIPT
ftn2rfc
processing, typically
%L/ftninpost
.
All standard options are passed to the called ftn2rfc
.
ftnin
looks for mail packets addressed to the gateway addresses
(all Address
/GateAddress
statements in
fidogate.conf
) and calls ftn2rfc
for each packet.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ftnin
Post-processing Script Usage:
ftninpost [-options] |
This script is run by ftn2rfc
or ftnin
, feeding the output
in SPOOLDIR/outrfc/mail and SPOOLDIR/outrfc/news to sendmail
and
rnews
, respectively.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ftnin
Recombining Script Usage:
ftninrecomb [-options] |
If FTNInRecombine
is enabled in fidogate.conf
, this script
wil be run by ftninpost
to recombine split messages. NOT TESTED
FOR RELEASE 4.4!!!
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
rfc2ftn
Setuid Frontend Usage:
ftnmail [-options] [address ...] |
Setuid frontend for rfc2ftn
, passes the options
-a --addr ADDR
rfc2ftn
as -a ADDR -u ADDR
.
-i --ignore-hosts
rfc2ftn
as -i
.
-O --out-dir DIR
rfc2ftn
as -O %S/DIR
.
ftnmail
should be used for sendmail mailers. DO NOT use
rfc2ftn
directly to avoid security problems.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
rfc2ftn [-options] [address ...] |
Options:
-b --news-batch
-n
).
-B --binkley name
-i --ignore-registration
HostsRestricted
in fidogate.conf
is enabled).
-m --max-msg n
-n --news-mode
-o --out-packet-file name
-O --out-packet-dir name
-t --to
-w --write-outbound flav
-W --write-crash
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
rungate |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
send-fidogate [hostname] |
Processes INN news batch file
/var/spool/news/out.going/
hostname. If hostname is
omitted the default fidogate
is used.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnhatch [-options] area file "description" |
Options:
-b --fareas-bbs NAME
-r --replaces FILE
Replaces
FILE header to generated tic file.
Please note that the file must already reside in the directory for the file area. Copying and hatching a new file to a file area is not yet implemented.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftntick [-options] |
Options:
-b --fareas-bbs file
-I --inbound dir
-t --insecure
-x --exec script
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftntickpost [-options] file.tic |
Options:
NOT YET COMPLETELY IMPLEMENTED! Currently the script is only a skeleton with features such as announcement postings and mails to be added in the future.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftn2ftn [-options] [packet ... ] |
Options:
-A --address-a Z:N/F.P
-B --address-b Z:N/F.P
-o --out-packet-file NAME
-O --out-packet-dir NAME
This program provides a NetMail gateway between different FTNs, using the (somewhat) standard "User Name%Z:N/F.P" addressing in the FTN from and to fields.
If no packet is given on the command line, ftn2ftn
looks for
packets addressed to the gateway addresses (A and B) in the Binkley
outbound. Both gateway addresses must be specified with the -A
and
-B
options.
If a packet name is passed on the command line, ftn2ftn
will
gate this to the other network A. The gateway address (sender of the mails
in network A) is set with -A
option.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnexpire [-options] |
Options:
-m --maxhistory days
-w --wait
This utility expires and rebuilds the MSGID history database, similar to expire for the INN news system.
If the MSGID history database dupe check is used, ftnexpire
must
be run regularly to keep the history database optimized (if not,
accessing the history database will become very slow!). A daily cron
job is just the right thing.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnpack [-options] [packet ... ] |
Options:
-B --binkley dir
-f --ffx Z:N/F.P
-I
option.
-F --file-dir dir
ftnpack
looks for file attachments. Should
be the appropiate inbound directory, see also the runtoss
script. If this option is not specified, no file attachments are
processed.
If -F /
is specified, ftnpack
accepts a complete path name
in the subject and doesn't search the directory. Warning: this option
compromises security to some degree, because it allows any user to
send any file readable by the user id running the tosser and
mailer!!!
-g --grade grade
-I --in-dir dir
-O --out-dir dir
-l --lock-file
-m --maxarc size
ftnpack
creates a new one.
-p --packing-file name
packing
config file. Default: %C/packing
-P --pkt
ftnroute
.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnroute [-options] [packet ... ] |
Options:
-g --grade grade
-I --in-dir name
-O --out-dir name
-l --lock-file
-r --routing-file name
routing
config file. Default: %C/routing
-M --maxopen n
MaxOpenFiles
config
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftntoss [-options] [packet ... ] |
Options:
-d --no-dupecheck
DupeCheck
is enabled in
config.main
).
-g --grade grade
-I --in-dir name
-O --out-dir name
-l --lock-file
-t --insecure
-n --toss-all
-p --passthru
#
in areas.bbs).
-r --routing-file name
routing
config file. Default: %C/routing
-s --strip-attribute
-m --maxmsg n
-x --maxmsg-exit n
-M --maxopen n
MaxOpenFiles
config
-b --fareas-bbs file
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
runin |
No options.
Runs the tosser (unpack, toss, tick) for the inbound directories:
All log messages are written to %G/log-in.
Edit the script src/toss/runin.sh
to meet your local
requirements.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
runmail |
No options.
Runs the tosser for the gateway mail output directory %S/outpkt/mail, all log messages are written to %G/log-out.
Edit the script src/toss/runmail.sh
to meet your local
requirements.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
runnews |
No options.
Runs the tosser for the gateway news output directory %S/outpkt/news, all log messages are written to %G/log-out.
Edit the script src/toss/runout.sh
to meet your local
requirements.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
runout |
No options.
Runs the tosser for the miscellaneous (ftnafpkt, ftnafutil, ftnoutpkt) output directory %S/outpkt, all log messages are written to %G/log-out.
Edit the script src/toss/runout.sh
to meet your local
requirements.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
runtoss type |
No options.
Types:
Please the the script source code src/toss/runtoss.sh
for
available type parameters and feel free to adapt it to your
requirements.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
rununpack type |
No options.
Types:
Please see the script source code src/toss/rununpack.sh
for
available type parameters and feel free to adapt it to your
requirements.
Edit the script if necessary to change unpacker program names. The
required programs are unzip
, unarj
, lha
,
zoo
, arc
, rar
.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnbsy [-options] Z:N/F.P ... |
Options:
-t --test
-l --lock
-u --unlock
-w --wait
-l
option is given).
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnconfig [-options] parameter |
Options:
-l --no-newline
-n --no-output
-t --test-only
1
if the parameter is present, 0
if not.
Special parameters:
=fqdn
=hostname
=domainname
=hostsdomain
hosts
config files.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnfattach [-options] Z:N/F.P file ... |
Options:
-B --binkley name
-F --flavor name
Hold
,
Normal
, Direct
, or Crash
.
The file name may start with ^
or #
, indicating that
the file should be deleted or truncated, respectively, after sending.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnflo [-options] Z:N/F.P ... |
Options:
-B --binkley name
-l --list
-n --no-delete
-x --exec command
%s
in command is replaced with the filename of
the FLO entry.
The file name may start with ^
or #
, indicating that
the file should be deleted or truncated, respectively, after sending.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnlock [-options] [NAME] [ID] |
Options:
-l --lock
ftnlock
is used. The
optional parameter ID specifies the contents of the lock file, the
default is -none-
.
-u --unlock
-w --wait
Lock files are created as %K/NAME.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnlog [-options] message text |
Options:
-p --program NAME
This program is used to write a log message from a shell script. The log
file name may be specified with the FIDOGATE_LOGFILE
environment
variable.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnoutpkt [-options] "user name @ z:n/f.p" "..." |
Options:
-f --from "user name @ z:n/f.p"
-s --subject "subject"
-O --out-dir dir
This utility can be used to create native Fido messages. The message body text is read from stdin.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
ftnseq [-options] sequencer |
This utilitity increments the named sequencer file and prints the resulting value to stdout. Useful for accessing FIDOGATE sequencer files from perl and shell scripts.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
pktdebug [-options] file ... |
Options (standard options not supported):
-m --msg-header
-t --msg-text
-m
.
-s --short
-v --verbose
-h --help
pktdebug
usage.
This utility displays the packet header and optionally the message header and message body contents.
See also the util/pktmore
utitility, which pipes the output of
pktdebug
to $PAGER
.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
pktdebug
Usage:
pktmore file ... |
pktmore
uses the environment variable PAGER
for the pager
program. Default: more
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Usage:
sumcrc [-options] file ... |
Options (standard options not supported):
-1 --skip-first-line
-3 --crc32
-6 --crc16
-x --hex
-z --eof-at-ctrl-z
^Z
) indicates end-of-file (MSDOS kludge).
-v --verbose
-h --help
sumcrc
usage.
Use sumcrc -1z
to compute the checksum for a standard Fido
nodelist. See also the nodelist processing scripts in
scripts/nodelist/nl-*
.
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |