/ mailtrain

Ubuntu 16.04 - Install Mailtrain

Mailtrain is an open source alternative to Mailchimp. It has many features, most useful of which is that it can integrate easily with many different email sending services, such as Amazon SES and SendGrid.

Below is a BASH script you can run to deploy Mailtrain 1.2 to your Ubuntu 16.04 server. Unfortunately it must be run as the root user, and will not work with just using sudo. I took a look at the installer and it makes use of a PPA or two and a few commands that curl a web address directly into BASH so use at your own risk.

# installer for mailtrain 1.2 on ubuntu 16.04
# the script needs to be run as root and will 
# fall over if you run it with sudo (but get past the root check)
wget https://github.com/andris9/mailtrain/archive/v1.20.0.tar.gz
tar --extract --gzip --file v1.20.0.tar.gz
rm v1.20.0.tar.gz
bash mailtrain-1.20.0/setup/install.sh

Once installed, you can login with user: admin and password: test and configure everything through the web UI. Be sure to change the password!

You probably want to use a VPS/VM with at least 1 GB of RAM.

Stuart Page

Stuart Page

Stuart is a software developer with a passion for Linux and open source projects.

Read More