forward.bbs

Forwarding partnerships are defined in this file. The data of this file describes the actions taken by NOS in forwarding to remote partners. The file contains a series of forwarding records, three or more ascii lines per record, each record being separated by a line containing two or more hyphens. The template for each forwarding record is:

This excerpt example is to forward two areas:

Target BBS

This is simply the ordinary call of the remote BBS. A typical (but not random!) entry might be simply the line:

The callsign may be followed, on the same line, by a comma separated list of valid intervals when forwarding is to take place. Each valid interval is a four digit number: the first two digits are the beginning hour of the valid interval, the last two digits are the final hour of the valid interval. For example, if the first line of a forwarding record looks like:

then forwarding to sm0rgv will take place only during hours numbered 00, 01, 02, 03, 04, 05, 06 and 14. Ticks of the mbox timer outside of these times will not cause mail to be forwarded to sm0rgv. The default interval for forwarding is 0023.

If you desire to force a connect to occur, even if we have no traffic to transfer, then use the poll flag, P, in addition to any time specs.

Connection Spec

This is the method by which communication is to be established with the remote BBS. The first token on the line is the type of protocol to be used. This is one of:

Following this is whatever further information the chosen protocol requires to make the connection, perhaps a digipeater route. Some example:

Establishes an ax25 connection on interface ax0.

Establishes an ax25 connection on interface ax0 with a route thru various digipeaters.

To specify forwarding to a file for transfer by another means, perhaps FTP,

Connection Command Script

Connection commands may, optionally, follow the connection route. These take the form of a single character command followed by suitable argument strings. Supported commands are:

For example, suppose that we wish to establish a netrom connection with sm0rgv-2, through the netrom node #sth67. Then the connection route and connection command portion of the record would look like:

Another example, this time we use ax.25 protocol to connect with a netrom node, k7uyx-1, and then connect to another netrom node:

If the station is reached through digipeating, then the digipeater callsigns should either be specified in the connect line (described above) or be in the ax25 route to the destination callsign. For example, if you wish to forward traffic to r2nod, implicitly using r1nod as a digipeater, then you should have the line:

in your AutoexecNosFile file.

List of material to be forwarded

This is a list of files in the /spool/mail directory which will be considered for forwarding to the remote BBS. There are two contexts for handling material: mail and bulletins. The determining factor is that bulletin files are listed in the AreasFile. Please note that ONLY FILES IN /spool/mail are checked. In particular, the outbound SMTP mail queue is NOT checked.

When r1nod IS NOT in AreasFile an entry here of the form:

will cause forward server to scan the file named r1nod.txt for unread messages. Any such messages are sent to the remote BBS and deleted from the local file when successful.

When amsat IS listed in AreasFile an entry here of this form:

will cause forward server to search the amsat.txt file for any messages contained therein which have not already been forwarded to the BBS in question, and these will be forwarded now. These bulletins will NOT be deleted from the local file.

Changing the recipient address

Normally, NOS uses the information in the To: header line to determine the parameters used by the "S" command during BBS forwarding. Occasionally, one might want to change this behavior. In this case, a line of the form:

in the list of areas to be forwarded will replace the originally typed destination with the string newaddress instead.

ForwardBbsFile (last edited 2008-06-12 03:57:59 by GeorgeVerDuin)