rscsmail

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2026 License: Unlicense Imports: 30 Imported by: 0

README

RSCS Mail

Build Status CodeQL Checks Dependency Graph Go Reference

This was an attempt to funnel SMTP into RSCS for reading with PROFS on vintage systems that expanded

Only tested with nje-ii RSCS.

Ensure NJE-II is working on your SMTP NODE and able to communicate with your RSCS node first!

Ensure your DNS records are set up for your domain before running this project!

Features

  • Redirect internet email to CMS via RSCS
  • Spam rejection using domain, sender, recipient, and modern DMARC/DKIM/SPF features
  • Listens to a configureable nje-ii user spool for relaying RSCS notes to internet
  • Only relay mail from the RSCS node not the internet
  • Auto generation of DKIM key if domain is missing one
  • Display of Domain to DKIM DNS Record mapping
  • DKIM Signing of outbound mail
  • Mail bounce notifications
  • Support for IBM PROFS in 2025

Deployment

This project only uses the native Go build tools, and allows an optional config.toml to be specified.

  go build
  ./rscsmail (/path/to/config.toml)

You don't even need to download the repo if your GOPATH is set!

  go install github.com/rudi9719/rscsmail@latest
  rscsmail (/path/to/config.toml)

Ensure your config.toml is set up for your domain before launching!

The NJE-ii run as user must exist locally on the SMTP node

Sending a note to email

To send a note to email you must spool it to your configured nje-ii node and SMTP user. For example PUBVM uses SMTP@PUBNET for RSCS Mail. I will show you how this invocation looks:

  • For CMS Notes
  NOTE SMTP AT PUBNET
  • PROFS is interface driven, so you just need to address PUBNET(SMTP) or your SMTP NODE(USER)

Once you're started, CMS and PROFS are different. While you're editing the note you will need the following:

  • Only for PROFS, you must put a blank line after headers or formatting will clobber the lines together.
  • From (Optional, will be generated however accepts an author per RFC 5322)
  • Subject (Optional, just type Subject: for CMS Notes on a new line)
  • To (Required, RSCS Mail will ignore the to user for SMTP, so you need a To: line with an internet address)
    • Multiline is supported, if you need more room simply begin a new line with To: and continue
    • Currently to use PROFS "reply" you must re-specify To: in the body like a new email
  • CC (Optional, just type CC: and your recipients - multiline is supported)
  • BCC (Optional, just type BCC: and your recipients - multiline is supported)
  • Body (Required, just type your message!)

License

WTFPL

Used By

This project is used by the following:

  • PUBVM

Support

No

Acknowledgements

Documentation

Overview

RSCS Mail bridges modern mail requirements set by Google to RSCS for Vintage Mainframes. Specifically this was designed to bring 2025 support to IBM PROFS. Along the way support for CMS Notes, and eventually any file with proper headers emerged.

It is released under the Unlicense because go.dev rejected the WTFPL.

Usage:

rscsmail [/path/to/config.toml]

The path to config is optional, and defaults to ./config.toml Please ensure your working directory is secure unless config.toml specifies a secure path for DKIM keys.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL