If you followed all the instructions above without errors, you should now have a working MTA on a properly sized server.
Check to see if it is already running from the install instructions above:
If the service is already running, you will need to restart it to apply the changes made above:
Start the MTA with this:
You can enable it to restart as a service with a reboot with:
Alternately you can start it manually with:
- Using sudo allows KumoMTA to run as a privileged user so it can access port 25 which is needed to deliver via SMTP to the internet.
- The daemon
kumodis the MTA.
- The directive --policy makes kumod load the 'init.lua' file as configuration policy.
- Because we launched with sudo, you need to use the directive --user and provide a valid user to assign responsibility to.
- The line ends with a
&that forces the daemon to run in the background and returns you to a usable prompt (use
fgto bring it back to the foreground).
You can also get immediate feedback by pre-pending
KUMOD_LOG=kumod=info (or debug for more detail):
If all goes well, it should return a PID and drop you back to a Linux prompt.
If KumoMTA does not start, refer to the Troubleshooting Page of the User Guide.