Skip to content

Injecting Using SMTP

KumoMTA will listen for message injection in any listener defined in configuration. You have complete control over the IPs and Ports available for message injection.

The ESMTP Listener will accept any properly formatted SMTP connection request allowed by its configuration. For instance, based on this:

kumo.start_esmtp_listener {
  listen = '',
  hostname = '',
  relay_hosts = { '', '' },

KumoMTA will accept any SMTP injection from the local host as well as any hosts in the CIDR block on port 25. The most basic form of "injection" is to test from localhost using nc or telnet.

ehlo moto
subject: My First Email

Hey, this is my first email!

If that returns a 250 OK, then any more complex injection should work as well.

In most campaign systems that connect with third-party MTA's, you will need to enter the configuration settings, and find something like "SMTP" or "OutBound Email" and set the SMTP Port, Hostname or IP ddress and If you have configured SMTP_Auth, your injection username and password as well.

Below is a configuration screen for Ongage


And this is a sample of the configuration page for Mautic marketing automation.

Mautic SMTP Configuration