Thanks for the capture file.
What I see if that the nagios server tries to connect and the destination drops the connection right at the start.
If looks like there is a Sonicwall device in the path and that is dropping the connection.
You would have to see if there is some setting on that device that is blocking the connection.
One thing I noticed it that you have set the from address to the following
Please put in an email address from your domain.
That could be the whole issue on why the emails are getting rejected as that is not a valid domain for your network.
Text Verification Times Out
Re: Text Verification Times Out
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
ecolgroveMOT
- Posts: 64
- Joined: Thu Aug 22, 2019 1:58 pm
Re: Text Verification Times Out
The [email protected] i do not see that anywhere
-
ecolgroveMOT
- Posts: 64
- Joined: Thu Aug 22, 2019 1:58 pm
Re: Text Verification Times Out
This is what a test email looks like now
A test email was sent to [email protected]
----
Mailer said: [10-30-2019 10:00:42] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=ezaccessmot-com.mail.protection.outlook.com;port=587;smtpauth=true;security=tls), Referer: admin/testemail.php
An error occurred sending a test email!
this is the setup:
Send From:[email protected]
Send Method:SMTP
Logging:Enable logging of mail sent with the internal mail component (PHPMailer) /usr/local/nagiosxi/tmp/phpmailer.log
SMTP Settings
Host:ezaccessmot-com.mail.protection.outlook.com
Port: 587
Username:
Password:
Security:TLS
A test email was sent to [email protected]
----
Mailer said: [10-30-2019 10:00:42] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=ezaccessmot-com.mail.protection.outlook.com;port=587;smtpauth=true;security=tls), Referer: admin/testemail.php
An error occurred sending a test email!
this is the setup:
Send From:[email protected]
Send Method:SMTP
Logging:Enable logging of mail sent with the internal mail component (PHPMailer) /usr/local/nagiosxi/tmp/phpmailer.log
SMTP Settings
Host:ezaccessmot-com.mail.protection.outlook.com
Port: 587
Username:
Password:
Security:TLS
-
ecolgroveMOT
- Posts: 64
- Joined: Thu Aug 22, 2019 1:58 pm
Re: Text Verification Times Out
The phpmailer.log showes this:
[10-30-2019 08:51:54] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=ezaccessmot-com.mail.protection.outlook.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[10-30-2019 09:51:51] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=ezaccessmot-com.mail.protection.outlook.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[10-30-2019 09:53:11] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=ezaccessmot-com.mail.protection.outlook.com;port=587;smtpauth=true;security=tls), Referer: admin/testemail.php
[10-30-2019 10:00:42] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=ezaccessmot-com.mail.protection.outlook.com;port=587;smtpauth=true;security=tls), Referer: admin/testemail.php
[10-30-2019 08:51:54] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=ezaccessmot-com.mail.protection.outlook.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[10-30-2019 09:51:51] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=ezaccessmot-com.mail.protection.outlook.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[10-30-2019 09:53:11] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=ezaccessmot-com.mail.protection.outlook.com;port=587;smtpauth=true;security=tls), Referer: admin/testemail.php
[10-30-2019 10:00:42] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=ezaccessmot-com.mail.protection.outlook.com;port=587;smtpauth=true;security=tls), Referer: admin/testemail.php
Re: Text Verification Times Out
I saw that email address in the maillog output from your post yesterday morning and in the profile that was sent to us earlier this month.
Do you have someone you can contact that hosts the relay for the ezaccessmot-com.mail.protection.outlook.com server?
Do you have someone you can contact that hosts the relay for the ezaccessmot-com.mail.protection.outlook.com server?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
ecolgroveMOT
- Posts: 64
- Joined: Thu Aug 22, 2019 1:58 pm
Re: Text Verification Times Out
That would be Microsoft
Re: Text Verification Times Out
You should have some sort of support contact, portal or contract when that server was setup, see if you can find that information.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
ecolgroveMOT
- Posts: 64
- Joined: Thu Aug 22, 2019 1:58 pm
Re: Text Verification Times Out
I am told we will have to open tickets as a per case per question, but is ok. What would you like me to ask?
Re: Text Verification Times Out
The settings required to use their service for relaying and if they can check the logs for any connections.
But, the tcpdump shows that a Sonicwall device may be blocking the connection.
But, the tcpdump shows that a Sonicwall device may be blocking the connection.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
ecolgroveMOT
- Posts: 64
- Joined: Thu Aug 22, 2019 1:58 pm
Re: Text Verification Times Out
I emailed my boss and he said to try a different username and password out because the one i was using did not have SMTP rights. So i made the switch hoping that it would work and it did not got the same errors for both smtp.office365.com:
A test email was sent to [email protected]
----
Mailer said: [11-04-2019 08:44:04] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: admin/testemail.php
An error occurred sending a test email!
and than with our domain ezaccessmot-com.mail.protection.outlook.com
A test email was sent to [email protected]
----
Mailer said: [11-04-2019 08:41:10] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=ezaccessmot-com.mail.protection.outlook.com;port=587;smtpauth=true;security=tls), Referer: admin/testemail.php
An error occurred sending a test email!
Now i am waiting to see if he sent in a ticket and when i hear back and than i will send you and update. In the mean time is there something we can do with the cell phone text verification code issue or is that related to the SMTP issue?
A test email was sent to [email protected]
----
Mailer said: [11-04-2019 08:44:04] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: admin/testemail.php
An error occurred sending a test email!
and than with our domain ezaccessmot-com.mail.protection.outlook.com
A test email was sent to [email protected]
----
Mailer said: [11-04-2019 08:41:10] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=ezaccessmot-com.mail.protection.outlook.com;port=587;smtpauth=true;security=tls), Referer: admin/testemail.php
An error occurred sending a test email!
Now i am waiting to see if he sent in a ticket and when i hear back and than i will send you and update. In the mean time is there something we can do with the cell phone text verification code issue or is that related to the SMTP issue?