Re: NAgios XI email functionaity and Azure AD integration no
Posted: Thu Feb 21, 2019 6:44 am
Hello Scott,
Sorry for coming back after long time.
I did try to enable the debug level but it was of no help and whole GUI is getting stuck and I am not seeing any response for both the options
SMTP and Sendmail
Please help..
tail -F /var/log/maillog /usr/local/nagiosxi/tmp/phpmailer.log
[02-21-2019 11:50:01] Message sent! (method=sendmail), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 11:30:01] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 11:31:02] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 11:32:01] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 11:33:01] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 11:54:01] Message sent! (method=sendmail), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 11:34:01] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 11:35:02] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 12:15:58] Message sent! (method=sendmail), Referer: admin/testemail.php
[02-21-2019 12:18:09] 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
[root@oc-monitoring-test phpmailer]# tail -f /var/log/maillog
Feb 21 12:28:34 oc-monitoring-test postfix/error[114229]: 36DA42180F3A: to=<[email protected]>, relay=none, delay=2911, delays=2627/284/0/0.1, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:28:34 oc-monitoring-test postfix/error[114197]: 3AB042180F23: to=<[email protected]>, relay=none, delay=2916, delays=2632/284/0/0.1, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:28:34 oc-monitoring-test postfix/error[114226]: 36D182180F36: to=<[email protected]>, relay=none, delay=2912, delays=2628/284/0/0.1, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:28:34 oc-monitoring-test postfix/error[114200]: 3AF402180980: to=<[email protected]>, relay=none, delay=2910, delays=2626/284/0/0.1, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:28:34 oc-monitoring-test postfix/error[114217]: 3F21A2180986: to=<[email protected]>, relay=none, delay=2909, delays=2625/284/0/0.1, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:28:34 oc-monitoring-test postfix/error[114206]: 3B9C92180992: to=<[email protected]>, relay=none, delay=2906, delays=2622/284/0/0.1, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:28:34 oc-monitoring-test postfix/error[114224]: 3F6A621809AB: to=<[email protected]>, relay=none, delay=2898, delays=2614/284/0/0.11, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:33:28 oc-monitoring-test postfix/smtp[111555]: 3C235218376B: to=<[email protected]>, orig_to=<root>, relay=opuscapita-com.mail.protection.outlook.com[104.47.6.36]:25, delay=31582, delays=30982/0.02/600/0, dsn=4.4.2, status=deferred (conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:38:28 oc-monitoring-test postfix/qmgr[61506]: D68FA2183759: from=<[email protected]>, size=1047, nrcpt=1 (queue active)
Feb 21 12:43:28 oc-monitoring-test postfix/smtp[119352]: D68FA2183759: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting
Sorry for coming back after long time.
I did try to enable the debug level but it was of no help and whole GUI is getting stuck and I am not seeing any response for both the options
SMTP and Sendmail
Please help..
tail -F /var/log/maillog /usr/local/nagiosxi/tmp/phpmailer.log
[02-21-2019 11:50:01] Message sent! (method=sendmail), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 11:30:01] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 11:31:02] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 11:32:01] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 11:33:01] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 11:54:01] Message sent! (method=sendmail), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 11:34:01] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 11:35:02] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[02-21-2019 12:15:58] Message sent! (method=sendmail), Referer: admin/testemail.php
[02-21-2019 12:18:09] 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
[root@oc-monitoring-test phpmailer]# tail -f /var/log/maillog
Feb 21 12:28:34 oc-monitoring-test postfix/error[114229]: 36DA42180F3A: to=<[email protected]>, relay=none, delay=2911, delays=2627/284/0/0.1, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:28:34 oc-monitoring-test postfix/error[114197]: 3AB042180F23: to=<[email protected]>, relay=none, delay=2916, delays=2632/284/0/0.1, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:28:34 oc-monitoring-test postfix/error[114226]: 36D182180F36: to=<[email protected]>, relay=none, delay=2912, delays=2628/284/0/0.1, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:28:34 oc-monitoring-test postfix/error[114200]: 3AF402180980: to=<[email protected]>, relay=none, delay=2910, delays=2626/284/0/0.1, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:28:34 oc-monitoring-test postfix/error[114217]: 3F21A2180986: to=<[email protected]>, relay=none, delay=2909, delays=2625/284/0/0.1, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:28:34 oc-monitoring-test postfix/error[114206]: 3B9C92180992: to=<[email protected]>, relay=none, delay=2906, delays=2622/284/0/0.1, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:28:34 oc-monitoring-test postfix/error[114224]: 3F6A621809AB: to=<[email protected]>, relay=none, delay=2898, delays=2614/284/0/0.11, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:33:28 oc-monitoring-test postfix/smtp[111555]: 3C235218376B: to=<[email protected]>, orig_to=<root>, relay=opuscapita-com.mail.protection.outlook.com[104.47.6.36]:25, delay=31582, delays=30982/0.02/600/0, dsn=4.4.2, status=deferred (conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting)
Feb 21 12:38:28 oc-monitoring-test postfix/qmgr[61506]: D68FA2183759: from=<[email protected]>, size=1047, nrcpt=1 (queue active)
Feb 21 12:43:28 oc-monitoring-test postfix/smtp[119352]: D68FA2183759: conversation with opuscapita-com.mail.protection.outlook.com[104.47.6.36] timed out while receiving the initial server greeting