User Tools

Site Tools


config_server_options

General Options

This menu allows you to set some high level configuration settings for your servers.

Server Options

             █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Server Options ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
             █                                                 █
             █  Domain Name      │ mybbs.com                   █
             █  Max BBS Nodes    │ 3                           █
             █  Start Hidden     │ No                          █
             █  Max Poll Threads │ 5                           █
             █  Enable SMTP Send │ No                          █
             █  SMTP Host        │                             █
             █  SMTP IP Type     │ IPV4 Only                   █
             █  SMTP Login       │                             █
             █  SMTP Password    │                             █
             █  SMTP Auth Type   │ CRAM-MD5                    █
             █  SMTP Use SSL/TLS │ Yes                         █
             █                                                 █
             ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
             

There following options can be configured.

Domain Name

If you have a domain name associated with your BBS place it here.

The FTP server resolves your configured BBS domain upon start up to get both the IPV4 and IPV6 address. It will also perform this procedure every 1 hour so if a dynamic IP changes it will be detected.

Max BBS Nodes

This defines the max number of nodes you will allow at one time. However, there is slightly more to consider.

BBS Nodes can be spawned by any number of built in Mystic servers, or also from external sources for things such as dial-up modems, local logins from the console, etc. The max BBS nodes is a limit to the sum of all possible ways Mystic can accept BBS node connections.

In the Servers > Configure servers configuration you will see options to modify or create TELNET, RLogin, and SSH servers. You can create any number of these servers on any ports, and each one can have a limit of the number of connections they will accept. If you want to have 20 nodes but 3 of them available by SSH and 17 by Telnet, you would configure a Telnet server for 17 max connections and a SSH server for 3 max connections and set your Max BBS nodes to 20 or more.

The settings do not have to add up to Max BBS nodes. If all BBS nodes are busy when a user connects, the user will simply be displayed a message informing them that all nodes are busy. This message will either simply be the word BUSY printed on their screen when a connection is made or Mystic will display the contents of a file called busy.txt created and saved in your mystic\data directory.

This means you can setup a 20 node BBS and then set up 3 different Telnet server and a SSH server all of which each allow 20 connections, and Mystic will allow any combination to fill up the BBS nodes.

Start Hidden

Hide node windows when a session begins (Windows only)

Max Poll Threads

Sets the number of concurrent outbound connections when running MIS POLL

Enable SMTP Send

Enable sendmail functionality

SMTP Host

Define sendmail/relay hostname and port. e.g. smtp.gmail.com:587

SMTP IP Type

Define if V4/V6 use only allowed or default to one/fallback to the other.

SMTP Login

SMTP sendmail/relay login ID to use.

SMTP Password

SMTP sendmail/relay password to use.

SM Auth Type

Select Which type of SMTP sendmail/relay authentication should be used. There are four options:

  • None
  • Login
  • Plain
  • CRAM-MD5

SMTP Use SSL/TLS

Sendmail now supports opportunistic SSL via the TLS v1.2+ protocol.

STMP Send Config Example

In this example we are going to set things up to allow Mystic to send password email reset codes via a Google Gmail account.

Steps
  • Create a Gmail account for your Mystic BBS to send emails via by visiting Gmail.
  • Take a note of the password and Gmail address you use. e.g. testuser@gmail.com / pw = boguspw
  • Run Mystic -CFG
  • Head to Configuration > User Password Policy.
  • Set 'Allow Reset by E-mail' to Yes.
  • Head to Servers > General Options.
  • Set the SMTP settings that are displayed in this screen as follows:
  • Ensure you load the Gmail address and password you created in the first step.
  • Don't worry about 'Domain Name' 'Max BBS Nodes' or 'Start Hidden' as they are not part of the SMTP setup.
             █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Server Options ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
             █                                                 █
             █  Domain Name      │ mybbs.com                   █
             █  Max BBS Nodes    │ 3                           █
             █  Start Hidden     │ No                          █
             █  Enable SMTP Send │ Yes                         █
             █  SMTP Host        │ smtp.gmail.com:587          █
             █  SMTP IP Type     │ IPV4 Only                   █
             █  SMTP Login       │ testuser@gmail.com          █
             █  SMTP Password    │ *******                     █
             █  SMTP Auth Type   │ Login                       █
             █  SMTP Use SSL/TLS │ Yes                         █
             █                                                 █
             ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  • Mystic BBS uses Cryptlib in order to perform the encryption for SSH and SSL-based servers and clients. You need to ensure you have this installed first so Mystic can use it to make a successful SSL/TLS connection to Gmail.
  • Sign in to your Google account - the one you used to create your new Gmail address with.
  • Go to the account maintenance page.
  • Select 'Security' from the options on the left hand navigation.
  • Scroll down to the section called 'Less secure app access' and turn this ON.

Now you are ready to test.

  • Make sure you have a test account with a valid email address loaded against the user record.
  • Try to login incorrect three times and ask for a reset via email.
  • You should see a 'success' message after approx 3-5 seconds.
  • You can check your node logs (for the active user) to see details of what has just happened with their SMTP session.
  • The email should arrive in to your test users email account approx. 2-3 minutes later containing a reset code to enter.
config_server_options.txt · Last modified: 2022/09/25 21:11 by avon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki