Home

Awesome

Mailtrain v1 has been deprecated. It contains security flaws which won't likely be fixed. We advise you to use Mailtrain v2 instead. Check it out here https://github.com/Mailtrain-org/mailtrain/tree/v2

Mailtrain

Mailtrain is a self hosted newsletter application built on Node.js (v7+) and MySQL (v5.5+ or MariaDB).

Features

Subscribe to Mailtrain Newsletter here (uses Mailtrain obviously)

Hardware Requirements

Quick Start - Deploy with Docker

Requirements:

Steps:

Depending on how you have configured your system and Docker you may need to prepend the commands below with sudo.

Quick Start - Manual Install (any OS that supports Node.js)

Requirements:

  1. Download Mailtrain files using git: git clone git://github.com/Mailtrain-org/mailtrain.git (or download zipped repo) and open Mailtrain folder cd mailtrain
  2. Run npm install --production in the Mailtrain folder to install required dependencies
  3. Copy config/default.toml as config/production.toml and update MySQL and any other settings in it
  4. Run the server NODE_ENV=production npm start
  5. Open http://localhost:3000/
  6. Authenticate as admin:test
  7. Navigate to http://localhost:3000/settings and update service configuration, especially replace the value in Service Address (URL) from localhost to the actual IP or domain if installed on a server, otherwise e.g. image upload will not work.
  8. Navigate to http://localhost:3000/users/account and update user information and password

Read The Docs

For more information, please read the docs.

License