💽Installing Velocity MTA

Installation can occur on any Ubuntu Linux server with an AMD64-compatible or ARM64 CPU.

Download and unpack the installation archive:

Intel/AMD:

curl -LO https://github.com/emaildelivery/edcom-ce/releases/latest/download/velocity-install-amd64.tgz
tar -xzvf velocity-install-amd64.tgz
cd velocity-install

ARM/AArch64:

curl -LO https://github.com/emaildelivery/edcom-ce/releases/latest/download/velocity-install-arm64.tgz
tar -xzvf velocity-install-arm64.tgz
cd velocity-install

If any of these files are missing, Velocity MTA will crash with ugly error messages:

  • conf/ipaddresses

  • conf/receiving_domains

  • conf/mta.conf

Create the mta.conf file:

There are only three settings in mta.conf:

  • Platform URL

  • Management IP

  • MTA Password

Platform URL

This is the URL to your ESP platform installation, entered exactly as it is in your web browser. https://esp.yourdomain.com if you've enabled SSL or http://esp.yourdomain.com if you haven't reached that step yet in your ESP configuration.

Management IP

This is the IP you used to connect to this server with SSH. The "Primary" or "Main" IP.

MTA Password

This password must match the password you enter in the ESP platform Velocity MTA Server configuration.

Create the ipaddresses file:

Add a list of sending IP addresses in conf/ipaddresses

These are the IP addresses you'll use to send email from on the MTA.

The format for the conf/ipaddresses file is dead simple, one IP address per line.

Your Management IP can be your only sending IP in conf/ipaddresses, or you can request multiple IP addresses from your server provider.

conf/receiving_domains

Receiving domains will accept feedback loop complaints, bounces, or email replies and store each message as a text file in the velocity-install/mail/new directory. This is known as Maildir format.

Create the receiving_domains file:

Create a list of domains to accept incoming email for spam complaints, bounces, and other replies in conf/receiving_domains

The format for the conf/receiving_domains file is dead simple, one domain per line, including subdomain if applicable.

Docker Compose is a prerequisite

A Docker install script for Ubuntu is included for convenience:

Load the Velocity MTA Docker Images:

Finally, start Velocity MTA:

Verify Velocity MTA started properly:

Check the log file:

Last updated

Was this helpful?