PBNntp turns your message areas into newsgroups, so callers can read and post with a newsreader instead of a terminal program. It was written for PBMessages, the desktop reader and editor, but any newsreader works: Thunderbird, Pan, slrn, tin, gnus and others.
pb.dove-net.general. The prefix is pb unless you change it, or blank it for names like dove-net.general. Areas the caller may not read are not listed. Areas in other formats (Hudson, Squish, *.MSG) and private or net areas are not served.TOSS.SEM so the next PBToss scan sends it out like any other echo message. Each area's own write level and flags still apply.allowplain yes.
PBDispatch owns the two ports and starts a PBNntp.exe for each caller, so a session survives restarting PBDispatch.
Figure 1. Network > NNTP Server in PBConfig.
On the left are News server (enable, plain logins, posting, guest reading, the two ports with their On boxes, session limits, lowest level, wrong passwords, greeting name) and Certificate (TLS). On the right are Newsgroups and posting (prefix, host name for IDs, clock offset, echo origin line, largest post), Users who may not use news (one name per line) and Folders and log. Allow posting and Let callers who have not logged in read the open areas are the allowpost and guestread settings in the reference below.
auto uses this PC's current time zone; or enter minutes (-300 for US Eastern standard time). The board stores local time and news wants UTC.Tools > NNTP Sessions… in PBDispatch lists who is connected and whether each port is really open.
In PBMessages choose Tools > Accounts and add an NNTP account. Set the server to your board's host name or address, the port to 563 with “Use TLS” on (or 119 with STARTTLS), and use the caller's BBS user name and password. Accept the certificate the first time if it is self-signed. The newsgroup list then shows one group for each area the caller may read.
Figure 2. PBMessages connected to a board over TLS. Names have been blurred.
PBConfig writes the file. No file means news is off. A mistake means the log names the line and news stays off.
| Setting | Meaning | Default |
|---|---|---|
enabled | yes or no. | yes |
port, tlsport | News port (plain, with STARTTLS when a certificate is set) and NNTPS port. 0 turns one off. | 119, 563 |
maxsessions, maxperip | Limits (1 to 64) overall and per address. | 16, 6 |
syspath, msgpath | The data folder, and where USERS.BBS lives. | |
certfile, keyfile | PEM files. Optional when allowplain yes. | |
allowplain | Accept a password on an unencrypted connection. | no |
bbsname | Shown in the greeting. | |
hostname | Host part of generated Message-IDs. | bbs.invalid |
groupprefix | Newsgroup prefix; none means no prefix. | pb |
utcoffset | auto or minutes (-720 to 840). | auto |
origin | Origin line for echo posts. | the board name |
guestread | May callers who have not logged in read the open areas? | no |
allowpost | May callers post at all? | yes |
maxpostkb | Largest post accepted (1 to 1024). | 64 |
idletimeout | Seconds without a command (30 to 3600). | 300 |
logfile | Session log. | |
minlevel | Lowest level that may log in. | 1 |
denyuser | A user who may not use news. Repeatable. | |
maxloginattempts | Wrong passwords per connection (1 to 10). | 3 |
MESSAGES.PB every 20 seconds, so a new area shows up without a restart.auto, articles written in the other half of a daylight-saving year can be an hour off.ProBoard.exe.PBNntp.exe -cfg Configs\PBNNTP.CFG -test netstat -ano | findstr ":119 :563" openssl s_client -connect localhost:563 openssl s_client -connect localhost:119 -starttls nntp
You should get a 200 greeting. Type CAPABILITIES, then AUTHINFO USER name and AUTHINFO PASS password, then LIST ACTIVE, GROUP pb.local.chat, HEAD 1 and QUIT. Post a test message into a Local area from PBMessages and check it on the board. For an Echo area, run PBToss -scan and look for the message in the outbound packet.