Private SMTP server
Posted: Wed Jan 12, 2022 4:02 am
Hi,
I am trying to send test email via company's email which also has its own smtp server (no hostname, just the IP address).
The email was created for the purpose of sending notifications, and it has no password.
Now, I also tried to use different ports and protocols combinations, but none did work.
For ports 456 and 587 there is always an output error "Connection refused"
And for 25, the following:
It is a bit strange that there is no password provided for the email, as it is required in SMTP section in Nagios XI, but it is how I was provided from the colleagues.
Also, they say it works for them when they send from that email, without providing password, outside of Nagios XI.
Thanks!
I am trying to send test email via company's email which also has its own smtp server (no hostname, just the IP address).
The email was created for the purpose of sending notifications, and it has no password.
Now, I also tried to use different ports and protocols combinations, but none did work.
For ports 456 and 587 there is always an output error "Connection refused"
And for 25, the following:
Code: Select all
2022-01-12 08:54:09 Connection: opening to 192.168.2.2:25, timeout=300, options=array ()
2022-01-12 08:54:09 Connection: opened
2022-01-12 08:54:09 SMTP -> get_lines(): $data is ""
2022-01-12 08:54:09 SMTP -> get_lines(): $str is ""
2022-01-12 08:54:09 SERVER -> CLIENT:
2022-01-12 08:54:09 SMTP NOTICE: EOF caught while checking if connected
2022-01-12 08:54:09 Connection: closed
SMTP Error: Could not authenticate.
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/TroubleshootingAlso, they say it works for them when they send from that email, without providing password, outside of Nagios XI.
Thanks!