Email Configuration

Humio® supports two options for sending emails:

SMTP

Humio only supports the LOGIN authentication method for SMTP or using a local SMTP server without authentication.

If you are using Gmail, you will have to enable “Less Secure App Access”. Gmail defines “Less Secure” as not OAuth, which Humio does not support for SMTP. In our opinion, using a fixed password, rather than per-app OAuth tokens, is arguably less secure.

SMTP_HOST

The hostname or IP of the SERVER server. For example, smtp.gmail.com or 1.

SMTP_PORT

The port to send SMTP messages to. Usually 587, 465 or 25.

SMTP_SENDER_ADDRESS

The sender email address (“From” email address) that will be used when sending emails. For example, humio-alerts@example.com.

SMTP_USERNAME (Optional)

The username to use for authentication with the SMTP server. If not specified, communication will be done without authentication. If this is specified you also have to provide SMTP_PASSWORD as well.

SMTP_PASSWORD (Optional)

The password to use for authentication with the SMTP server. If not specified communication will be done without authentication. If this is specified you also have to provide SMTP_PASSWORD as well.

SMTP_USE_STARTTLS (Optional)

If set to SMTP_USE_STARTTLS=true Humio will use StartTLS for the connection to the SMTP server. Defaults to false.

Gmail SMTP example

You need to create an app-password that Humio can use to send emails through Gmail. To do this, go to this Google page to do it.

SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SENDER_ADDRESS=my-email@gmail.com
SMTP_USERNAME=my-email@gmail.com
SMTP_PASSWORD=app-password
SMTP_USE_STARTTLS=true