Email Config
Email Config
I can't seem to get Nagios to login to my SMTP server to send mail no matter what config I use. I have the server relay allowed. Can anyone give me suggestions?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Email Config
does your SMTP server require authentication?
If not, make sure the username and password fields are blank and security set to none
If not, make sure the username and password fields are blank and security set to none
Re: Email Config
I tried that and it doesn't work. Here is the msg.
A test email was sent to [email protected]
----
Mailer said: SMTP Error: Could not connect to SMTP host. (method=smtp;host=hchexchange.hch.local;port=25;security=none)
An error occurred sending a test email!
A test email was sent to [email protected]
----
Mailer said: SMTP Error: Could not connect to SMTP host. (method=smtp;host=hchexchange.hch.local;port=25;security=none)
An error occurred sending a test email!
Re: Email Config
You have to be sure that you have all of the proper information entered. Also, make sure that port 25 is not blocked. You can try:
If you are not able to connect, you will get:
otherwise, you will have:
Code: Select all
# telnet hchexchange.hch.local 25Code: Select all
telnet: Unable to connect to remote host: Connection timed outCode: Select all
Connected to ... (...).
Escape character is '^]'.Be sure to check out our Knowledgebase for helpful articles and solutions!