Last updated 16 Apr 2024
MBSE BBS: mbaff (New files report generator/Filefind server) Utility
In order to run mbaff, mbsed must
be running and the global variable $MBSE_ROOT must be set and must point to the BBS home directory
(/opt/mbse). The main configuration file config.data must be present in the ~/etc directory.
Usage
mbaff [command] <options>
Description
mbaff is the new files report generator and filefind server for MBSE BBS.
mbaff can be run in two ways:
- mbaff announce—the first thing mbaff does to scan all the file databases for files from which the announced flag is not yet set, and that area has a valid
newfiles group name. These files are uploads for example. If such a file is found, the announce flag is set and
the file is added to the toberep.data file. This file may already contain new files who were received as .tic files and processed by the
mbfido program. After this is done, the toberep.data file is compared against the newfiles
reports to see if there is anything to report. If there is a report, the creation of reports begins in the echomail areas specified. Once completed, the
toberep.data file is erased and the mailout semaphore set. The files to be announced are divided into groups and the names of
the groups are set in the file download areas. If you plan this well, you can make seperate
announcements for several networks, announce files by file groups, i.e. ham radio, .jpg pictures, GNU/Linux, et cetera.
- mbaff filefind—mbaff will search each echomail area for unreceived messages addressed to Allfix or Filefind.
It will read the message header and mark the message as received. The search options are set on the subject line. All file areas for which the
filefind flag is set to true will be searched for the requested search patterns. If there are files found, a reply will be generated for the
user who wrote the request. If the reply area is different from the scan area, the reply is placed in the reply area. If it's not set, the reply
goes into the same area. If the netmail option is set, the reply will be sent by netmail. To prevent echomail overflow, the replies in the same
area are limited to 15 found files, replies in the other echomail area are limited to 50 found files. Netmail replies will contain up to 100 found files.
Commands
mbaff announce
- Announce new files.
mbaff filefind
- Process filefind requests
Options
mbaff [command] -quiet
- Quiet mode, no screen output.
Use this switch if you run mbaff from the crontab.
Back to index
Back to main index