Once KumoMTA has been installed and an initial policy script is in place, the server can be started with the following command:
It can be enabled as a service with:
You can check the status with:
It can also be started manually with:
- Using sudo allows it to run as a privileged user so it can access port 25 which is needed to send and receive from most MTAs.
- The daemon
kumodis the MTA
- The directive --policy makes kumod load the 'init.lua' file as configuration policy.
- The --user directive allows the server to drop privileges after attaching to port 25 so that it does not continue to run as root.
For more detailed output, prepend
KUMOD_LOG=kumod=info (or debug for even 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.