Skip to content

owocean/node-twinmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-twinmail

A small node.js server for the twinmail protocol

usage

clone it!

$ git clone https://github.com/owocean/node-twinmail.git

install it!

$ npm i

generate certificates! (for ssl/tls)

$ openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -nodes -days 365

run it!

$ npm start

upon running for the first time, store.json, config.txt, and mail/ will be created automatically in the active directory. edit config.txt accordingly!

moderating the server

since account creation may be handled differently among servers, a CLI script named admin.js was included. this script can be spawned by other processes if desired.

# creating a new user
$ node admin newuser username password

# delete a user
$ node admin deluser username

About

A small node.js server for the twinmail protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages