How can I send alerts to my gmail?

Tags: #<Tag:0x00007fdef2f9f960>

I have been trying to configure librenms to receive alerts in my mail, but I have not been able to achieve it.
I tried with mail and sendmail and I had no luck, but I don’t know how to configure with smtp.

Please help.

Can you telnet to the e-mail server port 25 and send a test e-mail?

  1. Open your command prompt.
  2. Now, connect with telnet using the following command:
telnet 25
  1. Type ehlo Some servers also accept helo in place of ehlo.
  1. Type mail from: [email protected]:
mail from: [email protected]
  1. Type rcpt to: [email protected], [email protected] (replace with your actual recipient name):
rcpt to: [email protected], [email protected]
  1. To write the message - type data, followed by your subject and message. To end the message, put a period on a line by itself and press enter:
Subject: My Telnet Test Email


This is an email sent by using the telnet command.

Your friend,

  1. Type quit to exit telnet.


From what account you’ll be sending those messages to?
You can easily configure it to send it from your gmail to… your gmail :wink:

SMTP server:
SMTP Port: 587
Encryption: TLS
SMTP Auth username: your login
SMTP Auth password: your password

Make sure that you go to and under Security tab find “App passwords”. Add new one, name it “LibreNMS” and use THAT password in Libre.

You should be fine :wink:

Configuring Email Alerts Settings & Rules in LibreNMS